/linux-4.4.14/include/net/ |
D | pkt_cls.h | 71 static inline void tcf_exts_init(struct tcf_exts *exts, int action, int police) in tcf_exts_init() argument 74 exts->type = 0; in tcf_exts_init() 75 INIT_LIST_HEAD(&exts->actions); in tcf_exts_init() 77 exts->action = action; in tcf_exts_init() 78 exts->police = police; in tcf_exts_init() 89 tcf_exts_is_predicative(struct tcf_exts *exts) in tcf_exts_is_predicative() argument 92 return !list_empty(&exts->actions); in tcf_exts_is_predicative() 105 tcf_exts_is_available(struct tcf_exts *exts) in tcf_exts_is_available() argument 108 return tcf_exts_is_predicative(exts); in tcf_exts_is_available() 123 tcf_exts_exec(struct sk_buff *skb, struct tcf_exts *exts, in tcf_exts_exec() argument [all …]
|
/linux-4.4.14/net/sched/ |
D | cls_api.c | 509 void tcf_exts_destroy(struct tcf_exts *exts) in tcf_exts_destroy() argument 512 tcf_action_destroy(&exts->actions, TCA_ACT_UNBIND); in tcf_exts_destroy() 513 INIT_LIST_HEAD(&exts->actions); in tcf_exts_destroy() 519 struct nlattr *rate_tlv, struct tcf_exts *exts, bool ovr) in tcf_exts_validate() argument 525 INIT_LIST_HEAD(&exts->actions); in tcf_exts_validate() 526 if (exts->police && tb[exts->police]) { in tcf_exts_validate() 527 act = tcf_action_init_1(net, tb[exts->police], rate_tlv, in tcf_exts_validate() 533 act->type = exts->type = TCA_OLD_COMPAT; in tcf_exts_validate() 534 list_add(&act->list, &exts->actions); in tcf_exts_validate() 535 } else if (exts->action && tb[exts->action]) { in tcf_exts_validate() [all …]
|
D | cls_cgroup.c | 23 struct tcf_exts exts; member 43 return tcf_exts_exec(skb, &head->exts, res); in cls_cgroup_classify() 66 tcf_exts_destroy(&head->exts); in cls_cgroup_destroy_rcu() 96 tcf_exts_init(&new->exts, TCA_CGROUP_ACT, TCA_CGROUP_POLICE); in cls_cgroup_change() 115 tcf_exts_change(tp, &new->exts, &e); in cls_cgroup_change() 173 if (tcf_exts_dump(skb, &head->exts) < 0 || in cls_cgroup_dump() 179 if (tcf_exts_dump_stats(skb, &head->exts) < 0) in cls_cgroup_dump()
|
D | cls_bpf.c | 42 struct tcf_exts exts; member 126 ret = tcf_exts_exec(skb, &prog->exts, res); in cls_bpf_classify() 158 tcf_exts_destroy(&prog->exts); in cls_bpf_delete_prog() 310 struct tcf_exts exts; in cls_bpf_modify_existing() local 318 tcf_exts_init(&exts, TCA_BPF_ACT, TCA_BPF_POLICE); in cls_bpf_modify_existing() 319 ret = tcf_exts_validate(net, tp, tb, est, &exts, ovr); in cls_bpf_modify_existing() 327 tcf_exts_destroy(&exts); in cls_bpf_modify_existing() 339 tcf_exts_destroy(&exts); in cls_bpf_modify_existing() 348 tcf_exts_change(tp, &prog->exts, &exts); in cls_bpf_modify_existing() 395 tcf_exts_init(&prog->exts, TCA_BPF_ACT, TCA_BPF_POLICE); in cls_bpf_change() [all …]
|
D | cls_tcindex.c | 28 struct tcf_exts exts; member 56 return tcf_exts_is_predicative(&r->exts) || r->res.classid; in tcindex_filter_is_set() 104 return tcf_exts_exec(skb, &f->exts, res); in tcindex_classify() 142 tcf_exts_destroy(&r->exts); in tcindex_destroy_rexts() 149 tcf_exts_destroy(&f->result.exts); in tcindex_destroy_fexts() 225 tcf_exts_init(&r->exts, TCA_TCINDEX_ACT, TCA_TCINDEX_POLICE); in tcindex_filter_result_init() 278 tcf_exts_init(&cp->perfect[i].exts, in tcindex_set_parms() 347 tcf_exts_init(&cp->perfect[i].exts, in tcindex_set_parms() 386 tcf_exts_change(tp, &r->exts, &e); in tcindex_set_parms() 388 tcf_exts_change(tp, &cr.exts, &e); in tcindex_set_parms() [all …]
|
D | cls_basic.c | 32 struct tcf_exts exts; member 51 r = tcf_exts_exec(skb, &f->exts, res); in basic_classify() 94 tcf_exts_destroy(&f->exts); in basic_delete_filter() 155 tcf_exts_change(tp, &f->exts, &e); in basic_set_parms() 192 tcf_exts_init(&fnew->exts, TCA_BASIC_ACT, TCA_BASIC_POLICE); in basic_change() 270 if (tcf_exts_dump(skb, &f->exts) < 0 || in basic_dump() 276 if (tcf_exts_dump_stats(skb, &f->exts) < 0) in basic_dump()
|
D | cls_fw.c | 47 struct tcf_exts exts; member 78 r = tcf_exts_exec(skb, &f->exts, res); in fw_classify() 126 tcf_exts_destroy(&f->exts); in fw_delete_filter() 228 tcf_exts_change(tp, &f->exts, &e); in fw_change_attrs() 273 tcf_exts_init(&fnew->exts, TCA_FW_ACT, TCA_FW_POLICE); in fw_change() 316 tcf_exts_init(&f->exts, TCA_FW_ACT, TCA_FW_POLICE); in fw_change() 376 if (!f->res.classid && !tcf_exts_is_available(&f->exts)) in fw_dump() 398 if (tcf_exts_dump(skb, &f->exts) < 0) in fw_dump() 403 if (tcf_exts_dump_stats(skb, &f->exts) < 0) in fw_dump()
|
D | cls_route.c | 56 struct tcf_exts exts; member 116 if (tcf_exts_is_available(&f->exts)) { \ 117 int r = tcf_exts_exec(skb, &f->exts, res); \ 276 tcf_exts_destroy(&f->exts); in route4_delete_filter() 466 tcf_exts_change(tp, &f->exts, &e); in route4_set_parms() 506 tcf_exts_init(&f->exts, TCA_ROUTE4_ACT, TCA_ROUTE4_POLICE); in route4_change() 634 if (tcf_exts_dump(skb, &f->exts) < 0) in route4_dump() 639 if (tcf_exts_dump_stats(skb, &f->exts) < 0) in route4_dump()
|
D | cls_rsvp.h | 96 struct tcf_exts exts; member 124 int r = tcf_exts_exec(skb, &f->exts, res); \ 290 tcf_exts_destroy(&f->exts); in rsvp_delete_filter_rcu() 509 tcf_exts_init(&n->exts, TCA_RSVP_ACT, TCA_RSVP_POLICE); in rsvp_change() 516 tcf_exts_change(tp, &n->exts, &e); in rsvp_change() 533 tcf_exts_init(&f->exts, TCA_RSVP_ACT, TCA_RSVP_POLICE); in rsvp_change() 587 tcf_exts_change(tp, &f->exts, &e); in rsvp_change() 704 if (tcf_exts_dump(skb, &f->exts) < 0) in rsvp_dump() 709 if (tcf_exts_dump_stats(skb, &f->exts) < 0) in rsvp_dump()
|
D | cls_flow.c | 43 struct tcf_exts exts; member 333 r = tcf_exts_exec(skb, &f->exts, res); in flow_classify() 370 tcf_exts_destroy(&f->exts); in flow_destroy_filter() 435 tcf_exts_init(&fnew->exts, TCA_FLOW_ACT, TCA_FLOW_POLICE); in flow_change() 504 tcf_exts_change(tp, &fnew->exts, &e); in flow_change() 644 if (tcf_exts_dump(skb, &f->exts) < 0) in flow_dump() 653 if (tcf_exts_dump_stats(skb, &f->exts) < 0) in flow_dump()
|
D | cls_flower.c | 64 struct tcf_exts exts; member 141 return tcf_exts_exec(skb, &f->exts, res); in fl_classify() 164 tcf_exts_destroy(&f->exts); in fl_destroy_filter() 423 tcf_exts_change(tp, &f->exts, &e); in fl_set_parms() 478 tcf_exts_init(&fnew->exts, TCA_FLOWER_ACT, 0); in fl_change() 654 if (tcf_exts_dump(skb, &f->exts)) in fl_dump() 659 if (tcf_exts_dump_stats(skb, &f->exts) < 0) in fl_dump()
|
D | cls_u32.c | 51 struct tcf_exts exts; member 179 r = tcf_exts_exec(skb, &n->exts, res); in u32_classify() 360 tcf_exts_destroy(&n->exts); in u32_destroy_key() 641 tcf_exts_change(tp, &n->exts, &e); in u32_set_parms() 720 tcf_exts_init(&new->exts, TCA_U32_ACT, TCA_U32_POLICE); in u32_init_knode() 848 tcf_exts_init(&n->exts, TCA_U32_ACT, TCA_U32_POLICE); in u32_change() 1003 if (tcf_exts_dump(skb, &n->exts) < 0) in u32_dump() 1044 if (tcf_exts_dump_stats(skb, &n->exts) < 0) in u32_dump()
|
/linux-4.4.14/net/openvswitch/ |
D | vport-vxlan.c | 44 struct nlattr *exts; in vxlan_get_options() local 46 exts = nla_nest_start(skb, OVS_TUNNEL_ATTR_EXTENSION); in vxlan_get_options() 47 if (!exts) in vxlan_get_options() 54 nla_nest_end(skb, exts); in vxlan_get_options() 67 struct nlattr *exts[OVS_VXLAN_EXT_MAX + 1]; in vxlan_configure_exts() local 73 err = nla_parse_nested(exts, OVS_VXLAN_EXT_MAX, attr, exts_policy); in vxlan_configure_exts() 77 if (exts[OVS_VXLAN_EXT_GBP]) in vxlan_configure_exts()
|
/linux-4.4.14/arch/sh/lib/ |
D | ashiftrt.S | 97 exts.b r4,r4 115 exts.w r4,r4
|
D | memchr.S | 17 exts.b r5,r5
|
D | ashrsi3.S | 130 exts.b r0,r0 149 exts.w r0,r0
|
/linux-4.4.14/fs/efs/ |
D | inode.c | 205 efs_extent ext, *exts; in efs_map_block() local 289 exts = (efs_extent *) bh->b_data; in efs_map_block() 291 extent_copy(&(exts[ioffset]), &ext); in efs_map_block()
|