Home
last modified time | relevance | path

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

/linux/net/sched/
H A Dcls_api.c249 tcf_proto_lookup_ops(const char *kind, bool rtnl_held, in tcf_proto_lookup_ops() argument
258 if (rtnl_held) in tcf_proto_lookup_ops()
261 if (rtnl_held) in tcf_proto_lookup_ops()
374 bool rtnl_held, in tcf_proto_create() argument
384 tp->ops = tcf_proto_lookup_ops(kind, rtnl_held, extack); in tcf_proto_create()
443 static void tcf_proto_destroy(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_destroy() argument
446 tp->ops->destroy(tp, rtnl_held, extack); in tcf_proto_destroy()
455 static void tcf_proto_put(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_put() argument
459 tcf_proto_destroy(tp, rtnl_held, true, extack); in tcf_proto_put()
749 static void tcf_chain_flush(struct tcf_chain *chain, bool rtnl_held) in tcf_chain_flush() argument
[all …]
H A Dcls_cgroup.c134 static void cls_cgroup_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_cgroup_destroy() argument
149 bool rtnl_held, struct netlink_ext_ack *extack) in cls_cgroup_delete() argument
155 bool rtnl_held) in cls_cgroup_walk() argument
173 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in cls_cgroup_dump() argument
H A Dcls_basic.c108 static void basic_destroy(struct tcf_proto *tp, bool rtnl_held, in basic_destroy() argument
128 bool rtnl_held, struct netlink_ext_ack *extack) in basic_delete() argument
250 bool rtnl_held) in basic_walk() argument
270 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in basic_dump() argument
H A Dcls_matchall.c127 static void mall_destroy(struct tcf_proto *tp, bool rtnl_held, in mall_destroy() argument
250 bool rtnl_held, struct netlink_ext_ack *extack) in mall_delete() argument
260 bool rtnl_held) in mall_walk() argument
329 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in mall_dump() argument
H A Dcls_fw.c132 static void fw_destroy(struct tcf_proto *tp, bool rtnl_held, in fw_destroy() argument
157 bool rtnl_held, struct netlink_ext_ack *extack) in fw_delete() argument
346 bool rtnl_held) in fw_walk() argument
369 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in fw_dump() argument
H A Dcls_route.c277 static void route4_destroy(struct tcf_proto *tp, bool rtnl_held, in route4_destroy() argument
314 bool rtnl_held, struct netlink_ext_ack *extack) in route4_delete() argument
578 bool rtnl_held) in route4_walk() argument
605 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in route4_dump() argument
H A Dcls_flower.c449 bool rtnl_held, struct netlink_ext_ack *extack) in fl_hw_destroy_filter() argument
459 &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_destroy_filter()
464 struct cls_fl_filter *f, bool rtnl_held, in fl_hw_replace_filter() argument
493 skip_sw, &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_replace_filter()
498 fl_hw_destroy_filter(tp, f, rtnl_held, NULL); in fl_hw_replace_filter()
509 bool rtnl_held) in fl_hw_update_stats() argument
520 rtnl_held); in fl_hw_update_stats()
559 bool *last, bool rtnl_held, in __fl_delete() argument
581 fl_hw_destroy_filter(tp, f, rtnl_held, extack); in __fl_delete()
599 static void fl_destroy(struct tcf_proto *tp, bool rtnl_held, in fl_destroy() argument
[all …]
H A 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()
437 static int load_metalist(struct nlattr **tb, bool rtnl_held) in load_metalist() argument
447 rc = load_metaops_and_vet(i, val, len, rtnl_held); in load_metalist()
H A Dcls_bpf.c302 bool rtnl_held, struct netlink_ext_ack *extack) in cls_bpf_delete() argument
311 static void cls_bpf_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_bpf_destroy() argument
578 struct sk_buff *skb, struct tcmsg *tm, bool rtnl_held) in cls_bpf_dump() argument
639 bool rtnl_held) in cls_bpf_walk() argument
H A Dcls_flow.c570 bool rtnl_held, struct netlink_ext_ack *extack) in flow_delete() argument
594 static void flow_destroy(struct tcf_proto *tp, bool rtnl_held, in flow_destroy() argument
622 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in flow_dump() argument
683 bool rtnl_held) in flow_walk() argument
H A Dcls_u32.c634 static void u32_destroy(struct tcf_proto *tp, bool rtnl_held, in u32_destroy() argument
669 bool rtnl_held, struct netlink_ext_ack *extack) in u32_delete() argument
1203 bool rtnl_held) in u32_walk() argument
1343 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in u32_dump() argument
H A Dact_api.c1369 bool rtnl_held = !(flags & TCA_ACT_FLAGS_NO_RTNL); in tc_action_load_ops() local
1371 if (rtnl_held) in tc_action_load_ops()
1374 if (rtnl_held) in tc_action_load_ops()
/linux/include/net/
H A Dfib_rules.h203 struct netlink_ext_ack *extack, bool rtnl_held);
205 struct netlink_ext_ack *extack, bool rtnl_held);
H A Dpkt_cls.h596 void *type_data, bool err_stop, bool rtnl_held);
599 u32 *flags, unsigned int *in_hw_count, bool rtnl_held);
604 bool rtnl_held);
607 u32 *flags, unsigned int *in_hw_count, bool rtnl_held);
H A Dsch_generic.h362 void (*destroy)(struct tcf_proto *tp, bool rtnl_held,
373 bool *last, bool rtnl_held,
377 struct tcf_walker *arg, bool rtnl_held);
406 struct tcmsg *t, bool rtnl_held);
H A Dip_fib.h272 bool rtnl_held; member
/linux/net/core/
H A Dfib_rules.c874 struct netlink_ext_ack *extack, bool rtnl_held) in fib_newrule() argument
907 if (!rtnl_held) in fib_newrule()
977 if (!rtnl_held) in fib_newrule()
987 if (!rtnl_held) in fib_newrule()
1003 struct netlink_ext_ack *extack, bool rtnl_held) in fib_delrule() argument
1036 if (!rtnl_held) in fib_delrule()
1095 if (!rtnl_held) in fib_delrule()
1106 if (!rtnl_held) in fib_delrule()
/linux/net/ipv6/
H A Dip6_fib.c633 .filter.rtnl_held = false, in inet6_dump_fib()
H A Dip6mr.c2745 .rtnl_held = true, in ip6mr_rtm_dumproute()
/linux/net/mpls/
H A Daf_mpls.c2216 .rtnl_held = false, in mpls_dump_routes()