Home
last modified time | relevance | path

Searched refs:rtnl_held (Results 1 – 16 of 16) 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
454 bool not_lockless = !rtnl_held && in tcf_proto_destroy()
459 tp->ops->destroy(tp, rtnl_held || not_lockless, extack); in tcf_proto_destroy()
470 static void tcf_proto_put(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_put() argument
474 tcf_proto_destroy(tp, rtnl_held, true, extack); in tcf_proto_put()
[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.c136 static void fw_destroy(struct tcf_proto *tp, bool rtnl_held, in fw_destroy() argument
161 bool rtnl_held, struct netlink_ext_ack *extack) in fw_delete() argument
360 bool rtnl_held) in fw_walk() argument
383 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in fw_dump() argument
H A Dcls_route.c282 static void route4_destroy(struct tcf_proto *tp, bool rtnl_held, in route4_destroy() argument
331 bool rtnl_held, struct netlink_ext_ack *extack) in route4_delete() argument
595 bool rtnl_held) in route4_walk() argument
622 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in route4_dump() argument
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_flower.c445 bool rtnl_held, struct netlink_ext_ack *extack) in fl_destroy_filter_work()
455 &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_destroy_filter()
460 struct cls_fl_filter *f, bool rtnl_held, in fl_hw_destroy_filter()
489 skip_sw, &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_replace_filter()
494 fl_hw_destroy_filter(tp, f, rtnl_held, NULL); in fl_hw_replace_filter()
505 bool rtnl_held) in fl_hw_replace_filter()
516 rtnl_held); in fl_hw_update_stats()
555 bool *last, bool rtnl_held, in fl_get_exts()
577 fl_hw_destroy_filter(tp, f, rtnl_held, extack); in __fl_delete()
595 static void fl_destroy(struct tcf_proto *tp, bool rtnl_held, in fl_destroy_sleepable()
449 fl_hw_destroy_filter(struct tcf_proto * tp,struct cls_fl_filter * f,bool rtnl_held,struct netlink_ext_ack * extack) fl_hw_destroy_filter() argument
464 fl_hw_replace_filter(struct tcf_proto * tp,struct cls_fl_filter * f,bool rtnl_held,struct netlink_ext_ack * extack) fl_hw_replace_filter() argument
509 fl_hw_update_stats(struct tcf_proto * tp,struct cls_fl_filter * f,bool rtnl_held) fl_hw_update_stats() argument
559 __fl_delete(struct tcf_proto * tp,struct cls_fl_filter * f,bool * last,bool rtnl_held,struct netlink_ext_ack * extack) __fl_delete() argument
599 fl_destroy(struct tcf_proto * tp,bool rtnl_held,struct netlink_ext_ack * extack) fl_destroy() argument
2364 bool rtnl_held = !(flags & TCA_ACT_FLAGS_NO_RTNL); fl_change() local
2612 fl_delete(struct tcf_proto * tp,void * arg,bool * last,bool rtnl_held,struct netlink_ext_ack * extack) fl_delete() argument
2627 fl_walk(struct tcf_proto * tp,struct tcf_walker * arg,bool rtnl_held) fl_walk() argument
3689 fl_dump(struct net * net,struct tcf_proto * tp,void * fh,struct sk_buff * skb,struct tcmsg * t,bool rtnl_held) fl_dump() argument
3747 fl_terse_dump(struct net * net,struct tcf_proto * tp,void * fh,struct sk_buff * skb,struct tcmsg * t,bool rtnl_held) fl_terse_dump() argument
[all...]
H A Dcls_flow.c583 bool rtnl_held, struct netlink_ext_ack *extack) in flow_delete()
608 static void flow_destroy(struct tcf_proto *tp, bool rtnl_held, in flow_destroy()
636 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in flow_dump()
697 bool rtnl_held) in flow_walk()
578 flow_delete(struct tcf_proto * tp,void * arg,bool * last,bool rtnl_held,struct netlink_ext_ack * extack) flow_delete() argument
602 flow_destroy(struct tcf_proto * tp,bool rtnl_held,struct netlink_ext_ack * extack) flow_destroy() argument
630 flow_dump(struct net * net,struct tcf_proto * tp,void * fh,struct sk_buff * skb,struct tcmsg * t,bool rtnl_held) flow_dump() argument
691 flow_walk(struct tcf_proto * tp,struct tcf_walker * arg,bool rtnl_held) flow_walk() argument
H A Dcls_bpf.c304 bool rtnl_held, struct netlink_ext_ack *extack) in cls_bpf_delete() argument
313 static void cls_bpf_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_bpf_destroy() argument
594 struct sk_buff *skb, struct tcmsg *tm, bool rtnl_held) in cls_bpf_dump() argument
655 bool rtnl_held) in cls_bpf_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
1213 bool rtnl_held) in u32_walk() argument
1356 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.h210 struct netlink_ext_ack *extack, bool rtnl_held);
212 struct netlink_ext_ack *extack, bool rtnl_held);
H A Dpkt_cls.h608 void *type_data, bool err_stop, bool rtnl_held);
611 u32 *flags, unsigned int *in_hw_count, bool rtnl_held);
616 bool rtnl_held);
619 u32 *flags, unsigned int *in_hw_count, bool rtnl_held);
H A Dsch_generic.h366 void (*destroy)(struct tcf_proto *tp, bool rtnl_held,
377 bool *last, bool rtnl_held,
381 struct tcf_walker *arg, bool rtnl_held);
410 struct tcmsg *t, bool rtnl_held);
/linux/net/core/
H A Dfib_rules.c877 struct netlink_ext_ack *extack, bool rtnl_held) in fib_newrule() argument
911 if (!rtnl_held && ops->need_rtnl && ops->need_rtnl(net)) { in fib_newrule()
1012 struct netlink_ext_ack *extack, bool rtnl_held) in fib_delrule() argument