Searched refs:req_cap (Results 1 – 3 of 3) sorted by relevance
131 struct ib_qp_cap *req_cap, in pvrdma_set_rq_size() argument134 if (req_cap->max_recv_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_rq_size()135 req_cap->max_recv_sge > dev->dsr->caps.max_sge) { in pvrdma_set_rq_size()140 qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_recv_wr)); in pvrdma_set_rq_size()141 qp->rq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_recv_sge)); in pvrdma_set_rq_size()144 req_cap->max_recv_wr = qp->rq.wqe_cnt; in pvrdma_set_rq_size()145 req_cap->max_recv_sge = qp->rq.max_sg; in pvrdma_set_rq_size()156 static int pvrdma_set_sq_size(struct pvrdma_dev *dev, struct ib_qp_cap *req_cap, in pvrdma_set_sq_size() argument159 if (req_cap->max_send_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_sq_size()160 req_cap->max_send_sge > dev->dsr->caps.max_sge) { in pvrdma_set_sq_size()[all …]
212 int security_policycap_supported(unsigned int req_cap);
3481 int security_policycap_supported(unsigned int req_cap) in security_policycap_supported() argument3491 rc = ebitmap_get_bit(&policy->policydb.policycaps, req_cap); in security_policycap_supported()