Lines Matching refs:ibfmr
41 struct ib_fmr ibfmr; member
45 static inline struct qib_fmr *to_ifmr(struct ib_fmr *ibfmr) in to_ifmr() argument
47 return container_of(ibfmr, struct qib_fmr, ibfmr); in to_ifmr()
411 fmr->ibfmr.rkey = fmr->mr.lkey; in qib_alloc_fmr()
412 fmr->ibfmr.lkey = fmr->mr.lkey; in qib_alloc_fmr()
421 ret = &fmr->ibfmr; in qib_alloc_fmr()
443 int qib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, in qib_map_phys_fmr() argument
446 struct qib_fmr *fmr = to_ifmr(ibfmr); in qib_map_phys_fmr()
461 rkt = &to_idev(ibfmr->device)->lk_table; in qib_map_phys_fmr()
496 list_for_each_entry(fmr, fmr_list, ibfmr.list) { in qib_unmap_fmr()
497 rkt = &to_idev(fmr->ibfmr.device)->lk_table; in qib_unmap_fmr()
513 int qib_dealloc_fmr(struct ib_fmr *ibfmr) in qib_dealloc_fmr() argument
515 struct qib_fmr *fmr = to_ifmr(ibfmr); in qib_dealloc_fmr()