Lines Matching refs:block_index
915 u32 block_index; in tc_fill_qdisc() local
933 block_index = q->ops->ingress_block_get(q); in tc_fill_qdisc()
934 if (block_index && in tc_fill_qdisc()
935 nla_put_u32(skb, TCA_INGRESS_BLOCK, block_index)) in tc_fill_qdisc()
939 block_index = q->ops->egress_block_get(q); in tc_fill_qdisc()
940 if (block_index && in tc_fill_qdisc()
941 nla_put_u32(skb, TCA_EGRESS_BLOCK, block_index)) in tc_fill_qdisc()
1160 u32 block_index; in qdisc_block_indexes_set() local
1163 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1165 if (!block_index) { in qdisc_block_indexes_set()
1173 sch->ops->ingress_block_set(sch, block_index); in qdisc_block_indexes_set()
1176 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1178 if (!block_index) { in qdisc_block_indexes_set()
1186 sch->ops->egress_block_set(sch, block_index); in qdisc_block_indexes_set()