hr_wq 1245 drivers/infiniband/hw/hns/hns_roce_device.h bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, int nreq, hr_wq 1287 drivers/infiniband/hw/hns/hns_roce_qp.c bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, int nreq, hr_wq 1293 drivers/infiniband/hw/hns/hns_roce_qp.c cur = hr_wq->head - hr_wq->tail; hr_wq 1294 drivers/infiniband/hw/hns/hns_roce_qp.c if (likely(cur + nreq < hr_wq->max_post)) hr_wq 1299 drivers/infiniband/hw/hns/hns_roce_qp.c cur = hr_wq->head - hr_wq->tail; hr_wq 1302 drivers/infiniband/hw/hns/hns_roce_qp.c return cur + nreq >= hr_wq->max_post;