Home
last modified time | relevance | path

Searched refs:rtnl_held (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.4/net/sched/
Dcls_api.c128 tcf_proto_lookup_ops(const char *kind, bool rtnl_held, in tcf_proto_lookup_ops() argument
137 if (rtnl_held) in tcf_proto_lookup_ops()
140 if (rtnl_held) in tcf_proto_lookup_ops()
252 bool rtnl_held, in tcf_proto_create() argument
262 tp->ops = tcf_proto_lookup_ops(kind, rtnl_held, extack); in tcf_proto_create()
293 static void tcf_proto_destroy(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_destroy() argument
296 tp->ops->destroy(tp, rtnl_held, extack); in tcf_proto_destroy()
304 static void tcf_proto_put(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_put() argument
308 tcf_proto_destroy(tp, rtnl_held, true, extack); in tcf_proto_put()
321 static bool tcf_proto_is_empty(struct tcf_proto *tp, bool rtnl_held) in tcf_proto_is_empty() argument
[all …]
Dcls_cgroup.c79 void **arg, bool ovr, bool rtnl_held, in cls_cgroup_change() argument
132 static void cls_cgroup_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_cgroup_destroy() argument
147 bool rtnl_held, struct netlink_ext_ack *extack) in cls_cgroup_delete() argument
153 bool rtnl_held) in cls_cgroup_walk() argument
171 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in cls_cgroup_dump() argument
Dcls_basic.c106 static void basic_destroy(struct tcf_proto *tp, bool rtnl_held, in basic_destroy() argument
126 bool rtnl_held, struct netlink_ext_ack *extack) in basic_delete() argument
173 bool rtnl_held, struct netlink_ext_ack *extack) in basic_change() argument
248 bool rtnl_held) in basic_walk() argument
275 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in basic_dump() argument
Dcls_matchall.c128 static void mall_destroy(struct tcf_proto *tp, bool rtnl_held, in mall_destroy() argument
185 void **arg, bool ovr, bool rtnl_held, in mall_change() argument
259 bool rtnl_held, struct netlink_ext_ack *extack) in mall_delete() argument
269 bool rtnl_held) in mall_walk() argument
344 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in mall_dump() argument
Dcls_fw.c130 static void fw_destroy(struct tcf_proto *tp, bool rtnl_held, in fw_destroy() argument
155 bool rtnl_held, struct netlink_ext_ack *extack) in fw_delete() argument
240 bool ovr, bool rtnl_held, in fw_change() argument
346 bool rtnl_held) in fw_walk() argument
376 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in fw_dump() argument
Dcls_flower.c410 bool rtnl_held, struct netlink_ext_ack *extack) in fl_hw_destroy_filter() argument
420 &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_destroy_filter()
425 struct cls_fl_filter *f, bool rtnl_held, in fl_hw_replace_filter() argument
446 rtnl_held); in fl_hw_replace_filter()
457 skip_sw, &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_replace_filter()
462 fl_hw_destroy_filter(tp, f, rtnl_held, NULL); in fl_hw_replace_filter()
473 bool rtnl_held) in fl_hw_update_stats() argument
484 rtnl_held); in fl_hw_update_stats()
516 bool *last, bool rtnl_held, in __fl_delete() argument
538 fl_hw_destroy_filter(tp, f, rtnl_held, extack); in __fl_delete()
[all …]
Dcls_tcindex.c177 bool rtnl_held, struct netlink_ext_ack *extack) in tcindex_delete() argument
499 bool rtnl_held, struct netlink_ext_ack *extack) in tcindex_change() argument
524 bool rtnl_held) in tcindex_walk() argument
560 static void tcindex_destroy(struct tcf_proto *tp, bool rtnl_held, in tcindex_destroy() argument
587 tcindex_delete(tp, &f->result, &last, rtnl_held, NULL); in tcindex_destroy()
596 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in tcindex_dump() argument
Dact_ife.c265 static int load_metaops_and_vet(u32 metaid, void *val, int len, bool rtnl_held) in load_metaops_and_vet() argument
273 if (rtnl_held) in load_metaops_and_vet()
276 if (rtnl_held) in load_metaops_and_vet()
440 bool exists, bool rtnl_held) in populate_metalist() argument
452 rc = load_metaops_and_vet(i, val, len, rtnl_held); in populate_metalist()
467 int ovr, int bind, bool rtnl_held, in tcf_ife_init() argument
578 err = populate_metalist(ife, tb2, exists, rtnl_held); in tcf_ife_init()
Dcls_route.c275 static void route4_destroy(struct tcf_proto *tp, bool rtnl_held, in route4_destroy() argument
312 bool rtnl_held, struct netlink_ext_ack *extack) in route4_delete() argument
468 bool rtnl_held, struct netlink_ext_ack *extack) in route4_change() argument
562 bool rtnl_held) in route4_walk() argument
596 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in route4_dump() argument
Dcls_bpf.c303 bool rtnl_held, struct netlink_ext_ack *extack) in cls_bpf_delete() argument
312 static void cls_bpf_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_bpf_destroy() argument
461 void **arg, bool ovr, bool rtnl_held, in cls_bpf_change() argument
582 struct sk_buff *skb, struct tcmsg *tm, bool rtnl_held) in cls_bpf_dump() argument
643 bool rtnl_held) in cls_bpf_walk() argument
Dcls_flow.c390 void **arg, bool ovr, bool rtnl_held, in flow_change() argument
567 bool rtnl_held, struct netlink_ext_ack *extack) in flow_delete() argument
591 static void flow_destroy(struct tcf_proto *tp, bool rtnl_held, in flow_destroy() argument
619 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in flow_dump() argument
680 bool rtnl_held) in flow_walk() argument
Dcls_rsvp.h311 static void rsvp_destroy(struct tcf_proto *tp, bool rtnl_held, in rsvp_destroy() argument
341 bool rtnl_held, struct netlink_ext_ack *extack) in rsvp_delete() argument
477 void **arg, bool ovr, bool rtnl_held, in rsvp_change() argument
659 bool rtnl_held) in rsvp_walk() argument
693 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in rsvp_dump() argument
Dact_api.c845 bool rtnl_held, in tcf_action_init_1() argument
890 if (rtnl_held) in tcf_action_init_1()
893 if (rtnl_held) in tcf_action_init_1()
917 rtnl_held, tp, extack); in tcf_action_init_1()
919 err = a_o->init(net, nla, est, &a, ovr, bind, rtnl_held, in tcf_action_init_1()
958 bool rtnl_held, struct netlink_ext_ack *extack) in tcf_action_init() argument
973 rtnl_held, extack); in tcf_action_init()
Dcls_u32.c619 static void u32_destroy(struct tcf_proto *tp, bool rtnl_held, in u32_destroy() argument
654 bool rtnl_held, struct netlink_ext_ack *extack) in u32_delete() argument
845 struct nlattr **tca, void **arg, bool ovr, bool rtnl_held, in u32_change() argument
1112 bool rtnl_held) in u32_walk() argument
1267 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in u32_dump() argument
Dact_simple.c88 int ovr, int bind, bool rtnl_held, in tcf_simp_init() argument
Dact_connmark.c96 int ovr, int bind, bool rtnl_held, in tcf_connmark_init() argument
Dact_gact.c55 int ovr, int bind, bool rtnl_held, in tcf_gact_init() argument
Dact_sample.c38 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_sample_init() argument
Dact_skbmod.c81 int ovr, int bind, bool rtnl_held, in tcf_skbmod_init() argument
Dact_vlan.c104 int ovr, int bind, bool rtnl_held, in tcf_vlan_init() argument
Dact_nat.c38 bool rtnl_held, struct tcf_proto *tp, in tcf_nat_init() argument
Dact_skbedit.c88 int ovr, int bind, bool rtnl_held, in tcf_skbedit_init() argument
/Linux-v5.4/include/net/
Dpkt_cls.h45 struct tcf_proto *tp, bool rtnl_held);
302 struct tcf_exts *exts, bool ovr, bool rtnl_held,
507 const struct tcf_exts *exts, bool rtnl_held);
511 void *type_data, bool err_stop, bool rtnl_held);
514 u32 *flags, unsigned int *in_hw_count, bool rtnl_held);
519 bool rtnl_held);
522 u32 *flags, unsigned int *in_hw_count, bool rtnl_held);
Dact_api.h96 int bind, bool rtnl_held, struct tcf_proto *tp,
179 bool rtnl_held, struct netlink_ext_ack *extack);
183 bool rtnl_held,
Dsch_generic.h298 void (*destroy)(struct tcf_proto *tp, bool rtnl_held,
309 bool *last, bool rtnl_held,
312 struct tcf_walker *arg, bool rtnl_held);

12