Home
last modified time | relevance | path

Searched refs:mmid (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/cxgb4/
Dmem.c217 u32 mmid; in finish_mem_reg() local
221 mmid = stag >> 8; in finish_mem_reg()
223 PDBG("%s mmid 0x%x mhp %p\n", __func__, mmid, mhp); in finish_mem_reg()
224 return insert_handle(mhp->rhp, &mhp->rhp->mmidr, mhp, mmid); in finish_mem_reg()
651 u32 mmid; in c4iw_alloc_mw() local
669 mmid = (stag) >> 8; in c4iw_alloc_mw()
671 if (insert_handle(rhp, &rhp->mmidr, mhp, mmid)) { in c4iw_alloc_mw()
676 PDBG("%s mmid 0x%x mhp %p stag 0x%x\n", __func__, mmid, mhp, stag); in c4iw_alloc_mw()
684 u32 mmid; in c4iw_dealloc_mw() local
688 mmid = (mw->rkey) >> 8; in c4iw_dealloc_mw()
[all …]
Diw_cxgb4.h209 static inline struct c4iw_mr *get_mhp(struct c4iw_dev *rhp, u32 mmid) in get_mhp() argument
211 return idr_find(&rhp->mmidr, mmid); in get_mhp()
/drivers/infiniband/hw/cxgb3/
Diwch_mem.c45 u32 mmid; in iwch_finish_mem_reg() local
49 mmid = stag >> 8; in iwch_finish_mem_reg()
51 PDBG("%s mmid 0x%x mhp %p\n", __func__, mmid, mhp); in iwch_finish_mem_reg()
52 return insert_handle(mhp->rhp, &mhp->rhp->mmidr, mhp, mmid); in iwch_finish_mem_reg()
Diwch_provider.c448 u32 mmid; in iwch_dereg_mr() local
457 mmid = mhp->attr.stag >> 8; in iwch_dereg_mr()
461 remove_handle(rhp, &rhp->mmidr, mmid); in iwch_dereg_mr()
466 PDBG("%s mmid 0x%x ptr %p\n", __func__, mmid, mhp); in iwch_dereg_mr()
746 u32 mmid; in iwch_alloc_mw() local
764 mmid = (stag) >> 8; in iwch_alloc_mw()
766 if (insert_handle(rhp, &rhp->mmidr, mhp, mmid)) { in iwch_alloc_mw()
771 PDBG("%s mmid 0x%x mhp %p stag 0x%x\n", __func__, mmid, mhp, stag); in iwch_alloc_mw()
779 u32 mmid; in iwch_dealloc_mw() local
783 mmid = (mw->rkey) >> 8; in iwch_dealloc_mw()
[all …]
Diwch.h147 static inline struct iwch_mr *get_mhp(struct iwch_dev *rhp, u32 mmid) in get_mhp() argument
149 return idr_find(&rhp->mmidr, mmid); in get_mhp()