Home
last modified time | relevance | path

Searched refs:siw_mem (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/infiniband/sw/siw/
Dsiw_mem.h14 struct siw_mem *siw_mem_id2obj(struct siw_device *sdev, int stag_index);
15 int siw_mem_add(struct siw_device *sdev, struct siw_mem *m);
17 int siw_check_mem(struct ib_pd *pd, struct siw_mem *mem, u64 addr,
20 struct siw_mem *mem[], enum ib_access_flags perms,
28 static inline void siw_mem_put(struct siw_mem *mem) in siw_mem_put()
33 static inline void siw_unref_mem_sgl(struct siw_mem **mem, unsigned int num_sge) in siw_unref_mem_sgl()
Dsiw_mem.c24 int siw_mem_add(struct siw_device *sdev, struct siw_mem *m) in siw_mem_add()
51 struct siw_mem *siw_mem_id2obj(struct siw_device *sdev, int stag_index) in siw_mem_id2obj()
53 struct siw_mem *mem; in siw_mem_id2obj()
85 struct siw_mem *mem = kzalloc(sizeof(*mem), GFP_KERNEL); in siw_mr_add_mem()
120 struct siw_mem *mem = mr->mem, *found; in siw_mr_drop_mem()
134 struct siw_mem *mem = container_of(ref, struct siw_mem, ref); in siw_free_mem()
160 int siw_check_mem(struct ib_pd *pd, struct siw_mem *mem, u64 addr, in siw_check_mem()
214 int siw_check_sge(struct ib_pd *pd, struct siw_sge *sge, struct siw_mem *mem[], in siw_check_sge()
218 struct siw_mem *new = NULL; in siw_check_sge()
287 struct siw_mem *mem = siw_mem_id2obj(sdev, stag >> 8); in siw_invalidate_stag()
DMakefile7 siw_mem.o \
Dsiw.h144 struct siw_mem { struct
164 struct siw_mem *mem; argument
193 struct siw_mem *mem[SIW_MAX_SGE]; /* per sge's resolved mem */
Dsiw_qp_tx.c25 static struct page *siw_get_pblpage(struct siw_mem *mem, u64 addr, int *idx) in siw_get_pblpage()
37 static struct page *siw_get_page(struct siw_mem *mem, struct siw_sge *sge, in siw_get_page()
64 struct siw_mem *mem = wqe->mem[0]; in siw_try_1seg()
467 struct siw_mem *mem; in siw_tx_hdt()
932 struct siw_mem *mem; in siw_fastreg_mr()
Dsiw_qp_rx.c128 struct siw_mem *mem, u64 addr, int len) in siw_rx_pbl()
408 static int siw_rx_data(struct siw_mem *mem_p, struct siw_rx_stream *srx, in siw_rx_data()
470 struct siw_mem **mem, *mem_p; in siw_proc_send()
549 struct siw_mem *mem; in siw_proc_write()
787 struct siw_mem **mem, *mem_p; in siw_proc_rresp()
Dsiw_verbs.c1357 struct siw_mem *mem = mr->mem; in siw_reg_user_mr()
1468 struct siw_mem *mem = mr->mem; in siw_map_mr_sg()