Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
H A Drxe_queue.c111 static int resize_finish(struct rxe_queue *q, struct rxe_queue *new_q, in resize_finish() argument
118 memcpy(producer_addr(new_q), consumer_addr(q), in resize_finish()
119 new_q->elem_size); in resize_finish()
120 advance_producer(new_q); in resize_finish()
124 swap(*q, *new_q); in resize_finish()
134 struct rxe_queue *new_q; in rxe_queue_resize() local
139 new_q = rxe_queue_init(q->rxe, &num_elem, elem_size); in rxe_queue_resize()
140 if (!new_q) in rxe_queue_resize()
143 err = do_mmap_info(new_q->rxe, outbuf, udata, new_q in rxe_queue_resize()
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_htb.c1390 htb_graft_helper(struct netdev_queue *dev_queue, struct Qdisc *new_q) in htb_graft_helper() argument
1397 old_q = dev_graft_qdisc(dev_queue, new_q); in htb_graft_helper()
1398 if (new_q) in htb_graft_helper()
1399 new_q->flags |= TCQ_F_ONETXQUEUE | TCQ_F_NOPARENT; in htb_graft_helper()
1512 struct Qdisc *new_q) in htb_parent_to_leaf()
1525 parent->leaf.q = new_q ? new_q : &noop_qdisc; in htb_parent_to_leaf()
1536 struct Qdisc *new_q) in htb_parent_to_leaf_offload()
1541 if (new_q) in htb_parent_to_leaf_offload()
1542 qdisc_refcount_inc(new_q); in htb_parent_to_leaf_offload()
1511 htb_parent_to_leaf(struct Qdisc *sch, struct htb_class *cl, struct Qdisc *new_q) htb_parent_to_leaf() argument
1534 htb_parent_to_leaf_offload(struct Qdisc *sch, struct netdev_queue *dev_queue, struct Qdisc *new_q) htb_parent_to_leaf_offload() argument
1704 struct Qdisc *new_q = NULL; htb_delete() local
1830 struct Qdisc *new_q, *old_q; htb_change_class() local
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dsch_htb.c1189 struct Qdisc *new_q) in htb_parent_to_leaf()
1201 parent->leaf.q = new_q ? new_q : &noop_qdisc; in htb_parent_to_leaf()
1254 struct Qdisc *new_q = NULL; in htb_delete() local
1265 new_q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in htb_delete()
1289 htb_parent_to_leaf(q, cl, new_q); in htb_delete()
1340 struct Qdisc *new_q; in htb_change_class() local
1400 new_q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in htb_change_class()
1420 cl->leaf.q = new_q ? new_q in htb_change_class()
1188 htb_parent_to_leaf(struct htb_sched *q, struct htb_class *cl, struct Qdisc *new_q) htb_parent_to_leaf() argument
[all...]

Completed in 7 milliseconds