Lines Matching refs:ie
71 static void idxd_int_handle_revoke_drain(struct idxd_irq_entry *ie) in idxd_int_handle_revoke_drain() argument
73 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke_drain()
85 if (ie->pasid != IOMMU_PASID_INVALID) in idxd_int_handle_revoke_drain()
86 desc.pasid = ie->pasid; in idxd_int_handle_revoke_drain()
87 desc.int_handle = ie->int_handle; in idxd_int_handle_revoke_drain()
105 static void idxd_abort_invalid_int_handle_descs(struct idxd_irq_entry *ie) in idxd_abort_invalid_int_handle_descs() argument
111 spin_lock(&ie->list_lock); in idxd_abort_invalid_int_handle_descs()
112 head = llist_del_all(&ie->pending_llist); in idxd_abort_invalid_int_handle_descs()
115 list_add_tail(&d->list, &ie->work_list); in idxd_abort_invalid_int_handle_descs()
118 list_for_each_entry_safe(d, t, &ie->work_list, list) { in idxd_abort_invalid_int_handle_descs()
122 spin_unlock(&ie->list_lock); in idxd_abort_invalid_int_handle_descs()
155 struct idxd_irq_entry *ie = idxd_get_ie(idxd, i); in idxd_int_handle_revoke() local
156 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke()
158 if (ie->int_handle == INVALID_INT_HANDLE) in idxd_int_handle_revoke()
169 ie->int_handle = INVALID_INT_HANDLE; in idxd_int_handle_revoke()
171 idxd_abort_invalid_int_handle_descs(ie); in idxd_int_handle_revoke()
176 if (ie->int_handle == new_handle) in idxd_int_handle_revoke()
185 ie->int_handle = new_handle; in idxd_int_handle_revoke()
198 ie->int_handle = new_handle; in idxd_int_handle_revoke()
217 idxd_int_handle_revoke_drain(ie); in idxd_int_handle_revoke()