Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_queue.c110 static int resize_finish(struct rxe_queue *q, struct rxe_queue *new_q, in resize_finish() argument
121 new_prod = queue_get_producer(new_q, type); in resize_finish()
126 memcpy(queue_addr_from_index(new_q, new_prod), in resize_finish()
127 queue_addr_from_index(q, cons), new_q->elem_size); in resize_finish()
128 new_prod = queue_next_index(new_q, new_prod); in resize_finish()
132 new_q->buf->producer_index = new_prod; in resize_finish()
137 new_q->index = new_q->buf->producer_index; in resize_finish()
142 swap(*q, *new_q); in resize_finish()
152 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 …]
/openbmc/linux/net/sched/
H A Dsch_htb.c1382 htb_graft_helper(struct netdev_queue *dev_queue, struct Qdisc *new_q) in htb_graft_helper() argument
1389 old_q = dev_graft_qdisc(dev_queue, new_q); in htb_graft_helper()
1390 if (new_q) in htb_graft_helper()
1391 new_q->flags |= TCQ_F_ONETXQUEUE | TCQ_F_NOPARENT; in htb_graft_helper()
1503 struct Qdisc *new_q) in htb_parent_to_leaf() argument
1516 parent->leaf.q = new_q ? new_q : &noop_qdisc; in htb_parent_to_leaf()
1527 struct Qdisc *new_q) in htb_parent_to_leaf_offload() argument
1532 if (new_q) in htb_parent_to_leaf_offload()
1533 qdisc_refcount_inc(new_q); in htb_parent_to_leaf_offload()
1534 old_q = htb_graft_helper(dev_queue, new_q); in htb_parent_to_leaf_offload()
[all …]