Home
last modified time | relevance | path

Searched refs:hr_wq (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c1275 bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, int nreq, in hns_roce_wq_overflow() argument
1281 cur = hr_wq->head - hr_wq->tail; in hns_roce_wq_overflow()
1282 if (likely(cur + nreq < hr_wq->wqe_cnt)) in hns_roce_wq_overflow()
1287 cur = hr_wq->head - hr_wq->tail; in hns_roce_wq_overflow()
1290 return cur + nreq >= hr_wq->wqe_cnt; in hns_roce_wq_overflow()
H A Dhns_roce_device.h1250 bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, int nreq,
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c1442 bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, u32 nreq, in hns_roce_wq_overflow() argument
1448 cur = hr_wq->head - hr_wq->tail; in hns_roce_wq_overflow()
1449 if (likely(cur + nreq < hr_wq->wqe_cnt)) in hns_roce_wq_overflow()
1454 cur = hr_wq->head - hr_wq->tail; in hns_roce_wq_overflow()
1457 return cur + nreq >= hr_wq->wqe_cnt; in hns_roce_wq_overflow()
H A Dhns_roce_device.h1205 bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, u32 nreq,

Completed in 9 milliseconds