Lines Matching refs:ibmr
384 mhp->ibmr.rkey = mhp->ibmr.lkey = stag; in finish_mem_reg()
385 mhp->ibmr.length = mhp->attr.len; in finish_mem_reg()
386 mhp->ibmr.page_size = 1U << (mhp->attr.page_size + 12); in finish_mem_reg()
478 return &mhp->ibmr; in c4iw_get_dma_mr()
582 return &mhp->ibmr; in c4iw_reg_user_mr()
653 mhp->ibmr.rkey = mhp->ibmr.lkey = stag; in c4iw_alloc_mr()
660 return &(mhp->ibmr); in c4iw_alloc_mr()
678 static int c4iw_set_page(struct ib_mr *ibmr, u64 addr) in c4iw_set_page() argument
680 struct c4iw_mr *mhp = to_c4iw_mr(ibmr); in c4iw_set_page()
690 int c4iw_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents, in c4iw_map_mr_sg() argument
693 struct c4iw_mr *mhp = to_c4iw_mr(ibmr); in c4iw_map_mr_sg()
697 return ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, c4iw_set_page); in c4iw_map_mr_sg()