Searched refs:block_index (Results 1 – 3 of 3) sorted by relevance
/net/sched/ |
D | sch_ingress.c | 63 static void ingress_ingress_block_set(struct Qdisc *sch, u32 block_index) in ingress_ingress_block_set() argument 67 q->block_info.block_index = block_index; in ingress_ingress_block_set() 74 return q->block_info.block_index; in ingress_ingress_block_get() 213 static void clsact_ingress_block_set(struct Qdisc *sch, u32 block_index) in clsact_ingress_block_set() argument 217 q->ingress_block_info.block_index = block_index; in clsact_ingress_block_set() 220 static void clsact_egress_block_set(struct Qdisc *sch, u32 block_index) in clsact_egress_block_set() argument 224 q->egress_block_info.block_index = block_index; in clsact_egress_block_set() 231 return q->ingress_block_info.block_index; in clsact_ingress_block_get() 238 return q->egress_block_info.block_index; in clsact_egress_block_get()
|
D | cls_api.c | 985 u32 block_index, in tcf_block_create() argument 1005 block->index = block_index; in tcf_block_create() 1013 static struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index) in tcf_block_lookup() argument 1017 return idr_find(&tn->idr, block_index); in tcf_block_lookup() 1020 static struct tcf_block *tcf_block_refcnt_get(struct net *net, u32 block_index) in tcf_block_refcnt_get() argument 1025 block = tcf_block_lookup(net, block_index); in tcf_block_refcnt_get() 1246 u32 block_index, in __tcf_block_find() argument 1252 block = tcf_block_refcnt_get(net, block_index); in __tcf_block_find() 1320 int ifindex, u32 block_index, in tcf_block_find() argument 1336 block = __tcf_block_find(net, *q, *cl, ifindex, block_index, extack); in tcf_block_find() [all …]
|
D | sch_api.c | 923 u32 block_index; in tc_fill_qdisc() local 941 block_index = q->ops->ingress_block_get(q); in tc_fill_qdisc() 942 if (block_index && in tc_fill_qdisc() 943 nla_put_u32(skb, TCA_INGRESS_BLOCK, block_index)) in tc_fill_qdisc() 947 block_index = q->ops->egress_block_get(q); in tc_fill_qdisc() 948 if (block_index && in tc_fill_qdisc() 949 nla_put_u32(skb, TCA_EGRESS_BLOCK, block_index)) in tc_fill_qdisc() 1186 u32 block_index; in qdisc_block_indexes_set() local 1189 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set() 1191 if (!block_index) { in qdisc_block_indexes_set() [all …]
|