Lines Matching refs:ep
85 int scif_query_tcw(struct scif_endpt *ep, struct scif_rma_req *req) in scif_query_tcw() argument
206 struct scif_endpt *ep = (struct scif_endpt *)window->ep; in scif_rma_list_unregister() local
207 struct list_head *head = &ep->rma_info.reg_list; in scif_rma_list_unregister()
238 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unmap_all_windows() local
239 struct list_head *head = &ep->rma_info.reg_list; in scif_unmap_all_windows()
241 mutex_lock(&ep->rma_info.rma_lock); in scif_unmap_all_windows()
244 scif_unmap_window(ep->remote_dev, window); in scif_unmap_all_windows()
246 mutex_unlock(&ep->rma_info.rma_lock); in scif_unmap_all_windows()
260 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unregister_all_windows() local
261 struct list_head *head = &ep->rma_info.reg_list; in scif_unregister_all_windows()
264 mutex_lock(&ep->rma_info.rma_lock); in scif_unregister_all_windows()
270 ep->rma_info.async_list_del = 0; in scif_unregister_all_windows()
280 if (READ_ONCE(ep->rma_info.async_list_del)) in scif_unregister_all_windows()
283 mutex_unlock(&ep->rma_info.rma_lock); in scif_unregister_all_windows()
284 if (!list_empty(&ep->rma_info.mmn_list)) { in scif_unregister_all_windows()
286 list_add_tail(&ep->mmu_list, &scif_info.mmu_notif_cleanup); in scif_unregister_all_windows()