Searched refs:event_nr (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/tools/perf/util/ |
D | s390-sample-raw.c | 140 int rc, event_nr, wanted = get_counterset_start(set) + nr; in get_counter_name() local 148 rc = sscanf(evp->event, "event=%x", &event_nr); in get_counter_name() 149 if (rc == 1 && event_nr == wanted) in get_counter_name()
|
/linux-5.19.10/drivers/md/ |
D | dm-ioctl.c | 485 if (!dm_kobject_uevent(hc->md, KOBJ_CHANGE, param->event_nr)) in dm_hash_rename() 580 uint32_t *event_nr; in list_devices() local 627 event_nr = align_ptr(nl->name + strlen(hc->name) + 1); in list_devices() 628 event_nr[0] = dm_get_event_nr(hc->md); in list_devices() 629 event_nr[1] = 0; in list_devices() 630 uuid_ptr = align_ptr(event_nr + 2); in list_devices() 633 event_nr[1] |= DM_NAME_LIST_FLAG_HAS_UUID; in list_devices() 637 event_nr[1] |= DM_NAME_LIST_FLAG_DOESNT_HAVE_UUID; in list_devices() 827 param->event_nr = dm_get_event_nr(md); in __dev_status() 998 if (!dm_kobject_uevent(md, KOBJ_REMOVE, param->event_nr)) in dev_remove() [all …]
|
D | dm-core.h | 100 atomic_t event_nr; member
|
D | dm.c | 1958 atomic_set(&md->event_nr, 0); in alloc_dev() 2069 atomic_inc(&md->event_nr); in event_callback() 2896 return atomic_read(&md->event_nr); in dm_get_event_nr() 2899 int dm_wait_event(struct mapped_device *md, int event_nr) in dm_wait_event() argument 2902 (event_nr != atomic_read(&md->event_nr))); in dm_wait_event()
|
/linux-5.19.10/drivers/scsi/libsas/ |
D | sas_init.c | 649 atomic_inc(&phy->event_nr); in sas_alloc_event() 651 if (atomic_read(&phy->event_nr) > phy->ha->event_thres) { in sas_alloc_event() 663 atomic_dec(&phy->event_nr); in sas_alloc_event() 676 atomic_dec(&phy->event_nr); in sas_free_event()
|
D | sas_phy.c | 125 atomic_set(&phy->event_nr, 0); in sas_register_phys()
|
/linux-5.19.10/include/uapi/linux/ |
D | dm-ioctl.h | 138 __u32 event_nr; /* in/out */ member
|
/linux-5.19.10/include/linux/ |
D | device-mapper.h | 471 int dm_wait_event(struct mapped_device *md, int event_nr);
|
/linux-5.19.10/include/scsi/ |
D | libsas.h | 310 atomic_t event_nr; member
|