Home
last modified time | relevance | path

Searched refs:event_nr (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/tools/perf/util/
Ds390-sample-raw.c140 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/
Ddm-ioctl.c485 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 …]
Ddm-core.h100 atomic_t event_nr; member
Ddm.c1958 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/
Dsas_init.c649 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()
Dsas_phy.c125 atomic_set(&phy->event_nr, 0); in sas_register_phys()
/linux-5.19.10/include/uapi/linux/
Ddm-ioctl.h138 __u32 event_nr; /* in/out */ member
/linux-5.19.10/include/linux/
Ddevice-mapper.h471 int dm_wait_event(struct mapped_device *md, int event_nr);
/linux-5.19.10/include/scsi/
Dlibsas.h310 atomic_t event_nr; member