Searched refs:block_index (Results 1 – 3 of 3) sorted by relevance
/net/sched/ |
D | sch_ingress.c | 62 static void ingress_ingress_block_set(struct Qdisc *sch, u32 block_index) in ingress_ingress_block_set() argument 66 q->block_info.block_index = block_index; in ingress_ingress_block_set() 73 return q->block_info.block_index; in ingress_ingress_block_get() 193 static void clsact_ingress_block_set(struct Qdisc *sch, u32 block_index) in clsact_ingress_block_set() argument 197 q->ingress_block_info.block_index = block_index; in clsact_ingress_block_set() 200 static void clsact_egress_block_set(struct Qdisc *sch, u32 block_index) in clsact_egress_block_set() argument 204 q->egress_block_info.block_index = block_index; in clsact_egress_block_set() 211 return q->ingress_block_info.block_index; in clsact_ingress_block_get() 218 return q->egress_block_info.block_index; in clsact_egress_block_get()
|
D | cls_api.c | 861 u32 block_index, in tcf_block_create() argument 881 block->index = block_index; in tcf_block_create() 889 static struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index) in tcf_block_lookup() argument 893 return idr_find(&tn->idr, block_index); in tcf_block_lookup() 896 static struct tcf_block *tcf_block_refcnt_get(struct net *net, u32 block_index) in tcf_block_refcnt_get() argument 901 block = tcf_block_lookup(net, block_index); in tcf_block_refcnt_get() 1122 u32 block_index, in __tcf_block_find() argument 1128 block = tcf_block_refcnt_get(net, block_index); in __tcf_block_find() 1196 int ifindex, u32 block_index, in tcf_block_find() argument 1212 block = __tcf_block_find(net, *q, *cl, ifindex, block_index, extack); in tcf_block_find() [all …]
|
D | sch_api.c | 894 u32 block_index; in tc_fill_qdisc() local 912 block_index = q->ops->ingress_block_get(q); in tc_fill_qdisc() 913 if (block_index && in tc_fill_qdisc() 914 nla_put_u32(skb, TCA_INGRESS_BLOCK, block_index)) in tc_fill_qdisc() 918 block_index = q->ops->egress_block_get(q); in tc_fill_qdisc() 919 if (block_index && in tc_fill_qdisc() 920 nla_put_u32(skb, TCA_EGRESS_BLOCK, block_index)) in tc_fill_qdisc() 1133 u32 block_index; in qdisc_block_indexes_set() local 1136 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set() 1138 if (!block_index) { in qdisc_block_indexes_set() [all …]
|