Searched refs:num_pbes (Results 1 – 4 of 4) sorted by relevance
813 u32 num_pbes) in ocrdma_get_pbl_info() argument826 num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); in ocrdma_get_pbl_info()831 mr->hwmr.num_pbes = num_pbes; in ocrdma_get_pbl_info()866 u32 num_pbes) in build_user_pbes() argument874 if (!mr->hwmr.num_pbes) in build_user_pbes()897 if (total_num_pbes == num_pbes) in build_user_pbes()921 u32 num_pbes; in ocrdma_reg_user_mr() local936 num_pbes = ib_umem_page_count(mr->umem); in ocrdma_reg_user_mr()937 status = ocrdma_get_pbl_info(dev, mr, num_pbes); in ocrdma_reg_user_mr()953 build_user_pbes(dev, mr, num_pbes); in ocrdma_reg_user_mr()[all …]
186 u32 num_pbes; member
601 u32 num_pbes, int two_layer_capable) in qedr_prepare_pbl_tbl() argument607 if ((num_pbes > MAX_PBES_ON_PAGE) && two_layer_capable) { in qedr_prepare_pbl_tbl()608 if (num_pbes > MAX_PBES_TWO_LAYER) { in qedr_prepare_pbl_tbl()610 num_pbes); in qedr_prepare_pbl_tbl()619 while (pbl_capacity < num_pbes) { in qedr_prepare_pbl_tbl()625 num_pbls = DIV_ROUND_UP(num_pbes, NUM_PBES_ON_PAGE(pbl_size)); in qedr_prepare_pbl_tbl()632 roundup_pow_of_two((num_pbes * sizeof(u64)))); in qedr_prepare_pbl_tbl()638 pbl_info->num_pbes = num_pbes; in qedr_prepare_pbl_tbl()642 pbl_info->num_pbes, pbl_info->num_pbls, pbl_info->pbl_size); in qedr_prepare_pbl_tbl()659 if (!pbl_info->num_pbes) in qedr_populate_pbls()[all …]
259 u32 num_pbes; member