Lines Matching refs:block_index
879 u32 block_index, in tcf_block_create() argument
899 block->index = block_index; in tcf_block_create()
907 static struct tcf_block *tcf_block_lookup(struct net *net, u32 block_index) in tcf_block_lookup() argument
911 return idr_find(&tn->idr, block_index); in tcf_block_lookup()
914 static struct tcf_block *tcf_block_refcnt_get(struct net *net, u32 block_index) in tcf_block_refcnt_get() argument
919 block = tcf_block_lookup(net, block_index); in tcf_block_refcnt_get()
1140 u32 block_index, in __tcf_block_find() argument
1146 block = tcf_block_refcnt_get(net, block_index); in __tcf_block_find()
1214 int ifindex, u32 block_index, in tcf_block_find() argument
1230 block = __tcf_block_find(net, *q, *cl, ifindex, block_index, extack); in tcf_block_find()
1327 if (ei->block_index) in tcf_block_get_ext()
1329 block = tcf_block_refcnt_get(net, ei->block_index); in tcf_block_get_ext()
1332 block = tcf_block_create(net, q, ei->block_index, extack); in tcf_block_get_ext()
3623 u32 block_index; in tcf_qevent_init() local
3629 err = tcf_qevent_parse_block_index(block_index_attr, &block_index, extack); in tcf_qevent_init()
3636 qe->info.block_index = block_index; in tcf_qevent_init()
3644 if (qe->info.block_index) in tcf_qevent_destroy()
3652 u32 block_index; in tcf_qevent_validate_change() local
3658 err = tcf_qevent_parse_block_index(block_index_attr, &block_index, extack); in tcf_qevent_validate_change()
3663 if (block_index != qe->info.block_index) { in tcf_qevent_validate_change()
3678 if (!qe->info.block_index) in tcf_qevent_handle()
3707 if (!qe->info.block_index) in tcf_qevent_dump()
3709 return nla_put_u32(skb, attr_name, qe->info.block_index); in tcf_qevent_dump()