Home
last modified time | relevance | path

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

/linux-6.1.9/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.c2263 struct irdma_pble_chunkinfo *chunkinfo, u64 mem_size, in irdma_prm_get_pbles() argument
2300 chunkinfo->pchunk = pchunk; in irdma_prm_get_pbles()
2301 chunkinfo->bit_idx = bit_idx; in irdma_prm_get_pbles()
2302 chunkinfo->bits_used = bits_needed; in irdma_prm_get_pbles()
2304 pprm->free_pble_cnt -= chunkinfo->bits_used << (pprm->pble_shift - 3); in irdma_prm_get_pbles()
2316 struct irdma_pble_chunkinfo *chunkinfo) in irdma_prm_return_pbles() argument
2321 pprm->free_pble_cnt += chunkinfo->bits_used << (pprm->pble_shift - 3); in irdma_prm_return_pbles()
2322 bitmap_clear(chunkinfo->pchunk->bitmapbuf, chunkinfo->bit_idx, in irdma_prm_return_pbles()
2323 chunkinfo->bits_used); in irdma_prm_return_pbles()