Searched refs:scif_window (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/misc/mic/scif/ |
D | scif_rma_list.c | 28 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 …]
|
D | scif_rma.h | 242 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 …]
|
D | scif_rma_list.h | 33 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,
|
D | scif_rma.c | 148 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages, in scif_create_window() 151 struct scif_window *window; in scif_create_window() 194 struct scif_window *window) in scif_destroy_incomplete_window() 234 void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window) in scif_unmap_window() 321 int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window) in scif_destroy_window() 369 struct scif_window *window) in scif_create_remote_lookup() 440 struct scif_window *window) in scif_destroy_remote_lookup() 481 static struct scif_window * 484 struct scif_window *window; in scif_create_remote_window() 524 scif_destroy_remote_window(struct scif_window *window) in scif_destroy_remote_window() [all …]
|
D | scif_mmap.c | 34 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 …]
|
D | scif_dma.c | 43 struct scif_window *dst_window; 67 struct scif_window *src_window; 68 struct scif_window *dst_window; 121 struct scif_window *window; in __scif_rma_destroy_tcw() 129 window = list_entry(item, struct scif_window, list); in __scif_rma_destroy_tcw() 357 off_t *out_offset, struct scif_window **out_window) in scif_register_temp() 584 struct scif_window *window; in scif_rma_destroy_windows() 592 window = list_entry(item, struct scif_window, in scif_rma_destroy_windows() 628 struct scif_window *window; in scif_rma_destroy_tcw_invalid() 636 window = list_entry(item, struct scif_window, list); in scif_rma_destroy_tcw_invalid() [all …]
|
D | scif_debugfs.c | 65 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()
|
D | scif_fence.c | 187 static inline void *scif_get_local_va(off_t off, struct scif_window *window) in scif_get_local_va() 294 struct scif_window *window = NULL; in scif_prog_signal() 324 scif_get_local_va(offset, (struct scif_window *) in scif_prog_signal()
|