Searched refs:event_nr (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | s390-sample-raw.c | 141 int rc, event_nr; in get_counter_name_callback() local 151 rc = sscanf(event_str, "event=%x", &event_nr); in get_counter_name_callback() 152 if (rc == 1 && event_nr == data->wanted) { in get_counter_name_callback()
|
/openbmc/linux/drivers/md/ |
H A D | dm-ioctl.c | 501 if (!dm_kobject_uevent(hc->md, KOBJ_CHANGE, param->event_nr, false)) in dm_hash_rename() 598 uint32_t *event_nr; in list_devices() local 646 event_nr = align_ptr(nl->name + strlen(hc->name) + 1); in list_devices() 647 event_nr[0] = dm_get_event_nr(hc->md); in list_devices() 648 event_nr[1] = 0; in list_devices() 649 uuid_ptr = align_ptr(event_nr + 2); in list_devices() 652 event_nr[1] |= DM_NAME_LIST_FLAG_HAS_UUID; in list_devices() 656 event_nr[1] |= DM_NAME_LIST_FLAG_DOESNT_HAVE_UUID; in list_devices() 851 param->event_nr = dm_get_event_nr(md); in __dev_status() 1023 if (!dm_kobject_uevent(md, KOBJ_REMOVE, param->event_nr, false)) in dev_remove() [all …]
|
H A D | dm-core.h | 113 atomic_t event_nr; member
|
H A D | dm.c | 2068 atomic_set(&md->event_nr, 0); in alloc_dev() 2182 atomic_inc(&md->event_nr); in event_callback() 3044 return atomic_read(&md->event_nr); in dm_get_event_nr() 3047 int dm_wait_event(struct mapped_device *md, int event_nr) in dm_wait_event() argument 3050 (event_nr != atomic_read(&md->event_nr))); in dm_wait_event()
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_init.c | 650 atomic_inc(&phy->event_nr); in sas_alloc_event() 652 if (atomic_read(&phy->event_nr) > phy->ha->event_thres) { in sas_alloc_event() 664 atomic_dec(&phy->event_nr); in sas_alloc_event() 677 atomic_dec(&phy->event_nr); in sas_free_event()
|
H A D | sas_phy.c | 125 atomic_set(&phy->event_nr, 0); in sas_register_phys()
|
/openbmc/linux/include/uapi/linux/ |
H A D | dm-ioctl.h | 138 __u32 event_nr; /* in/out */ member
|
/openbmc/linux/include/linux/ |
H A D | device-mapper.h | 490 int dm_wait_event(struct mapped_device *md, int event_nr);
|
/openbmc/linux/include/scsi/ |
H A D | libsas.h | 299 atomic_t event_nr; member
|