Home
last modified time | relevance | path

Searched refs:exts (Results 1 – 20 of 20) sorted by relevance

/linux/net/sched/
H A Dcls_cgroup.c20 struct tcf_exts exts; member
43 return tcf_exts_exec(skb, &head->exts, res); in cls_cgroup_classify()
62 tcf_exts_destroy(&head->exts); in __cls_cgroup_destroy()
64 tcf_exts_put_net(&head->exts); in __cls_cgroup_destroy()
102 err = tcf_exts_init(&new->exts, net, TCA_CGROUP_ACT, TCA_CGROUP_POLICE); in cls_cgroup_change()
113 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &new->exts, flags, in cls_cgroup_change()
124 tcf_exts_get_net(&head->exts); in cls_cgroup_change()
129 tcf_exts_destroy(&new->exts); in cls_cgroup_change()
141 if (tcf_exts_get_net(&head->exts)) in cls_cgroup_destroy()
184 if (tcf_exts_dump(skb, &head->exts) < 0 || in cls_cgroup_dump()
[all …]
H A Dcls_fw.c39 struct tcf_exts exts; member
69 r = tcf_exts_exec(skb, &f->exts, res); in fw_classify()
117 tcf_exts_destroy(&f->exts); in __fw_delete_filter()
118 tcf_exts_put_net(&f->exts); in __fw_delete_filter()
147 if (tcf_exts_get_net(&f->exts)) in fw_destroy()
176 tcf_exts_get_net(&f->exts); in fw_delete()
210 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &f->exts, flags, in fw_set_parms()
273 err = tcf_exts_init(&fnew->exts, net, TCA_FW_ACT, in fw_change()
282 tcf_exts_destroy(&fnew->exts); in fw_change()
296 tcf_exts_get_net(&f->exts); in fw_change()
[all …]
H A Dcls_basic.c31 struct tcf_exts exts; member
54 r = tcf_exts_exec(skb, &f->exts, res); in basic_classify()
91 tcf_exts_destroy(&f->exts); in __basic_delete_filter()
93 tcf_exts_put_net(&f->exts); in __basic_delete_filter()
118 if (tcf_exts_get_net(&f->exts)) in basic_destroy()
136 tcf_exts_get_net(&f->exts); in basic_delete()
155 err = tcf_exts_validate(net, tp, tb, est, &f->exts, flags, extack); in basic_set_parms()
200 err = tcf_exts_init(&fnew->exts, net, TCA_BASIC_ACT, TCA_BASIC_POLICE); in basic_change()
235 tcf_exts_get_net(&fold->exts); in basic_change()
244 tcf_exts_destroy(&fnew->exts); in basic_change()
[all …]
H A Dcls_api.c56 const struct tcf_exts *exts; member
77 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp, in tcf_exts_miss_cookie_base_alloc() argument
95 n->exts = exts; in tcf_exts_miss_cookie_base_alloc()
103 exts->miss_cookie_node = n; in tcf_exts_miss_cookie_base_alloc()
111 static void tcf_exts_miss_cookie_base_destroy(struct tcf_exts *exts) in tcf_exts_miss_cookie_base_destroy() argument
115 if (!exts->miss_cookie_node) in tcf_exts_miss_cookie_base_destroy()
118 n = exts->miss_cookie_node; in tcf_exts_miss_cookie_base_destroy()
133 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp, in tcf_exts_miss_cookie_base_alloc() argument
139 static void tcf_exts_miss_cookie_base_destroy(struct tcf_exts *exts) in tcf_exts_miss_cookie_base_destroy() argument
1733 struct tcf_exts *exts; in __tcf_classify() local
[all …]
H A Dcls_route.c53 struct tcf_exts exts; member
113 if (tcf_exts_has_actions(&f->exts)) { \
114 int r = tcf_exts_exec(skb, &f->exts, res); \
257 tcf_exts_destroy(&f->exts); in __route4_delete_filter()
258 tcf_exts_put_net(&f->exts); in __route4_delete_filter()
300 if (tcf_exts_get_net(&f->exts)) in route4_destroy()
345 tcf_exts_get_net(&f->exts); in route4_delete()
395 err = tcf_exts_validate(net, tp, tb, est, &f->exts, flags, extack); in route4_set_parms()
514 err = tcf_exts_init(&f->exts, net, TCA_ROUTE4_ACT, TCA_ROUTE4_POLICE); in route4_change()
565 tcf_exts_get_net(&fold->exts); in route4_change()
[all …]
H A Dcls_flow.c40 struct tcf_exts exts; member
338 r = tcf_exts_exec(skb, &f->exts, res); in flow_classify()
374 tcf_exts_destroy(&f->exts); in __flow_destroy_filter()
376 tcf_exts_put_net(&f->exts); in __flow_destroy_filter()
444 err = tcf_exts_init(&fnew->exts, net, TCA_FLOW_ACT, TCA_FLOW_POLICE); in flow_change()
448 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, flags, in flow_change()
556 tcf_exts_get_net(&fold->exts); in flow_change()
562 tcf_exts_destroy(&fnew->exts); in flow_change()
576 tcf_exts_get_net(&f->exts); in flow_delete()
602 if (tcf_exts_get_net(&f->exts)) in flow_destroy()
[all …]
H A Dcls_flower.c129 struct tcf_exts exts; member
356 return tcf_exts_exec(skb, &f->exts, res); in fl_classify()
435 tcf_exts_destroy(&f->exts); in __fl_destroy_filter()
436 tcf_exts_put_net(&f->exts); in __fl_destroy_filter()
472 cls_flower.rule = flow_rule_alloc(tcf_exts_num_actions(&f->exts)); in fl_hw_replace_filter()
484 err = tc_setup_offload_action(&cls_flower.rule->action, &f->exts, in fl_hw_replace_filter()
522 tcf_exts_hw_stats_update(&f->exts, &cls_flower.stats, cls_flower.use_act_stats); in fl_hw_update_stats()
530 if (tcf_exts_get_net(&f->exts)) in __fl_put()
555 return f ? &f->exts : NULL; in fl_get_exts()
2447 err = tcf_exts_init_ex(&fnew->exts, net, TCA_FLOWER_ACT, 0, tp, handle, in fl_change()
[all …]
/linux/net/openvswitch/
H A Dvport-vxlan.c31 struct nlattr *exts; in vxlan_get_options() local
33 exts = nla_nest_start_noflag(skb, OVS_TUNNEL_ATTR_EXTENSION); in vxlan_get_options()
34 if (!exts) in vxlan_get_options()
41 nla_nest_end(skb, exts); in vxlan_get_options()
54 struct nlattr *exts[OVS_VXLAN_EXT_MAX + 1]; in vxlan_configure_exts() local
60 err = nla_parse_nested_deprecated(exts, OVS_VXLAN_EXT_MAX, attr, in vxlan_configure_exts()
65 if (exts[OVS_VXLAN_EXT_GBP]) in vxlan_configure_exts()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32.c96 struct tcf_exts *exts; in fill_action_fields() local
99 exts = cls->knode.exts; in fill_action_fields()
100 if (!tcf_exts_has_actions(exts)) in fill_action_fields()
103 tcf_exts_for_each_action(i, a, exts) { in fill_action_fields()
/linux/arch/arc/kernel/
H A Dintc-arcv2.c17 unsigned int pad:3, firq:1, prio:4, exts:8, irqs:8, ver:8; member
19 unsigned int ver:8, irqs:8, exts:8, prio:4, firq:1, pad:3;
/linux/arch/sh/lib/
H A Dashiftrt.S76 exts.b r4,r4
94 exts.w r4,r4
H A Dashrsi3.S124 exts.b r0,r0
143 exts.w r0,r0
H A Dmemchr.S18 exts.b r5,r5
/linux/fs/efs/
H A Dinode.c208 efs_extent ext, *exts; in efs_map_block() local
292 exts = (efs_extent *) bh->b_data; in efs_map_block()
294 extent_copy(&(exts[ioffset]), &ext); in efs_map_block()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dcls.c27 if (knode->exts && tcf_exts_has_actions(knode->exts)) { in nfp_abm_u32_check_knode()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c1090 struct tcf_exts *exts; in stmmac_test_rxp() local
1102 exts = kzalloc(sizeof(*exts), GFP_KERNEL); in stmmac_test_rxp()
1103 if (!exts) { in stmmac_test_rxp()
1123 cls_u32.knode.exts = exts; in stmmac_test_rxp()
1127 exts->nr_actions = nk; in stmmac_test_rxp()
1128 exts->actions = actions; in stmmac_test_rxp()
1158 kfree(exts); in stmmac_test_rxp()
/linux/drivers/counter/
H A Dcounter-sysfs.c804 const struct counter_comp *const exts, in counter_sysfs_exts_add() argument
817 ext = &exts[i]; in counter_sysfs_exts_add()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c134 tcf_exts_has_actions(cls_bpf->exts)) { in nfp_bpf_setup_tc_block_cb()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c4150 struct tcf_exts *exts; in iavf_add_cls_u32() local
4207 exts = cls_u32->knode.exts; in iavf_add_cls_u32()
4209 tcf_exts_for_each_action(i, act, exts) { in iavf_add_cls_u32()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c9840 struct tcf_exts *exts, u64 *action, u8 *queue) in parse_tc_actions() argument
9845 if (!tcf_exts_has_actions(exts)) in parse_tc_actions()
9848 tcf_exts_for_each_action(i, a, exts) { in parse_tc_actions()
9873 struct tcf_exts *exts, u64 *action, u8 *queue) in parse_tc_actions() argument
10084 err = parse_tc_actions(adapter, cls->knode.exts, &input->action, in ixgbe_configure_clsu32()