Searched refs:num_pbes (Results 1 – 4 of 4) sorted by relevance
574 u32 num_pbes, int two_layer_capable) in qedr_prepare_pbl_tbl() argument580 if ((num_pbes > MAX_PBES_ON_PAGE) && two_layer_capable) { in qedr_prepare_pbl_tbl()581 if (num_pbes > MAX_PBES_TWO_LAYER) { in qedr_prepare_pbl_tbl()583 num_pbes); in qedr_prepare_pbl_tbl()592 while (pbl_capacity < num_pbes) { in qedr_prepare_pbl_tbl()598 num_pbls = DIV_ROUND_UP(num_pbes, NUM_PBES_ON_PAGE(pbl_size)); in qedr_prepare_pbl_tbl()605 roundup_pow_of_two((num_pbes * sizeof(u64)))); in qedr_prepare_pbl_tbl()611 pbl_info->num_pbes = num_pbes; in qedr_prepare_pbl_tbl()615 pbl_info->num_pbes, pbl_info->num_pbls, pbl_info->pbl_size); in qedr_prepare_pbl_tbl()629 if (!pbl_info->num_pbes) in qedr_populate_pbls()[all …]
259 u32 num_pbes; member
762 u32 num_pbes) in ocrdma_get_pbl_info() argument775 num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); in ocrdma_get_pbl_info()780 mr->hwmr.num_pbes = num_pbes; in ocrdma_get_pbl_info()822 if (!mr->hwmr.num_pbes) in build_user_pbes()2036 int num_pbes = 0, i; in ocrdma_build_reg() local2067 num_pbes += 1; in ocrdma_build_reg()2073 if (num_pbes == (mr->hwmr.pbl_size/sizeof(u64))) { in ocrdma_build_reg()2956 if (unlikely(mr->npages == mr->hwmr.num_pbes)) in ocrdma_set_page()
185 u32 num_pbes; member