Home
last modified time | relevance | path

Searched refs:req_cap (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c128 struct ib_qp_cap *req_cap, in pvrdma_set_rq_size() argument
131 if (req_cap->max_recv_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_rq_size()
132 req_cap->max_recv_sge > dev->dsr->caps.max_sge) { in pvrdma_set_rq_size()
137 qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_recv_wr)); in pvrdma_set_rq_size()
138 qp->rq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_recv_sge)); in pvrdma_set_rq_size()
141 req_cap->max_recv_wr = qp->rq.wqe_cnt; in pvrdma_set_rq_size()
142 req_cap->max_recv_sge = qp->rq.max_sg; in pvrdma_set_rq_size()
153 static int pvrdma_set_sq_size(struct pvrdma_dev *dev, struct ib_qp_cap *req_cap, in pvrdma_set_sq_size() argument
156 if (req_cap->max_send_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_sq_size()
157 req_cap->max_send_sge > dev->dsr->caps.max_sge) { in pvrdma_set_sq_size()
[all …]
/Linux-v5.4/security/selinux/include/
Dsecurity.h188 unsigned int req_cap);
/Linux-v5.4/security/selinux/ss/
Dservices.c3253 unsigned int req_cap) in security_policycap_supported() argument
3259 rc = ebitmap_get_bit(&policydb->policycaps, req_cap); in security_policycap_supported()