Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/irdma/
Dpble.c307 struct irdma_pble_alloc *palloc) in free_lvl2() argument
310 struct irdma_pble_level2 *lvl2 = &palloc->level2; in free_lvl2()
335 struct irdma_pble_alloc *palloc) in get_lvl2_pble() argument
340 struct irdma_pble_level2 *lvl2 = &palloc->level2; in get_lvl2_pble()
347 lf4k = palloc->total_cnt >> 9; in get_lvl2_pble()
348 lflast = palloc->total_cnt % PBLE_PER_PAGE; in get_lvl2_pble()
386 palloc->level = PBLE_LEVEL_2; in get_lvl2_pble()
391 free_lvl2(pble_rsrc, palloc); in get_lvl2_pble()
402 struct irdma_pble_alloc *palloc) in get_lvl1_pble() argument
406 struct irdma_pble_info *lvl1 = &palloc->level1; in get_lvl1_pble()
[all …]
Dverbs.c2254 struct irdma_pble_alloc *palloc = &iwpbl->pble_alloc; in irdma_copy_user_pgaddrs() local
2260 pinfo = (level == PBLE_LEVEL_1) ? NULL : palloc->level2.leaf; in irdma_copy_user_pgaddrs()
2267 if (++pbl_cnt == palloc->total_cnt) in irdma_copy_user_pgaddrs()
2297 static bool irdma_check_mr_contiguous(struct irdma_pble_alloc *palloc, in irdma_check_mr_contiguous() argument
2300 struct irdma_pble_level2 *lvl2 = &palloc->level2; in irdma_check_mr_contiguous()
2307 if (palloc->level == PBLE_LEVEL_1) { in irdma_check_mr_contiguous()
2308 arr = palloc->level1.addr; in irdma_check_mr_contiguous()
2309 ret = irdma_check_mem_contiguous(arr, palloc->total_cnt, in irdma_check_mr_contiguous()
2339 struct irdma_pble_alloc *palloc = &iwpbl->pble_alloc; in irdma_setup_pbles() local
2346 status = irdma_get_pble(rf->pble_rsrc, palloc, iwmr->page_cnt, in irdma_setup_pbles()
[all …]
Dpble.h114 struct irdma_pble_alloc *palloc);
116 struct irdma_pble_alloc *palloc, u32 pble_cnt,
Dhw.c594 dma_addr_t *pg_arr = (dma_addr_t *)aeq->palloc.level1.addr; in irdma_destroy_virt_aeq()
597 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_destroy_virt_aeq()
1318 status = irdma_get_pble(rf->pble_rsrc, &aeq->palloc, pg_cnt, true); in irdma_create_virt_aeq()
1324 pg_arr = (dma_addr_t *)aeq->palloc.level1.addr; in irdma_create_virt_aeq()
1327 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_create_virt_aeq()
1372 info.first_pm_pbl_idx = aeq->palloc.level1.idx; in irdma_create_aeq()
Dmain.h200 struct irdma_pble_alloc palloc; member