Searched refs:new_q (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.1/drivers/infiniband/sw/rxe/ |
| D | rxe_queue.c | 111 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 159 new_q = rxe_queue_init(q->rxe, &num_elem, elem_size, q->type); in rxe_queue_resize() [all …]
|
| /Linux-v6.1/net/sched/ |
| D | sch_htb.c | 1384 htb_graft_helper(struct netdev_queue *dev_queue, struct Qdisc *new_q) in htb_graft_helper() argument 1391 old_q = dev_graft_qdisc(dev_queue, new_q); in htb_graft_helper() 1392 if (new_q) in htb_graft_helper() 1393 new_q->flags |= TCQ_F_ONETXQUEUE | TCQ_F_NOPARENT; in htb_graft_helper() 1506 struct Qdisc *new_q) in htb_parent_to_leaf() argument 1519 parent->leaf.q = new_q ? new_q : &noop_qdisc; in htb_parent_to_leaf() 1530 struct Qdisc *new_q) in htb_parent_to_leaf_offload() argument 1535 if (new_q) in htb_parent_to_leaf_offload() 1536 qdisc_refcount_inc(new_q); in htb_parent_to_leaf_offload() 1537 old_q = htb_graft_helper(dev_queue, new_q); in htb_parent_to_leaf_offload() [all …]
|