Lines Matching refs:k_wc
72 struct rvt_k_cq_wc *k_wc = NULL; in rvt_cq_enter() local
86 k_wc = cq->kqueue; in rvt_cq_enter()
87 kqueue = &k_wc->kqueue[0]; in rvt_cq_enter()
88 head = k_wc->head; in rvt_cq_enter()
89 tail = k_wc->tail; in rvt_cq_enter()
140 k_wc->head = next; in rvt_cq_enter()
207 struct rvt_k_cq_wc *k_wc = NULL; in rvt_create_cq() local
239 sz += sizeof(*k_wc); in rvt_create_cq()
240 k_wc = vzalloc_node(sz, rdi->dparms.node); in rvt_create_cq()
241 if (!k_wc) in rvt_create_cq()
298 cq->kqueue = k_wc; in rvt_create_cq()
307 vfree(k_wc); in rvt_create_cq()
389 struct rvt_k_cq_wc *k_wc = NULL; in rvt_resize_cq() local
406 sz += sizeof(*k_wc); in rvt_resize_cq()
407 k_wc = vzalloc_node(sz, rdi->dparms.node); in rvt_resize_cq()
408 if (!k_wc) in rvt_resize_cq()
451 k_wc->kqueue[n] = old_k_wc->kqueue[tail]; in rvt_resize_cq()
463 k_wc->head = n; in rvt_resize_cq()
464 k_wc->tail = 0; in rvt_resize_cq()
465 cq->kqueue = k_wc; in rvt_resize_cq()
502 vfree(k_wc); in rvt_resize_cq()