Searched refs:cq (Results 1 – 2 of 2) sorted by relevance
103 struct io_uring sq, cq; member476 if (ctx->cached_cq_tail != READ_ONCE(rings->cq.tail)) { in __io_commit_cqring()478 smp_store_release(&rings->cq.tail, ctx->cached_cq_tail); in __io_commit_cqring()558 if (tail - READ_ONCE(rings->cq.head) == rings->cq_ring_entries) in io_get_cqring()745 return READ_ONCE(rings->cq.tail) - READ_ONCE(rings->cq.head); in io_cqring_events()2966 return READ_ONCE(rings->cq.head) == READ_ONCE(rings->cq.tail) ? ret : 0; in io_cqring_wait()3619 if (READ_ONCE(ctx->rings->cq.head) != ctx->cached_cq_tail) in io_uring_poll()3907 p->cq_off.head = offsetof(struct io_rings, cq.head); in io_uring_create()3908 p->cq_off.tail = offsetof(struct io_rings, cq.tail); in io_uring_create()
266 static void send_done(struct ib_cq *cq, struct ib_wc *wc) in send_done() argument482 static void recv_done(struct ib_cq *cq, struct ib_wc *wc) in recv_done() argument2244 static void register_mr_done(struct ib_cq *cq, struct ib_wc *wc) in register_mr_done() argument2549 static void local_inv_done(struct ib_cq *cq, struct ib_wc *wc) in local_inv_done() argument