Home
last modified time | relevance | path

Searched refs:scif_window (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/misc/mic/scif/
Dscif_rma_list.c19 void scif_insert_tcw(struct scif_window *window, struct list_head *head) in scif_insert_tcw()
21 struct scif_window *curr = NULL; in scif_insert_tcw()
22 struct scif_window *prev = list_entry(head, struct scif_window, list); in scif_insert_tcw()
28 curr = list_entry(head->prev, struct scif_window, list); in scif_insert_tcw()
35 curr = list_entry(item, struct scif_window, list); in scif_insert_tcw()
49 void scif_insert_window(struct scif_window *window, struct list_head *head) in scif_insert_window()
51 struct scif_window *curr = NULL, *prev = NULL; in scif_insert_window()
56 curr = list_entry(item, struct scif_window, list); in scif_insert_window()
79 struct scif_window *window; in scif_query_tcw()
90 window = list_last_entry(head, struct scif_window, list); in scif_query_tcw()
[all …]
Dscif_rma.h255 struct scif_window { struct
326 struct scif_window *window, s64 offset);
328 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages,
331 int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window);
332 void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window);
335 struct scif_window *window);
337 int scif_unregister_window(struct scif_window *window);
340 scif_destroy_remote_window(struct scif_window *window);
382 scif_init_window_iter(struct scif_window *window, struct scif_window_iter *iter) in scif_init_window_iter()
388 dma_addr_t scif_off_to_dma_addr(struct scif_window *window, s64 off,
[all …]
Dscif_rma_list.h24 struct scif_window **out_window;
36 void scif_insert_window(struct scif_window *window, struct list_head *head);
37 void scif_insert_tcw(struct scif_window *window,
46 int scif_rma_list_unregister(struct scif_window *window, s64 offset,
Dscif_rma.c139 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages, in scif_create_window()
142 struct scif_window *window; in scif_create_window()
185 struct scif_window *window) in scif_destroy_incomplete_window()
225 void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window) in scif_unmap_window()
303 int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window) in scif_destroy_window()
351 struct scif_window *window) in scif_create_remote_lookup()
422 struct scif_window *window) in scif_destroy_remote_lookup()
463 static struct scif_window *
466 struct scif_window *window; in scif_create_remote_window()
506 scif_destroy_remote_window(struct scif_window *window) in scif_destroy_remote_window()
[all …]
Dscif_mmap.c25 struct scif_window *window = NULL; in scif_recv_munmap()
26 struct scif_window *recv_window = in scif_recv_munmap()
27 (struct scif_window *)msg->payload[0]; in scif_recv_munmap()
125 struct scif_window *window; in __scif_cleanup_rma_for_zombies()
128 window = list_entry(pos, struct scif_window, list); in __scif_cleanup_rma_for_zombies()
217 struct scif_window *window = NULL; in scif_get_pages()
313 struct scif_window *window; in scif_put_pages()
372 static int scif_rma_list_mmap(struct scif_window *start_window, s64 offset, in scif_rma_list_mmap()
376 struct scif_window *window = start_window; in scif_rma_list_mmap()
449 static void scif_rma_list_munmap(struct scif_window *start_window, in scif_rma_list_munmap()
[all …]
Dscif_debugfs.c40 static void scif_display_window(struct scif_window *window, struct seq_file *s) in scif_display_window()
74 struct scif_window *window; in scif_display_all_windows()
77 window = list_entry(item, struct scif_window, list); in scif_display_all_windows()
Dscif_dma.c34 struct scif_window *dst_window;
58 struct scif_window *src_window;
59 struct scif_window *dst_window;
112 struct scif_window *window; in __scif_rma_destroy_tcw()
120 window = list_entry(item, struct scif_window, list); in __scif_rma_destroy_tcw()
343 off_t *out_offset, struct scif_window **out_window) in scif_register_temp()
570 struct scif_window *window; in scif_rma_destroy_windows()
578 window = list_entry(item, struct scif_window, in scif_rma_destroy_windows()
614 struct scif_window *window; in scif_rma_destroy_tcw_invalid()
622 window = list_entry(item, struct scif_window, list); in scif_rma_destroy_tcw_invalid()
[all …]
Dscif_fence.c178 static inline void *scif_get_local_va(off_t off, struct scif_window *window) in scif_get_local_va()
297 struct scif_window *window = NULL; in scif_prog_signal()
327 scif_get_local_va(offset, (struct scif_window *) in scif_prog_signal()