/linux-4.19.296/drivers/misc/mic/scif/ |
D | scif_epd.c | 21 void scif_cleanup_ep_qp(struct scif_endpt *ep) in scif_cleanup_ep_qp() 49 struct scif_endpt *ep = endpt; in scif_teardown_ep() 65 void scif_add_epd_to_zombie_list(struct scif_endpt *ep, bool eplock_held) in scif_add_epd_to_zombie_list() 79 static struct scif_endpt *scif_find_listen_ep(u16 port) in scif_find_listen_ep() 81 struct scif_endpt *ep = NULL; in scif_find_listen_ep() 86 ep = list_entry(pos, struct scif_endpt, list); in scif_find_listen_ep() 99 struct scif_endpt *ep; in scif_cleanup_zombie_epd() 103 ep = list_entry(pos, struct scif_endpt, list); in scif_cleanup_zombie_epd() 130 struct scif_endpt *ep = NULL; in scif_cnctreq() 176 struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0]; in scif_cnctgnt() [all …]
|
D | scif_fd.c | 22 struct scif_endpt *priv = scif_open(); in scif_fdopen() 32 struct scif_endpt *priv = f->private_data; in scif_fdclose() 39 struct scif_endpt *priv = f->private_data; in scif_fdmmap() 46 struct scif_endpt *priv = f->private_data; in scif_fdpoll() 53 struct scif_endpt *ep = f->private_data; in scif_fdflush() 83 struct scif_endpt *priv = f->private_data; in scif_fdioctl() 113 struct scif_endpt *ep = (struct scif_endpt *)priv; in scif_fdioctl() 168 struct scif_endpt *priv = f->private_data; in scif_fdioctl() 169 struct scif_endpt *newep; in scif_fdioctl() 170 struct scif_endpt *lisep; in scif_fdioctl() [all …]
|
D | scif_fence.c | 29 struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0]; in scif_recv_mark() 51 struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0]; in scif_recv_mark_resp() 74 struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0]; in scif_recv_wait() 111 struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0]; in scif_recv_wait_resp() 132 struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0]; in scif_recv_sig_local() 153 struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0]; in scif_recv_sig_remote() 174 struct scif_endpt *ep = (struct scif_endpt *)msg->payload[0]; in scif_recv_sig_resp() 206 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_prog_signal() 293 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_prog_signal() 338 struct scif_endpt *ep = (struct scif_endpt *)epd; in _scif_fence_wait() [all …]
|
D | scif_api.c | 53 struct scif_endpt *ep; in scif_open() 92 static struct scif_endpt *scif_disconnect_ep(struct scif_endpt *ep) in scif_disconnect_ep() 95 struct scif_endpt *fep = NULL; in scif_disconnect_ep() 96 struct scif_endpt *tmpep; in scif_disconnect_ep() 118 tmpep = list_entry(pos, struct scif_endpt, list); in scif_disconnect_ep() 135 tmpep = list_entry(pos, struct scif_endpt, list); in scif_disconnect_ep() 165 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_close() 166 struct scif_endpt *tmpep; in scif_close() 197 tmpep = list_entry(pos, struct scif_endpt, list); in scif_close() 224 struct scif_endpt *aep; in scif_close() [all …]
|
D | scif_epd.h | 105 struct scif_endpt { struct 128 struct scif_endpt *listenep; argument 139 static inline int scifdev_alive(struct scif_endpt *ep) in scifdev_alive() argument 151 static inline int scif_verify_epd(struct scif_endpt *ep) in scif_verify_epd() 183 void scif_cleanup_ep_qp(struct scif_endpt *ep); 184 void scif_add_epd_to_zombie_list(struct scif_endpt *ep, bool eplock_held); 207 struct scif_endpt *ep);
|
D | scif_mmap.c | 37 struct scif_endpt *ep; in scif_recv_munmap() 39 ep = (struct scif_endpt *)recv_window->ep; in scif_recv_munmap() 75 static void __scif_zap_mmaps(struct scif_endpt *ep) in __scif_zap_mmaps() 101 struct scif_endpt *ep; in _scif_zap_mmaps() 106 ep = list_entry(item, struct scif_endpt, list); in _scif_zap_mmaps() 131 static void __scif_cleanup_rma_for_zombies(struct scif_endpt *ep) in __scif_cleanup_rma_for_zombies() 155 struct scif_endpt *ep; in scif_cleanup_rma_for_zombies() 160 ep = list_entry(item, struct scif_endpt, list); in scif_cleanup_rma_for_zombies() 169 static int scif_insert_vma(struct scif_endpt *ep, struct vm_area_struct *vma) in scif_insert_vma() 188 static void scif_delete_vma(struct scif_endpt *ep, struct vm_area_struct *vma) in scif_delete_vma() [all …]
|
D | scif_rma.h | 205 struct scif_endpt *ep; 294 struct scif_endpt *ep; 305 void scif_rma_ep_init(struct scif_endpt *ep); 307 int scif_rma_ep_can_uninit(struct scif_endpt *ep); 309 int scif_get_window_offset(struct scif_endpt *ep, int flags, 312 void scif_free_window_offset(struct scif_endpt *ep, 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); 335 int scif_reserve_dma_chan(struct scif_endpt *ep);
|
D | scif_rma_list.c | 85 int scif_query_tcw(struct scif_endpt *ep, struct scif_rma_req *req) in scif_query_tcw() 206 struct scif_endpt *ep = (struct scif_endpt *)window->ep; in scif_rma_list_unregister() 238 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unmap_all_windows() 260 struct scif_endpt *ep = (struct scif_endpt *)epd; in scif_unregister_all_windows()
|
D | scif_rma.c | 37 void scif_rma_ep_init(struct scif_endpt *ep) in scif_rma_ep_init() 65 int scif_rma_ep_can_uninit(struct scif_endpt *ep) in scif_rma_ep_can_uninit() 148 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages, in scif_create_window() 193 static void scif_destroy_incomplete_window(struct scif_endpt *ep, in scif_destroy_incomplete_window() 321 int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window) in scif_destroy_window() 645 static int scif_send_scif_unregister(struct scif_endpt *ep, in scif_send_scif_unregister() 666 struct scif_endpt *ep = (struct scif_endpt *)window->ep; in scif_unregister_window() 758 static int scif_send_alloc_request(struct scif_endpt *ep, in scif_send_alloc_request() 783 static int scif_prep_remote_window(struct scif_endpt *ep, in scif_prep_remote_window() 960 static int scif_send_scif_register(struct scif_endpt *ep, in scif_send_scif_register() [all …]
|
D | scif_dma.c | 85 int scif_reserve_dma_chan(struct scif_endpt *ep) in scif_reserve_dma_chan() 144 struct scif_endpt *ep = mmn->ep; in scif_rma_destroy_tcw() 151 static void scif_rma_destroy_tcw_ep(struct scif_endpt *ep) in scif_rma_destroy_tcw_ep() 162 static void __scif_rma_destroy_tcw_ep(struct scif_endpt *ep) in __scif_rma_destroy_tcw_ep() 175 static bool scif_rma_tc_can_cache(struct scif_endpt *ep, size_t cur_bytes) in scif_rma_tc_can_cache() 234 static void scif_ep_unregister_mmu_notifier(struct scif_endpt *ep) in scif_ep_unregister_mmu_notifier() 251 struct mm_struct *mm, struct scif_endpt *ep) in scif_init_mmu_notifier() 272 scif_add_mmu_notifier(struct mm_struct *mm, struct scif_endpt *ep) in scif_add_mmu_notifier() 296 struct scif_endpt *ep; in scif_mmu_notif_handler() 301 ep = list_entry(pos, struct scif_endpt, mmu_list); in scif_mmu_notif_handler() [all …]
|
D | scif_nm.c | 29 struct scif_endpt *ep; in scif_invalidate_ep() 35 ep = list_entry(pos, struct scif_endpt, list); in scif_invalidate_ep() 44 ep = list_entry(pos, struct scif_endpt, list); in scif_invalidate_ep()
|
D | scif_rma_list.h | 50 int scif_query_tcw(struct scif_endpt *ep, struct scif_rma_req *request);
|
D | scif_debugfs.c | 109 struct scif_endpt *ep; in scif_rma_test() 114 ep = list_entry(pos, struct scif_endpt, list); in scif_rma_test()
|
/linux-4.19.296/include/linux/ |
D | scif.h | 95 typedef struct scif_endpt *scif_epd_t;
|