Home
last modified time | relevance | path

Searched refs:entry_head (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/dma/idxd/
Dirq.c229 struct __evl_entry *entry_head = fault->entry; in idxd_evl_fault_work() local
230 void *cr = (void *)entry_head + idxd->data->evl_cr_off; in idxd_evl_fault_work()
239 if (entry_head->batch && entry_head->first_err_in_batch) in idxd_evl_fault_work()
240 evl->batch_fail[entry_head->batch_id] = false; in idxd_evl_fault_work()
243 idxd_user_counter_increment(wq, entry_head->pasid, COUNTER_FAULTS); in idxd_evl_fault_work()
246 bf = &evl->batch_fail[entry_head->batch_id]; in idxd_evl_fault_work()
248 copy_size = entry_head->rcr || *bf ? cr_size : 0; in idxd_evl_fault_work()
255 idxd_user_counter_increment(wq, entry_head->pasid, COUNTER_FAULTS); in idxd_evl_fault_work()
273 copied = idxd_copy_cr(wq, entry_head->pasid, entry_head->fault_addr, in idxd_evl_fault_work()
287 idxd_user_counter_increment(wq, entry_head->pasid, COUNTER_FAULT_FAILS); in idxd_evl_fault_work()
[all …]
Dcdev.c340 struct __evl_entry *entry_head; in idxd_cdev_evl_drain_pasid() local
352 entry_head = (struct __evl_entry *)(evl->log + (h * ent_size)); in idxd_cdev_evl_drain_pasid()
353 if (entry_head->pasid == pasid && entry_head->wq_idx == wq->id) in idxd_cdev_evl_drain_pasid()