1
2
3
4
5
6
7
8
9 #ifndef SCIF_RMA_LIST_H
10 #define SCIF_RMA_LIST_H
11
12
13
14
15
16
17
18
19
20
21
22
23 struct scif_rma_req {
24 struct scif_window **out_window;
25 union {
26 s64 offset;
27 unsigned long va_for_temp;
28 };
29 size_t nr_bytes;
30 int prot;
31 enum scif_window_type type;
32 struct list_head *head;
33 };
34
35
36 void scif_insert_window(struct scif_window *window, struct list_head *head);
37 void scif_insert_tcw(struct scif_window *window,
38 struct list_head *head);
39
40 int scif_query_window(struct scif_rma_req *request);
41 int scif_query_tcw(struct scif_endpt *ep, struct scif_rma_req *request);
42
43 int scif_unregister_all_windows(scif_epd_t epd);
44 void scif_unmap_all_windows(scif_epd_t epd);
45
46 int scif_rma_list_unregister(struct scif_window *window, s64 offset,
47 int nr_pages);
48 #endif