Home
last modified time | relevance | path

Searched refs:sq_tail (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/block/
Dnvme.c117 u16 sq_tail; member
283 tail = nvmeq->sq_tail; in nvme_submit_cmd()
288 nvmeq->sq_tail = tail; in nvme_submit_cmd()
511 struct nvme_command *cmnd = &nvmeq->sq_cmds[nvmeq->sq_tail]; in nvme_submit_flush()
518 if (++nvmeq->sq_tail == nvmeq->q_depth) in nvme_submit_flush()
519 nvmeq->sq_tail = 0; in nvme_submit_flush()
520 writel(nvmeq->sq_tail, nvmeq->q_db); in nvme_submit_flush()
578 cmnd = &nvmeq->sq_cmds[nvmeq->sq_tail]; in nvme_submit_bio_queue()
605 if (++nvmeq->sq_tail == nvmeq->q_depth) in nvme_submit_bio_queue()
606 nvmeq->sq_tail = 0; in nvme_submit_bio_queue()
[all …]
/linux-3.4.99/drivers/infiniband/hw/nes/
Dnes_hw.c1040 nesdev->cqp.sq_tail = 0; in nes_init_cqp()
1201 nesdev->cqp.sq_tail++; in nes_init_cqp()
1221 } while (!(nesdev->cqp.sq_head == nesdev->cqp.sq_tail)); in nes_destroy_cqp()
1723 nesvnic->nic.sq_tail = 0; in nes_init_nic_qp()
1835 ret = wait_event_timeout(nesdev->cqp.waitq, (nesdev->cqp.sq_tail == cqp_head), in nes_init_nic_qp()
1948 while (nesvnic->nic.sq_head != nesvnic->nic.sq_tail) { in nes_destroy_nic_qp()
1949 nic_sqe = &nesvnic->nic.sq_vbase[nesvnic->nic.sq_tail]; in nes_destroy_nic_qp()
1963 if (test_and_clear_bit(nesvnic->nic.sq_tail, in nes_destroy_nic_qp()
1992 if (nesvnic->nic.tx_skb[nesvnic->nic.sq_tail]) in nes_destroy_nic_qp()
1994 nesvnic->nic.tx_skb[nesvnic->nic.sq_tail]); in nes_destroy_nic_qp()
[all …]
Dnes_hw.h902 u16 sq_tail; member
924 u16 sq_tail; member
957 u16 sq_tail; member
Dnes_mgt.c1009 ret = wait_event_timeout(nesdev->cqp.waitq, (nesdev->cqp.sq_tail == cqp_head), in nes_init_mgt_qp()
1139 nesdev->cqp.sq_tail, nesdev->cqp.sq_size); in nes_destroy_mgt()
1141 ret = wait_event_timeout(nesdev->cqp.waitq, (nesdev->cqp.sq_tail == cqp_head), in nes_destroy_mgt()
1146 ret, cqp_head, nesdev->cqp.sq_head, nesdev->cqp.sq_tail); in nes_destroy_mgt()
Dnes_verbs.c227 qsize = nesqp->hwqp.sq_tail; in nes_bind_mw()
230 if (((head + (2 * qsize) - nesqp->hwqp.sq_tail) % qsize) == (qsize - 1)) { in nes_bind_mw()
1366 nesqp->hwqp.qp_id, ret, nesdev->cqp.sq_head, nesdev->cqp.sq_tail, in nes_create_qp()
2995 nesqp->hwqp.qp_id, nesqp->hwqp.sq_head, nesqp->hwqp.sq_tail); in nes_modify_qp()
3296 if (((head + (2 * qsize) - nesqp->hwqp.sq_tail) % qsize) == (qsize - 1)) { in nes_post_send()
3705 nesqp->hwqp.sq_tail++; in nes_poll_cq()
3743 nesqp->hwqp.sq_tail = (wqe_index+1)&(nesqp->hwqp.sq_size - 1); in nes_poll_cq()
3744 if ((entry->status != IB_WC_SUCCESS) && (nesqp->hwqp.sq_tail != nesqp->hwqp.sq_head)) { in nes_poll_cq()
3746 wq_tail = nesqp->hwqp.sq_tail; in nes_poll_cq()
Dnes_utils.c639 if (((((nesdev->cqp.sq_tail+(nesdev->cqp.sq_size*2))-nesdev->cqp.sq_head) & in nes_post_cqp_request()
657 nesdev->cqp.sq_head, nesdev->cqp.sq_tail, nesdev->cqp.sq_size, in nes_post_cqp_request()
Dnes_nic.c515 if ((((nesnic->sq_tail+(nesnic->sq_size*2))-nesnic->sq_head) & (nesnic->sq_size - 1)) == 1) { in nes_netdev_start_xmit()
519 …if ((((((volatile u16)nesnic->sq_tail)+(nesnic->sq_size*2))-nesnic->sq_head) & (nesnic->sq_size - … in nes_netdev_start_xmit()
541 wqes_available = (((nesnic->sq_tail+nesnic->sq_size)-nesnic->sq_head) - 1) & in nes_netdev_start_xmit()
548 wqes_available = (((((volatile u16)nesnic->sq_tail)+nesnic->sq_size)-nesnic->sq_head) - 1) & in nes_netdev_start_xmit()
Dnes_cm.c656 nesqp->hwqp.sq_tail = 0; in build_rdma0_msg()
2905 nesqp->hwqp.sq_tail, cm_id, in nes_cm_disconn_true()