Searched refs:exts (Results 1 - 24 of 24) sorted by relevance

/linux-master/arch/sh/lib/
H A Dmemchr.S18 exts.b r5,r5
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
/linux-master/net/sched/
H A Dcls_cgroup.c20 struct tcf_exts exts; member in struct:cls_cgroup_head
43 return tcf_exts_exec(skb, &head->exts, res);
62 tcf_exts_destroy(&head->exts);
64 tcf_exts_put_net(&head->exts);
102 err = tcf_exts_init(&new->exts, net, TCA_CGROUP_ACT, TCA_CGROUP_POLICE);
113 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &new->exts, flags,
124 tcf_exts_get_net(&head->exts);
129 tcf_exts_destroy(&new->exts);
141 if (tcf_exts_get_net(&head->exts))
184 if (tcf_exts_dump(skb, &head->exts) <
[all...]
H A Dcls_basic.c31 struct tcf_exts exts; member in struct:basic_filter
54 r = tcf_exts_exec(skb, &f->exts, res);
91 tcf_exts_destroy(&f->exts);
93 tcf_exts_put_net(&f->exts);
118 if (tcf_exts_get_net(&f->exts))
136 tcf_exts_get_net(&f->exts);
155 err = tcf_exts_validate(net, tp, tb, est, &f->exts, flags, extack);
200 err = tcf_exts_init(&fnew->exts, net, TCA_BASIC_ACT, TCA_BASIC_POLICE);
235 tcf_exts_get_net(&fold->exts);
244 tcf_exts_destroy(&fnew->exts);
[all...]
H A Dcls_matchall.c18 struct tcf_exts exts; member in struct:cls_mall_head
42 return tcf_exts_exec(skb, &head->exts, res);
52 tcf_exts_destroy(&head->exts);
53 tcf_exts_put_net(&head->exts);
94 cls_mall.rule = flow_rule_alloc(tcf_exts_num_actions(&head->exts));
102 err = tc_setup_offload_action(&cls_mall.rule->action, &head->exts,
140 if (tcf_exts_get_net(&head->exts))
196 err = tcf_exts_init(&new->exts, net, TCA_MATCHALL_ACT, 0);
211 &new->exts, flags, new->flags, extack);
241 tcf_exts_destroy(&new->exts);
[all...]
H A Dcls_fw.c39 struct tcf_exts exts; member in struct:fw_filter
69 r = tcf_exts_exec(skb, &f->exts, res);
117 tcf_exts_destroy(&f->exts);
118 tcf_exts_put_net(&f->exts);
147 if (tcf_exts_get_net(&f->exts))
176 tcf_exts_get_net(&f->exts);
210 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &f->exts, flags,
273 err = tcf_exts_init(&fnew->exts, net, TCA_FW_ACT,
282 tcf_exts_destroy(&fnew->exts);
296 tcf_exts_get_net(&f->exts);
[all...]
H A Dcls_route.c53 struct tcf_exts exts; member in struct:route4_filter
113 if (tcf_exts_has_actions(&f->exts)) { \
114 int r = tcf_exts_exec(skb, &f->exts, res); \
257 tcf_exts_destroy(&f->exts);
258 tcf_exts_put_net(&f->exts);
300 if (tcf_exts_get_net(&f->exts))
345 tcf_exts_get_net(&f->exts);
395 err = tcf_exts_validate(net, tp, tb, est, &f->exts, flags, extack);
514 err = tcf_exts_init(&f->exts, net, TCA_ROUTE4_ACT, TCA_ROUTE4_POLICE);
565 tcf_exts_get_net(&fold->exts);
[all...]
H A Dcls_api.c56 const struct tcf_exts *exts; member in struct:tcf_exts_miss_cookie_node
65 * action index in the exts tc actions array.
77 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp, argument
95 n->exts = exts;
103 exts->miss_cookie_node = n;
111 static void tcf_exts_miss_cookie_base_destroy(struct tcf_exts *exts) argument
115 if (!exts->miss_cookie_node)
118 n = exts->miss_cookie_node;
133 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struc argument
139 tcf_exts_miss_cookie_base_destroy(struct tcf_exts *exts) argument
1703 struct tcf_exts *exts; local
3264 tcf_exts_init_ex(struct tcf_exts *exts, struct net *net, int action, int police, struct tcf_proto *tp, u32 handle, bool use_action_miss) argument
3305 tcf_exts_destroy(struct tcf_exts *exts) argument
3319 tcf_exts_validate_ex(struct net *net, struct tcf_proto *tp, struct nlattr **tb, struct nlattr *rate_tlv, struct tcf_exts *exts, u32 flags, u32 fl_flags, struct netlink_ext_ack *extack) argument
3373 tcf_exts_validate(struct net *net, struct tcf_proto *tp, struct nlattr **tb, struct nlattr *rate_tlv, struct tcf_exts *exts, u32 flags, struct netlink_ext_ack *extack) argument
3394 tcf_exts_first_act(struct tcf_exts *exts) argument
3403 tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts) argument
3444 tcf_exts_terse_dump(struct sk_buff *skb, struct tcf_exts *exts) argument
3470 tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts) argument
3848 tc_setup_offload_action(struct flow_action *flow_action, const struct tcf_exts *exts, struct netlink_ext_ack *extack) argument
3868 tcf_exts_num_actions(struct tcf_exts *exts) argument
[all...]
H A Dcls_bpf.c45 struct tcf_exts exts; member in struct:cls_bpf_prog
130 ret = tcf_exts_exec(skb, &prog->exts, res);
160 cls_bpf.exts = &obj->exts;
235 cls_bpf.exts = &prog->exts;
271 tcf_exts_destroy(&prog->exts);
272 tcf_exts_put_net(&prog->exts);
297 if (tcf_exts_get_net(&prog->exts))
436 ret = tcf_exts_init(&prog->exts, ne
[all...]
H A Dcls_flow.c40 struct tcf_exts exts; member in struct:flow_filter
338 r = tcf_exts_exec(skb, &f->exts, res);
373 tcf_exts_destroy(&f->exts);
375 tcf_exts_put_net(&f->exts);
443 err = tcf_exts_init(&fnew->exts, net, TCA_FLOW_ACT, TCA_FLOW_POLICE);
447 err = tcf_exts_validate(net, tp, tb, tca[TCA_RATE], &fnew->exts, flags,
555 tcf_exts_get_net(&fold->exts);
561 tcf_exts_destroy(&fnew->exts);
575 tcf_exts_get_net(&f->exts);
601 if (tcf_exts_get_net(&f->exts))
[all...]
H A Dcls_u32.c48 struct tcf_exts exts; member in struct:tc_u_knode
183 r = tcf_exts_exec(skb, &n->exts, res);
397 tcf_exts_destroy(&n->exts);
405 tcf_exts_put_net(&n->exts);
469 tcf_exts_get_net(&key->exts);
559 cls_u32.knode.exts = &n->exts;
591 if (tcf_exts_get_net(&n->exts))
738 err = tcf_exts_validate_ex(net, tp, tb, est, &n->exts, flags,
848 if (tcf_exts_init(&new->exts, ne
[all...]
H A Dcls_flower.c118 struct tcf_exts exts; member in struct:cls_fl_filter
345 return tcf_exts_exec(skb, &f->exts, res);
424 tcf_exts_destroy(&f->exts);
425 tcf_exts_put_net(&f->exts);
461 cls_flower.rule = flow_rule_alloc(tcf_exts_num_actions(&f->exts));
473 err = tc_setup_offload_action(&cls_flower.rule->action, &f->exts,
511 tcf_exts_hw_stats_update(&f->exts, &cls_flower.stats, cls_flower.use_act_stats);
519 if (tcf_exts_get_net(&f->exts))
544 return f ? &f->exts : NULL;
2317 err = tcf_exts_init_ex(&fnew->exts, ne
[all...]
/linux-master/net/openvswitch/
H A Dvport-vxlan.c31 struct nlattr *exts; local
33 exts = nla_nest_start_noflag(skb, OVS_TUNNEL_ATTR_EXTENSION);
34 if (!exts)
41 nla_nest_end(skb, exts);
54 struct nlattr *exts[OVS_VXLAN_EXT_MAX + 1]; local
60 err = nla_parse_nested_deprecated(exts, OVS_VXLAN_EXT_MAX, attr,
65 if (exts[OVS_VXLAN_EXT_GBP])
/linux-master/include/net/
H A Dpkt_cls.h64 int tcf_exts_init_ex(struct tcf_exts *exts, struct net *net, int action,
232 static inline int tcf_exts_init(struct tcf_exts *exts, struct net *net, argument
236 return tcf_exts_init_ex(exts, net, action, police, NULL, 0, false);
246 static inline bool tcf_exts_get_net(struct tcf_exts *exts) argument
249 exts->net = maybe_get_net(exts->net);
250 if (exts->net)
251 netns_tracker_alloc(exts->net, &exts->ns_tracker, GFP_KERNEL);
252 return exts
258 tcf_exts_put_net(struct tcf_exts *exts) argument
283 tcf_exts_hw_stats_update(const struct tcf_exts *exts, struct flow_stats *stats, bool use_act_stats) argument
315 tcf_exts_has_actions(struct tcf_exts *exts) argument
336 tcf_exts_exec(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_result *res) argument
346 tcf_exts_exec_ex(struct sk_buff *skb, struct tcf_exts *exts, int act_index, struct tcf_result *res) argument
647 struct tcf_exts *exts; member in struct:tc_cls_u32_knode
787 struct tcf_exts *exts; member in struct:tc_cls_bpf_offload
[all...]
/linux-master/arch/arc/kernel/
H A Dintc-arcv2.c17 unsigned int pad:3, firq:1, prio:4, exts:8, irqs:8, ver:8; member in struct:bcr_irq_arcv2
19 unsigned int ver:8, irqs:8, exts:8, prio:4, firq:1, pad:3;
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32.c96 struct tcf_exts *exts; local
99 exts = cls->knode.exts;
100 if (!tcf_exts_has_actions(exts))
103 tcf_exts_for_each_action(i, a, exts) {
/linux-master/fs/efs/
H A Dinode.c208 efs_extent ext, *exts; local
292 exts = (efs_extent *) bh->b_data;
294 extent_copy(&(exts[ioffset]), &ext);
/linux-master/drivers/net/ethernet/netronome/nfp/abm/
H A Dcls.c27 if (knode->exts && tcf_exts_has_actions(knode->exts)) {
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c63 struct tcf_exts *exts; local
66 exts = cls->knode.exts;
67 if (!tcf_exts_has_actions(exts))
72 tcf_exts_for_each_action(i, act, exts) {
H A Dstmmac_selftests.c1090 struct tcf_exts *exts; local
1102 exts = kzalloc(sizeof(*exts), GFP_KERNEL);
1103 if (!exts) {
1123 cls_u32.knode.exts = exts;
1127 exts->nr_actions = nk;
1128 exts->actions = actions;
1158 kfree(exts);
/linux-master/drivers/counter/
H A Dcounter-sysfs.c804 const struct counter_comp *const exts,
817 ext = &exts[i];
802 counter_sysfs_exts_add(struct device *const dev, struct counter_attribute_group *const group, const struct counter_comp *const exts, const size_t num_ext, const enum counter_scope scope, void *const parent) argument
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c134 tcf_exts_has_actions(cls_bpf->exts)) {
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c9478 struct tcf_exts *exts, u64 *action, u8 *queue)
9483 if (!tcf_exts_has_actions(exts))
9486 tcf_exts_for_each_action(i, a, exts) {
9511 struct tcf_exts *exts, u64 *action, u8 *queue)
9722 err = parse_tc_actions(adapter, cls->knode.exts, &input->action,
9477 parse_tc_actions(struct ixgbe_adapter *adapter, struct tcf_exts *exts, u64 *action, u8 *queue) argument
9510 parse_tc_actions(struct ixgbe_adapter *adapter, struct tcf_exts *exts, u64 *action, u8 *queue) argument

Completed in 293 milliseconds