Home
last modified time | relevance | path

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

/drivers/infiniband/sw/rxe/
Drxe_queue.c111 static int resize_finish(struct rxe_queue *q, struct rxe_queue *new_q, in resize_finish() argument
122 new_prod = queue_get_producer(new_q, type); in resize_finish()
127 memcpy(queue_addr_from_index(new_q, new_prod), in resize_finish()
128 queue_addr_from_index(q, cons), new_q->elem_size); in resize_finish()
129 new_prod = queue_next_index(new_q, new_prod); in resize_finish()
133 new_q->buf->producer_index = new_prod; in resize_finish()
138 new_q->index = new_q->buf->producer_index; in resize_finish()
143 swap(*q, *new_q); in resize_finish()
153 struct rxe_queue *new_q; in rxe_queue_resize() local
158 new_q = rxe_queue_init(q->rxe, &num_elem, elem_size, q->type); in rxe_queue_resize()
[all …]