Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A 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/drivers/md/
A Ddm-ioctl.c579 uint32_t *event_nr; in list_devices() local
626 event_nr = align_ptr(nl->name + strlen(hc->name) + 1); in list_devices()
627 event_nr[0] = dm_get_event_nr(hc->md); in list_devices()
628 event_nr[1] = 0; in list_devices()
629 uuid_ptr = align_ptr(event_nr + 2); in list_devices()
632 event_nr[1] |= DM_NAME_LIST_FLAG_HAS_UUID; in list_devices()
636 event_nr[1] |= DM_NAME_LIST_FLAG_DOESNT_HAVE_UUID; in list_devices()
826 param->event_nr = dm_get_event_nr(md); in __dev_status()
991 if (!dm_kobject_uevent(md, KOBJ_REMOVE, param->event_nr)) in dev_remove()
1172 if (!dm_kobject_uevent(md, KOBJ_CHANGE, param->event_nr)) in do_resume()
[all …]
A Ddm-core.h82 atomic_t event_nr; member
A Ddm.c1753 atomic_set(&md->event_nr, 0); in alloc_dev()
1896 atomic_inc(&md->event_nr); in event_callback()
2711 return atomic_read(&md->event_nr); in dm_get_event_nr()
2714 int dm_wait_event(struct mapped_device *md, int event_nr) in dm_wait_event() argument
2717 (event_nr != atomic_read(&md->event_nr))); in dm_wait_event()
/linux/drivers/scsi/libsas/
A Dsas_init.c604 atomic_inc(&phy->event_nr); in sas_alloc_event()
606 if (atomic_read(&phy->event_nr) > phy->ha->event_thres) { in sas_alloc_event()
618 atomic_dec(&phy->event_nr); in sas_alloc_event()
631 atomic_dec(&phy->event_nr); in sas_free_event()
A Dsas_phy.c125 atomic_set(&phy->event_nr, 0); in sas_register_phys()
/linux/include/uapi/linux/
A Ddm-ioctl.h138 __u32 event_nr; /* in/out */ member
/linux/include/linux/
A Ddevice-mapper.h458 int dm_wait_event(struct mapped_device *md, int event_nr);
/linux/include/scsi/
A Dlibsas.h310 atomic_t event_nr; member

Completed in 25 milliseconds