Home
last modified time | relevance | path

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

12

/openbmc/linux/include/net/
H A Dpkt_cls.h247 exts->net = maybe_get_net(exts->net); in tcf_exts_get_net()
248 if (exts->net) in tcf_exts_get_net()
249 netns_tracker_alloc(exts->net, &exts->ns_tracker, GFP_KERNEL); in tcf_exts_get_net()
250 return exts->net != NULL; in tcf_exts_get_net()
259 if (exts->net) in tcf_exts_put_net()
260 put_net_track(exts->net, &exts->ns_tracker); in tcf_exts_put_net()
316 return exts->nr_actions; in tcf_exts_has_actions()
338 return tcf_action_exec(skb, exts->actions, exts->nr_actions, res); in tcf_exts_exec()
574 const struct tcf_exts *exts,
645 struct tcf_exts *exts; member
[all …]
/openbmc/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_matchall.c18 struct tcf_exts exts; member
42 return tcf_exts_exec(skb, &head->exts, res); in mall_classify()
52 tcf_exts_destroy(&head->exts); in __mall_destroy()
53 tcf_exts_put_net(&head->exts); in __mall_destroy()
102 err = tc_setup_offload_action(&cls_mall.rule->action, &head->exts, in mall_replace_hw_filter()
140 if (tcf_exts_get_net(&head->exts)) in mall_destroy()
196 err = tcf_exts_init(&new->exts, net, TCA_MATCHALL_ACT, 0); in mall_change()
211 &new->exts, flags, new->flags, extack); in mall_change()
241 tcf_exts_destroy(&new->exts); in mall_change()
364 if (tcf_exts_dump(skb, &head->exts)) in mall_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()
282 tcf_exts_destroy(&fnew->exts); in fw_change()
296 tcf_exts_get_net(&f->exts); in fw_change()
340 tcf_exts_destroy(&f->exts); in fw_change()
400 if (tcf_exts_dump(skb, &f->exts) < 0) in fw_dump()
[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()
235 tcf_exts_get_net(&fold->exts); in basic_change()
244 tcf_exts_destroy(&fnew->exts); in basic_change()
302 if (tcf_exts_dump(skb, &f->exts) < 0 || in basic_dump()
[all …]
H A Dcls_bpf.c45 struct tcf_exts exts; member
130 ret = tcf_exts_exec(skb, &prog->exts, res); in cls_bpf_classify()
160 cls_bpf.exts = &obj->exts; in cls_bpf_offload_cmd()
235 cls_bpf.exts = &prog->exts; in cls_bpf_offload_update_stats()
271 tcf_exts_destroy(&prog->exts); in __cls_bpf_delete_prog()
272 tcf_exts_put_net(&prog->exts); in __cls_bpf_delete_prog()
297 if (tcf_exts_get_net(&prog->exts)) in __cls_bpf_delete()
516 tcf_exts_get_net(&oldprog->exts); in cls_bpf_change()
533 tcf_exts_destroy(&prog->exts); in cls_bpf_change()
607 if (tcf_exts_dump(skb, &prog->exts) < 0) in cls_bpf_dump()
[all …]
H A Dcls_api.c95 n->exts = exts; in tcf_exts_miss_cookie_base_alloc()
1694 if (unlikely(!exts || n->exts != exts)) in __tcf_classify()
3221 exts->type = 0; in tcf_exts_init_ex()
3227 exts->net = net; in tcf_exts_init_ex()
3279 if (exts->police && tb[exts->police]) { in tcf_exts_validate_ex()
3299 } else if (exts->action && tb[exts->action]) { in tcf_exts_validate_ex()
3313 if ((exts->action && tb[exts->action]) || in tcf_exts_validate_ex()
3314 (exts->police && tb[exts->police])) { in tcf_exts_validate_ex()
3359 if (exts->action && tcf_exts_has_actions(exts)) { in tcf_exts_dump()
3400 if (!exts->action || !tcf_exts_has_actions(exts)) in tcf_exts_terse_dump()
[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()
560 tcf_exts_get_net(&fold->exts); in route4_change()
567 tcf_exts_destroy(&f->exts); in route4_change()
633 if (tcf_exts_dump(skb, &f->exts) < 0) in route4_dump()
[all …]
H A Dcls_flow.c40 struct tcf_exts exts; member
338 r = tcf_exts_exec(skb, &f->exts, res); in flow_classify()
373 tcf_exts_destroy(&f->exts); in __flow_destroy_filter()
375 tcf_exts_put_net(&f->exts); in __flow_destroy_filter()
443 err = tcf_exts_init(&fnew->exts, net, TCA_FLOW_ACT, TCA_FLOW_POLICE); in flow_change()
555 tcf_exts_get_net(&fold->exts); in flow_change()
561 tcf_exts_destroy(&fnew->exts); in flow_change()
575 tcf_exts_get_net(&f->exts); in flow_delete()
601 if (tcf_exts_get_net(&f->exts)) in flow_destroy()
662 if (tcf_exts_dump(skb, &f->exts) < 0) in flow_dump()
[all …]
H A Dcls_u32.c48 struct tcf_exts exts; member
183 r = tcf_exts_exec(skb, &n->exts, res); in u32_classify()
395 tcf_exts_destroy(&n->exts); in __u32_destroy_key()
403 tcf_exts_put_net(&n->exts); in u32_destroy_key()
467 tcf_exts_get_net(&key->exts); in u32_delete_key()
557 cls_u32.knode.exts = &n->exts; in u32_replace_hw_knode()
589 if (tcf_exts_get_net(&n->exts)) in u32_clear_hnode()
946 tcf_exts_get_net(&n->exts); in u32_change()
1178 tcf_exts_destroy(&n->exts); in u32_change()
1264 cls_u32.knode.exts = &n->exts; in u32_reoffload_knode()
[all …]
H A Dcls_flower.c118 struct tcf_exts exts; member
345 return tcf_exts_exec(skb, &f->exts, res); in fl_classify()
424 tcf_exts_destroy(&f->exts); in __fl_destroy_filter()
425 tcf_exts_put_net(&f->exts); in __fl_destroy_filter()
519 if (tcf_exts_get_net(&f->exts)) in __fl_put()
544 return f ? &f->exts : NULL; in fl_get_exts()
2323 &fnew->exts, flags, fnew->flags, in fl_change()
2565 flow_rule_alloc(tcf_exts_num_actions(&f->exts)); in fl_reoffload()
3534 if (tcf_exts_dump(skb, &f->exts)) in fl_dump()
3539 if (tcf_exts_dump_stats(skb, &f->exts) < 0) in fl_dump()
[all …]
/openbmc/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()
/openbmc/qemu/tests/qemu-iotests/
H A D03662 $PYTHON qcow2.py "$TEST_IMG" dump-header-exts
111 $PYTHON qcow2.py "$TEST_IMG" dump-header-exts
119 $PYTHON qcow2.py "$TEST_IMG" dump-header-exts
/openbmc/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;
/openbmc/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()
/openbmc/linux/arch/sh/lib/
H A Dashiftrt.S76 exts.b r4,r4
94 exts.w r4,r4
H A Dmemchr.S18 exts.b r5,r5
H A Dashrsi3.S124 exts.b r0,r0
143 exts.w r0,r0
/openbmc/u-boot/arch/sh/lib/
H A Dashiftrt.S75 exts.b r4,r4
93 exts.w r4,r4
H A Dashrsi3.S108 exts.b r0,r0
127 exts.w r0,r0
/openbmc/linux/fs/efs/
H A Dinode.c209 efs_extent ext, *exts; in efs_map_block() local
293 exts = (efs_extent *) bh->b_data; in efs_map_block()
295 extent_copy(&(exts[ioffset]), &ext); in efs_map_block()
/openbmc/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()
/openbmc/qemu/hw/display/
H A Dedid-generate.c554 uint32_t exts; in qemu_edid_size() local
562 exts = edid[126]; in qemu_edid_size()
563 return 128 * (exts + 1); in qemu_edid_size()
/openbmc/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()
H A Dstmmac_tc.c63 struct tcf_exts *exts; in tc_fill_actions() local
66 exts = cls->knode.exts; in tc_fill_actions()
67 if (!tcf_exts_has_actions(exts)) in tc_fill_actions()
72 tcf_exts_for_each_action(i, act, exts) { in tc_fill_actions()

12