Lines Matching refs:num_pbes
575 u32 num_pbes, int two_layer_capable) in qedr_prepare_pbl_tbl() argument
581 if ((num_pbes > MAX_PBES_ON_PAGE) && two_layer_capable) { in qedr_prepare_pbl_tbl()
582 if (num_pbes > MAX_PBES_TWO_LAYER) { in qedr_prepare_pbl_tbl()
584 num_pbes); in qedr_prepare_pbl_tbl()
593 while (pbl_capacity < num_pbes) { in qedr_prepare_pbl_tbl()
599 num_pbls = DIV_ROUND_UP(num_pbes, NUM_PBES_ON_PAGE(pbl_size)); in qedr_prepare_pbl_tbl()
606 roundup_pow_of_two((num_pbes * sizeof(u64)))); in qedr_prepare_pbl_tbl()
612 pbl_info->num_pbes = num_pbes; in qedr_prepare_pbl_tbl()
616 pbl_info->num_pbes, pbl_info->num_pbls, pbl_info->pbl_size); in qedr_prepare_pbl_tbl()
630 if (!pbl_info->num_pbes) in qedr_populate_pbls()
659 if (total_num_pbes == pbl_info->num_pbes) in qedr_populate_pbls()
973 page_cnt = cq->q.pbl_info.num_pbes; in qedr_create_cq()
1588 page_cnt = srq->usrq.pbl_info.num_pbes; in qedr_create_srq()
1909 in_params.sq_num_pages = qp->usq.pbl_info.num_pbes; in qedr_create_user_qp()
1914 in_params.rq_num_pages = qp->urq.pbl_info.num_pbes; in qedr_create_user_qp()
3161 if (unlikely(mr->npages == mr->info.pbl_info.num_pbes)) { in qedr_set_page()