Searched refs:evl (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/dma/idxd/ |
| H A D | debugfs.c | 18 struct idxd_evl *evl = idxd->evl; in dump_event_entry() local 25 entry = (struct dsa_evl_entry *)evl->log + index; in dump_event_entry() 60 struct idxd_evl *evl = idxd->evl; in debugfs_evl_show() local 66 if (!evl || !evl->log) in debugfs_evl_show() 69 mutex_lock(&evl->lock); in debugfs_evl_show() 74 evl_size = evl->size; in debugfs_evl_show() 90 mutex_unlock(&evl->lock); in debugfs_evl_show() 105 if (idxd->evl) { in idxd_device_init_debugfs()
|
| H A D | irq.c | 228 struct idxd_evl *evl = idxd->evl; in idxd_evl_fault_work() local 240 evl->batch_fail[entry_head->batch_id] = false; in idxd_evl_fault_work() 246 bf = &evl->batch_fail[entry_head->batch_id]; in idxd_evl_fault_work() 291 evl->batch_fail[entry_head->batch_id] = true; in idxd_evl_fault_work() 315 struct idxd_evl *evl = idxd->evl; in process_evl_entry() local 318 if (test_bit(index, evl->bmap)) { in process_evl_entry() 319 clear_bit(index, evl->bmap); in process_evl_entry() 358 struct idxd_evl *evl = idxd->evl; in process_evl_entries() local 366 mutex_lock(&evl->lock); in process_evl_entries() 373 size = idxd->evl->size; in process_evl_entries() [all …]
|
| H A D | device.c | 769 struct idxd_evl *evl = idxd->evl; in idxd_device_evl_setup() local 773 if (!evl) in idxd_device_evl_setup() 794 mutex_lock(&evl->lock); in idxd_device_evl_setup() 795 evl->log = addr; in idxd_device_evl_setup() 796 evl->dma = dma_addr; in idxd_device_evl_setup() 797 evl->log_size = size; in idxd_device_evl_setup() 798 evl->bmap = bmap; in idxd_device_evl_setup() 802 evlcfg.size = evl->size; in idxd_device_evl_setup() 815 mutex_unlock(&evl->lock); in idxd_device_evl_setup() 832 struct idxd_evl *evl = idxd->evl; in idxd_device_evl_free() local [all …]
|
| H A D | cdev.c | 327 struct idxd_evl *evl = idxd->evl; in idxd_cdev_evl_drain_pasid() local 333 if (!evl) in idxd_cdev_evl_drain_pasid() 336 mutex_lock(&evl->lock); in idxd_cdev_evl_drain_pasid() 340 size = evl->size; in idxd_cdev_evl_drain_pasid() 343 entry_head = (struct __evl_entry *)(evl->log + (h * ent_size)); in idxd_cdev_evl_drain_pasid() 345 set_bit(h, evl->bmap); in idxd_cdev_evl_drain_pasid() 351 mutex_unlock(&evl->lock); in idxd_cdev_evl_drain_pasid()
|
| H A D | init.c | 424 struct idxd_evl *evl; in idxd_init_evl() local 430 evl = kzalloc_node(sizeof(*evl), GFP_KERNEL, dev_to_node(dev)); in idxd_init_evl() 431 if (!evl) in idxd_init_evl() 434 mutex_init(&evl->lock); in idxd_init_evl() 435 evl->size = IDXD_EVL_SIZE_MIN; in idxd_init_evl() 448 kfree(evl); in idxd_init_evl() 452 idxd->evl = evl; in idxd_init_evl() 855 if (idxd->evl) { in idxd_device_config_save() 856 memcpy(&idxd_saved->saved_evl, idxd->evl, in idxd_device_config_save() 976 if (idxd->evl) in idxd_device_config_restore() [all …]
|
| H A D | sysfs.c | 1680 if (!idxd->evl) in event_log_size_show() 1683 return sysfs_emit(buf, "%u\n", idxd->evl->size); in event_log_size_show() 1694 if (!idxd->evl) in event_log_size_store() 1708 (val * evl_ent_size(idxd) > ULONG_MAX - idxd->evl->dma)) in event_log_size_store() 1711 idxd->evl->size = val; in event_log_size_store() 1844 kfree(idxd->evl); in idxd_conf_device_release()
|
| H A D | idxd.h | 373 struct idxd_evl *evl; member 401 return idxd->evl->size * evl_ent_size(idxd); in evl_size()
|
| /linux/tools/perf/arch/x86/util/ |
| H A D | iostat.c | 298 static int iostat_event_group(struct evlist *evl, in iostat_event_group() argument 320 ret = parse_event(evl, iostat_cmd); in iostat_event_group() 325 evlist__for_each_entry(evl, evsel) { in iostat_event_group()
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-driver-dma-idxd | 167 occupies 4k size if the evl entry is 64 bytes. It's visible
|