Searched refs:palloc (Results 1 – 5 of 5) sorted by relevance
/drivers/infiniband/hw/irdma/ |
D | pble.c | 307 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 …]
|
D | verbs.c | 2270 struct irdma_pble_alloc *palloc = &iwpbl->pble_alloc; in irdma_copy_user_pgaddrs() local 2276 pinfo = (level == PBLE_LEVEL_1) ? NULL : palloc->level2.leaf; in irdma_copy_user_pgaddrs() 2283 if (++pbl_cnt == palloc->total_cnt) in irdma_copy_user_pgaddrs() 2313 static bool irdma_check_mr_contiguous(struct irdma_pble_alloc *palloc, in irdma_check_mr_contiguous() argument 2316 struct irdma_pble_level2 *lvl2 = &palloc->level2; in irdma_check_mr_contiguous() 2323 if (palloc->level == PBLE_LEVEL_1) { in irdma_check_mr_contiguous() 2324 arr = palloc->level1.addr; in irdma_check_mr_contiguous() 2325 ret = irdma_check_mem_contiguous(arr, palloc->total_cnt, in irdma_check_mr_contiguous() 2355 struct irdma_pble_alloc *palloc = &iwpbl->pble_alloc; in irdma_setup_pbles() local 2362 status = irdma_get_pble(rf->pble_rsrc, palloc, iwmr->page_cnt, in irdma_setup_pbles() [all …]
|
D | pble.h | 114 struct irdma_pble_alloc *palloc); 116 struct irdma_pble_alloc *palloc, u32 pble_cnt,
|
D | hw.c | 607 dma_addr_t *pg_arr = (dma_addr_t *)aeq->palloc.level1.addr; in irdma_destroy_virt_aeq() 610 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_destroy_virt_aeq() 1341 status = irdma_get_pble(rf->pble_rsrc, &aeq->palloc, pg_cnt, true); in irdma_create_virt_aeq() 1347 pg_arr = (dma_addr_t *)aeq->palloc.level1.addr; in irdma_create_virt_aeq() 1350 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_create_virt_aeq() 1395 info.first_pm_pbl_idx = aeq->palloc.level1.idx; in irdma_create_aeq()
|
D | main.h | 200 struct irdma_pble_alloc palloc; member
|