Home
last modified time | relevance | path

Searched refs:chunkinfo (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/irdma/
Dpble.h36 struct irdma_pble_chunkinfo chunkinfo; member
121 struct irdma_pble_chunkinfo *chunkinfo, u64 mem_size,
124 struct irdma_pble_chunkinfo *chunkinfo);
Dpble.c317 &leaf->chunkinfo); in free_lvl2()
323 irdma_prm_return_pbles(&pble_rsrc->pinfo, &root->chunkinfo); in free_lvl2()
359 ret_code = irdma_prm_get_pbles(&pble_rsrc->pinfo, &root->chunkinfo, in get_lvl2_pble()
374 &leaf->chunkinfo, pblcnt << 3, in get_lvl2_pble()
408 ret_code = irdma_prm_get_pbles(&pble_rsrc->pinfo, &lvl1->chunkinfo, in get_lvl1_pble()
507 &palloc->level1.chunkinfo); in irdma_free_pble()
Dutils.c2262 struct irdma_pble_chunkinfo *chunkinfo, u64 mem_size, in irdma_prm_get_pbles() argument
2299 chunkinfo->pchunk = pchunk; in irdma_prm_get_pbles()
2300 chunkinfo->bit_idx = bit_idx; in irdma_prm_get_pbles()
2301 chunkinfo->bits_used = bits_needed; in irdma_prm_get_pbles()
2303 pprm->free_pble_cnt -= chunkinfo->bits_used << (pprm->pble_shift - 3); in irdma_prm_get_pbles()
2315 struct irdma_pble_chunkinfo *chunkinfo) in irdma_prm_return_pbles() argument
2320 pprm->free_pble_cnt += chunkinfo->bits_used << (pprm->pble_shift - 3); in irdma_prm_return_pbles()
2321 bitmap_clear(chunkinfo->pchunk->bitmapbuf, chunkinfo->bit_idx, in irdma_prm_return_pbles()
2322 chunkinfo->bits_used); in irdma_prm_return_pbles()