Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 40) sorted by relevance

12

/net/sched/
A Dcls_api.c181 struct tcf_block *block = chain->block; in tcf_proto_signal_destroying() local
220 struct tcf_block *block = chain->block; in tcf_proto_signal_destroyed() local
417 struct tcf_block *block = tp->chain->block; in tcf_proto_count_usesw() local
510 chain->block = block; in tcf_chain_create()
529 struct tcf_block *block = chain->block; in tcf_chain0_head_change() local
544 struct tcf_block *block = chain->block; in tcf_chain_detach() local
569 struct tcf_block *block = chain->block; in tcf_chain_destroy() local
688 struct tcf_block *block = chain->block; in __tcf_chain_put() local
996 err = idr_alloc_u32(&tn->idr, block, &block->index, block->index, in tcf_block_insert()
1326 tcf_block_remove(block, block->net); in __tcf_block_put()
[all …]
A Dcls_matchall.c74 struct tcf_block *block = tp->chain->block; in mall_destroy_hw_filter() local
80 tc_setup_cb_destroy(block, tp, TC_SETUP_CLSMATCHALL, &cls_mall, false, in mall_destroy_hw_filter()
90 struct tcf_block *block = tp->chain->block; in mall_replace_hw_filter() local
111 err = tc_setup_cb_add(block, tp, TC_SETUP_CLSMATCHALL, &cls_mall, in mall_replace_hw_filter()
280 struct tcf_block *block = tp->chain->block; in mall_reoffload() local
303 err = tc_setup_cb_reoffload(block, tp, add, cb, TC_SETUP_CLSMATCHALL, in mall_reoffload()
317 struct tcf_block *block = tp->chain->block; in mall_stats_hw_filter() local
323 tc_setup_cb_call(block, TC_SETUP_CLSMATCHALL, &cls_mall, false, true); in mall_stats_hw_filter()
A Dcls_bpf.c149 struct tcf_block *block = tp->chain->block; in cls_bpf_offload_cmd() local
167 err = tc_setup_cb_replace(block, tp, TC_SETUP_CLSBPF, &cls_bpf, in cls_bpf_offload_cmd()
173 err = tc_setup_cb_add(block, tp, TC_SETUP_CLSBPF, &cls_bpf, in cls_bpf_offload_cmd()
177 err = tc_setup_cb_destroy(block, tp, TC_SETUP_CLSBPF, &cls_bpf, in cls_bpf_offload_cmd()
230 struct tcf_block *block = tp->chain->block; in cls_bpf_offload_update_stats() local
240 tc_setup_cb_call(block, TC_SETUP_CLSBPF, &cls_bpf, false, true); in cls_bpf_offload_update_stats()
404 tcf_block_netif_keep_dst(tp->chain->block); in cls_bpf_prog_from_efd()
656 struct tcf_block *block = tp->chain->block; in cls_bpf_reoffload() local
674 err = tc_setup_cb_reoffload(block, tp, add, cb, TC_SETUP_CLSBPF, in cls_bpf_reoffload()
A Dact_mirred.c354 struct tcf_block *block, int m_eaction, in tcf_blockcast_redir() argument
365 xa_for_each(&block->ports, index, dev) { in tcf_blockcast_redir()
388 struct tcf_block *block, int m_eaction, in tcf_blockcast_mirror() argument
394 xa_for_each(&block->ports, index, dev) { in tcf_blockcast_mirror()
411 struct tcf_block *block; in tcf_blockcast() local
421 block = tcf_block_lookup(dev_net(skb->dev), blockid); in tcf_blockcast()
422 if (!block || xa_empty(&block->ports)) { in tcf_blockcast()
428 return tcf_blockcast_redir(skb, m, block, m_eaction, in tcf_blockcast()
432 return tcf_blockcast_mirror(skb, m, block, m_eaction, exception_ifindex, in tcf_blockcast()
A Dcls_u32.c333 struct tcf_block *block = tp->chain->block; in tc_u_common_ptr() local
341 if (tcf_block_shared(block)) in tc_u_common_ptr()
342 return block; in tc_u_common_ptr()
344 return block->q; in tc_u_common_ptr()
492 struct tcf_block *block = tp->chain->block; in u32_clear_hw_hnode() local
501 tc_setup_cb_call(block, TC_SETUP_CLSU32, &cls_u32, false, true); in u32_clear_hw_hnode()
507 struct tcf_block *block = tp->chain->block; in u32_replace_hw_hnode() local
536 struct tcf_block *block = tp->chain->block; in u32_remove_hw_knode() local
543 tc_setup_cb_destroy(block, tp, TC_SETUP_CLSU32, &cls_u32, false, in u32_remove_hw_knode()
551 struct tcf_block *block = tp->chain->block; in u32_replace_hw_knode() local
[all …]
A Dsch_ingress.c19 struct tcf_block *block; member
53 return q->block; in ingress_tcf_block()
103 err = tcf_block_get_ext(&q->block, sch, &q->block_info, extack); in ingress_init()
107 mini_qdisc_pair_block_init(&q->miniqp, q->block); in ingress_init()
121 tcf_block_put_ext(q->block, sch, &q->block_info); in ingress_destroy()
A Dsch_multiq.c24 struct tcf_block *block; member
164 tcf_block_put(q->block); in multiq_destroy()
246 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in multiq_init()
368 return q->block; in multiq_tcf_block()
A Dsch_prio.c24 struct tcf_block *block; member
170 tcf_block_put(q->block); in prio_destroy()
238 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in prio_init()
391 return q->block; in prio_tcf_block()
A Dsch_drr.c34 struct tcf_block *block; member
189 return q->block; in drr_tcf_block()
419 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in drr_init_qdisc()
451 tcf_block_put(q->block); in drr_destroy_qdisc()
A Dsch_htb.c104 struct tcf_block *block; member
156 struct tcf_block *block; member
1068 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in htb_init()
1611 tcf_block_put(cl->block); in htb_destroy_class()
1632 tcf_block_put(q->block); in htb_destroy()
1636 tcf_block_put(cl->block); in htb_destroy()
1637 cl->block = NULL; in htb_destroy()
1855 err = tcf_block_get(&cl->block, &cl->filter_list, sch, extack); in htb_change_class()
2066 tcf_block_put(cl->block); in htb_change_class()
2078 return cl ? cl->block : q->block; in htb_tcf_block()
A Dsch_hfsc.c118 struct tcf_block *block; member
1034 err = tcf_block_get(&cl->block, &cl->filter_list, sch, extack); in hfsc_change_class()
1044 tcf_block_put(cl->block); in hfsc_change_class()
1095 tcf_block_put(cl->block); in hfsc_destroy_class()
1266 return cl->block; in hfsc_tcf_block()
1413 err = tcf_block_get(&q->root.block, &q->root.filter_list, sch, extack); in hfsc_init_qdisc()
1507 tcf_block_put(cl->block); in hfsc_destroy_qdisc()
1508 cl->block = NULL; in hfsc_destroy_qdisc()
A Dsch_sfb.c55 struct tcf_block *block; member
472 tcf_block_put(q->block); in sfb_destroy()
561 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in sfb_init()
676 return q->block; in sfb_tcf_block()
A Dsch_fq_codel.c52 struct tcf_block *block; member
462 tcf_block_put(q->block); in fq_codel_destroy()
492 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in fq_codel_init()
631 return q->block; in fq_codel_tcf_block()
A Dcls_flower.c451 struct tcf_block *block = tp->chain->block; in fl_hw_destroy_filter() local
458 tc_setup_cb_destroy(block, tp, TC_SETUP_CLSFLOWER, &cls_flower, false, in fl_hw_destroy_filter()
467 struct tcf_block *block = tp->chain->block; in fl_hw_replace_filter() local
492 err = tc_setup_cb_add(block, tp, TC_SETUP_CLSFLOWER, &cls_flower, in fl_hw_replace_filter()
511 struct tcf_block *block = tp->chain->block; in fl_hw_update_stats() local
519 tc_setup_cb_call(block, TC_SETUP_CLSFLOWER, &cls_flower, false, in fl_hw_update_stats()
2684 struct tcf_block *block = tp->chain->block; in fl_reoffload() local
2725 err = tc_setup_cb_reoffload(block, tp, add, cb, in fl_reoffload()
2771 struct tcf_block *block = chain->block; in fl_hw_create_tmplt() local
2787 tc_setup_cb_call(block, TC_SETUP_CLSFLOWER, &cls_flower, false, true); in fl_hw_create_tmplt()
[all …]
A Dsch_ets.c51 struct tcf_block *block; member
367 return q->block; in ets_qdisc_tcf_block()
702 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in ets_qdisc_init()
732 tcf_block_put(q->block); in ets_qdisc_destroy()
A Dsch_fq_pie.c57 struct tcf_block *block; member
445 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in fq_pie_init()
556 tcf_block_put(q->block); in fq_pie_destroy()
A Dsch_sfq.c118 struct tcf_block *block; member
766 tcf_block_put(q->block); in sfq_destroy()
784 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in sfq_init()
894 return q->block; in sfq_tcf_block()
A Dsch_generic.c1605 struct tcf_block *block) in mini_qdisc_pair_block_init() argument
1607 miniqp->miniq1.block = block; in mini_qdisc_pair_block_init()
1608 miniqp->miniq2.block = block; in mini_qdisc_pair_block_init()
A Dsch_qfq.c180 struct tcf_block *block; member
580 return q->block; in qfq_tcf_block()
1445 err = tcf_block_get(&q->block, &q->filter_list, sch, extack); in qfq_init_qdisc()
1499 tcf_block_put(q->block); in qfq_destroy_qdisc()
A Dsch_api.c2084 struct Qdisc *q = tcf_block_q(tp->chain->block); in tcf_node_bind()
2105 struct tcf_block *block; in tc_bind_class_walker() local
2108 block = cops->tcf_block(q, cl, NULL); in tc_bind_class_walker()
2109 if (!block) in tc_bind_class_walker()
2111 for (chain = tcf_get_next_chain(block, NULL); in tc_bind_class_walker()
2113 chain = tcf_get_next_chain(block, chain)) { in tc_bind_class_walker()
/net/mac80211/
A Dmichael.c57 size_t block, blocks, left; in michael_mic() local
66 for (block = 0; block < blocks; block++) in michael_mic()
67 michael_block(&mctx, get_unaligned_le32(&data[block * 4])); in michael_mic()
/net/core/
A Dflow_offload.c289 struct flow_block_cb *flow_block_cb_lookup(struct flow_block *block, in flow_block_cb_lookup() argument
294 list_for_each_entry(block_cb, &block->cb_list, list) { in flow_block_cb_lookup()
364 block_cb = flow_block_cb_lookup(f->block, cb, cb_ident); in flow_block_cb_setup_simple()
/net/ceph/
A DKconfig17 to the rados block device (rbd).
/net/can/j1939/
A Dj1939-priv.h284 unsigned int block; member
A Dtransport.c923 len = min3(len, session->pkt.block, j1939_tp_block ?: 255); in j1939_session_tx_cts()
1441 else if (dat[1] > session->pkt.block /* 0xff for etp */) in j1939_xtp_rx_cts_one()
1637 session->pkt.block = 0xff; in j1939_xtp_rx_rts_session_new()
1644 session->pkt.block = min(dat[3], dat[4]); in j1939_xtp_rx_rts_session_new()
2027 session->pkt.block = skcb->addr.type == J1939_ETP ? 255 : in j1939_tp_send()

Completed in 67 milliseconds

12