Searched refs:nesmr (Results 1 – 3 of 3) sorted by relevance
66 struct nes_mr *nesmr; in nes_alloc_mw() local93 nesmr = kzalloc(sizeof(*nesmr), GFP_KERNEL); in nes_alloc_mw()94 if (!nesmr) { in nes_alloc_mw()109 kfree(nesmr); in nes_alloc_mw()137 kfree(nesmr); in nes_alloc_mw()147 nesmr->ibmw.rkey = stag; in nes_alloc_mw()148 nesmr->mode = IWNES_MEMREG_TYPE_MW; in nes_alloc_mw()149 ibmw = &nesmr->ibmw; in nes_alloc_mw()150 nesmr->pbl_4k = 0; in nes_alloc_mw()151 nesmr->pbls_used = 0; in nes_alloc_mw()[all …]
500 static inline struct nes_fmr *to_nesfmr(struct nes_mr *nesmr) in to_nesfmr() argument502 return container_of(nesmr, struct nes_fmr, nesmr); in to_nesfmr()
105 struct nes_mr nesmr; member