Home
last modified time | relevance | path

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

/drivers/infiniband/hw/cxgb4/
Dmem.c355 u32 mmid; in finish_mem_reg() local
359 mmid = stag >> 8; in finish_mem_reg()
361 PDBG("%s mmid 0x%x mhp %p\n", __func__, mmid, mhp); in finish_mem_reg()
362 return insert_handle(mhp->rhp, &mhp->rhp->mmidr, mhp, mmid); in finish_mem_reg()
784 u32 mmid; in c4iw_alloc_mw() local
805 mmid = (stag) >> 8; in c4iw_alloc_mw()
807 if (insert_handle(rhp, &rhp->mmidr, mhp, mmid)) { in c4iw_alloc_mw()
812 PDBG("%s mmid 0x%x mhp %p stag 0x%x\n", __func__, mmid, mhp, stag); in c4iw_alloc_mw()
820 u32 mmid; in c4iw_dealloc_mw() local
824 mmid = (mw->rkey) >> 8; in c4iw_dealloc_mw()
[all …]
Diw_cxgb4.h290 static inline struct c4iw_mr *get_mhp(struct c4iw_dev *rhp, u32 mmid) in get_mhp() argument
292 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.c449 u32 mmid; in iwch_dereg_mr() local
458 mmid = mhp->attr.stag >> 8; in iwch_dereg_mr()
462 remove_handle(rhp, &rhp->mmidr, mmid); in iwch_dereg_mr()
467 PDBG("%s mmid 0x%x ptr %p\n", __func__, mmid, mhp); in iwch_dereg_mr()
742 u32 mmid; in iwch_alloc_mw() local
763 mmid = (stag) >> 8; in iwch_alloc_mw()
765 if (insert_handle(rhp, &rhp->mmidr, mhp, mmid)) { in iwch_alloc_mw()
770 PDBG("%s mmid 0x%x mhp %p stag 0x%x\n", __func__, mmid, mhp, stag); in iwch_alloc_mw()
778 u32 mmid; in iwch_dealloc_mw() local
782 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()