Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/misc/mic/scif/
Dscif_rma_list.c28 void scif_insert_tcw(struct scif_window *window, struct list_head *head) in scif_insert_tcw()
30 struct scif_window *curr = NULL; in scif_insert_tcw()
31 struct scif_window *prev = list_entry(head, struct scif_window, list); in scif_insert_tcw()
37 curr = list_entry(head->prev, struct scif_window, list); in scif_insert_tcw()
44 curr = list_entry(item, struct scif_window, list); in scif_insert_tcw()
58 void scif_insert_window(struct scif_window *window, struct list_head *head) in scif_insert_window()
60 struct scif_window *curr = NULL, *prev = NULL; in scif_insert_window()
65 curr = list_entry(item, struct scif_window, list); in scif_insert_window()
88 struct scif_window *window; in scif_query_tcw()
99 window = list_last_entry(head, struct scif_window, list); in scif_query_tcw()
[all …]
Dscif_rma.h242 struct scif_window { struct
313 struct scif_window *window, s64 offset);
315 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages,
318 int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window);
319 void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window);
322 struct scif_window *window);
324 int scif_unregister_window(struct scif_window *window);
327 scif_destroy_remote_window(struct scif_window *window);
369 scif_init_window_iter(struct scif_window *window, struct scif_window_iter *iter) in scif_init_window_iter()
375 dma_addr_t scif_off_to_dma_addr(struct scif_window *window, s64 off,
[all …]
Dscif_rma_list.h33 struct scif_window **out_window;
45 void scif_insert_window(struct scif_window *window, struct list_head *head);
46 void scif_insert_tcw(struct scif_window *window,
55 int scif_rma_list_unregister(struct scif_window *window, s64 offset,
Dscif_rma.c146 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages, in scif_create_window()
149 struct scif_window *window; in scif_create_window()
192 struct scif_window *window) in scif_destroy_incomplete_window()
232 void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window) in scif_unmap_window()
319 int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window) in scif_destroy_window()
367 struct scif_window *window) in scif_create_remote_lookup()
438 struct scif_window *window) in scif_destroy_remote_lookup()
479 static struct scif_window *
482 struct scif_window *window; in scif_create_remote_window()
522 scif_destroy_remote_window(struct scif_window *window) in scif_destroy_remote_window()
[all …]
Dscif_mmap.c34 struct scif_window *window = NULL; in scif_recv_munmap()
35 struct scif_window *recv_window = in scif_recv_munmap()
36 (struct scif_window *)msg->payload[0]; in scif_recv_munmap()
134 struct scif_window *window; in __scif_cleanup_rma_for_zombies()
137 window = list_entry(pos, struct scif_window, list); in __scif_cleanup_rma_for_zombies()
226 struct scif_window *window = NULL; in scif_get_pages()
322 struct scif_window *window; in scif_put_pages()
381 static int scif_rma_list_mmap(struct scif_window *start_window, s64 offset, in scif_rma_list_mmap()
385 struct scif_window *window = start_window; in scif_rma_list_mmap()
458 static void scif_rma_list_munmap(struct scif_window *start_window, in scif_rma_list_munmap()
[all …]
Dscif_dma.c43 struct scif_window *dst_window;
67 struct scif_window *src_window;
68 struct scif_window *dst_window;
127 struct scif_window *window; in __scif_rma_destroy_tcw()
135 window = list_entry(item, struct scif_window, list); in __scif_rma_destroy_tcw()
376 off_t *out_offset, struct scif_window **out_window) in scif_register_temp()
603 struct scif_window *window; in scif_rma_destroy_windows()
611 window = list_entry(item, struct scif_window, in scif_rma_destroy_windows()
647 struct scif_window *window; in scif_rma_destroy_tcw_invalid()
655 window = list_entry(item, struct scif_window, list); in scif_rma_destroy_tcw_invalid()
[all …]
Dscif_debugfs.c65 static void scif_display_window(struct scif_window *window, struct seq_file *s) in scif_display_window()
99 struct scif_window *window; in scif_display_all_windows()
102 window = list_entry(item, struct scif_window, list); in scif_display_all_windows()
Dscif_fence.c186 static inline void *scif_get_local_va(off_t off, struct scif_window *window) in scif_get_local_va()
293 struct scif_window *window = NULL; in scif_prog_signal()
323 scif_get_local_va(offset, (struct scif_window *) in scif_prog_signal()