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
1161 tcf_block_flush_all_chains(struct tcf_block * block,bool rtnl_held) tcf_block_flush_all_chains() argument
1181 __tcf_qdisc_find(struct net * net,struct Qdisc ** q,u32 * parent,int ifindex,bool rtnl_held,struct netlink_ext_ack * extack) __tcf_qdisc_find() argument
1313 __tcf_block_put(struct tcf_block * block,struct Qdisc * q,struct tcf_block_ext_info * ei,bool rtnl_held) __tcf_block_put() argument
1340 tcf_block_refcnt_put(struct tcf_block * block,bool rtnl_held) tcf_block_refcnt_put() argument
1384 tcf_block_release(struct Qdisc * q,struct tcf_block * block,bool rtnl_held) tcf_block_release() argument
1940 tcf_chain_tp_insert_unique(struct tcf_chain * chain,struct tcf_proto * tp_new,u32 protocol,u32 prio,bool rtnl_held) tcf_chain_tp_insert_unique() argument
1971 tcf_chain_tp_delete_empty(struct tcf_chain * chain,struct tcf_proto * tp,bool rtnl_held,struct netlink_ext_ack * extack) tcf_chain_tp_delete_empty() argument
2054 tcf_fill_node(struct net * net,struct sk_buff * skb,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,u32 portid,u32 seq,u16 flags,int event,bool terse_dump,bool rtnl_held,struct netlink_ext_ack * extack) tcf_fill_node() argument
2120 tfilter_notify_prep(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,int event,u32 portid,bool rtnl_held,struct netlink_ext_ack * extack) tfilter_notify_prep() argument
2150 tfilter_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,int event,bool unicast,bool rtnl_held,struct netlink_ext_ack * extack) tfilter_notify() argument
2175 tfilter_del_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,bool * last,bool rtnl_held,struct netlink_ext_ack * extack) tfilter_del_notify() argument
2257 bool rtnl_held = false; tc_new_tfilter() local
2491 bool rtnl_held = false; tc_del_tfilter() local
2650 bool rtnl_held = false; tc_get_tfilter() local
3622 tc_setup_cb_call(struct tcf_block * block,enum tc_setup_type type,void * type_data,bool err_stop,bool rtnl_held) tc_setup_cb_call() argument
3658 tc_setup_cb_add(struct tcf_block * block,struct tcf_proto * tp,enum tc_setup_type type,void * type_data,bool err_stop,u32 * flags,unsigned int * in_hw_count,bool rtnl_held) tc_setup_cb_add() argument
3710 tc_setup_cb_replace(struct tcf_block * block,struct tcf_proto * tp,enum tc_setup_type type,void * type_data,bool err_stop,u32 * old_flags,unsigned int * old_in_hw_count,u32 * new_flags,unsigned int * new_in_hw_count,bool rtnl_held) tc_setup_cb_replace() argument
3762 tc_setup_cb_destroy(struct tcf_block * block,struct tcf_proto * tp,enum tc_setup_type type,void * type_data,bool err_stop,u32 * flags,unsigned int * in_hw_count,bool rtnl_held) tc_setup_cb_destroy() 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.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.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.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 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.c304 bool rtnl_held, struct netlink_ext_ack *extack) in cls_bpf_delete()
313 static void cls_bpf_destroy(struct tcf_proto *tp, bool rtnl_held, in cls_bpf_destroy()
580 struct sk_buff *skb, struct tcmsg *tm, bool rtnl_held) in cls_bpf_dump()
641 bool rtnl_held) in cls_bpf_walk()
302 cls_bpf_delete(struct tcf_proto * tp,void * arg,bool * last,bool rtnl_held,struct netlink_ext_ack * extack) cls_bpf_delete() argument
311 cls_bpf_destroy(struct tcf_proto * tp,bool rtnl_held,struct netlink_ext_ack * extack) cls_bpf_destroy() argument
578 cls_bpf_dump(struct net * net,struct tcf_proto * tp,void * fh,struct sk_buff * skb,struct tcmsg * tm,bool rtnl_held) cls_bpf_dump() argument
639 cls_bpf_walk(struct tcf_proto * tp,struct tcf_walker * arg,bool rtnl_held) cls_bpf_walk() argument
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_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
1206 bool rtnl_held) in u32_walk()
1346 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in u32_dump()
1203 u32_walk(struct tcf_proto * tp,struct tcf_walker * arg,bool rtnl_held) u32_walk() argument
1343 u32_dump(struct net * net,struct tcf_proto * tp,void * fh,struct sk_buff * skb,struct tcmsg * t,bool rtnl_held) u32_dump() argument
H A Dact_api.c1364 bool rtnl_held = !(flags & TCA_ACT_FLAGS_NO_RTNL); in tc_action_load_ops() local
1366 if (rtnl_held) in tc_action_load_ops()
1369 if (rtnl_held) in tc_action_load_ops()
/linux/include/net/
H A Dfib_rules.h208 struct netlink_ext_ack *extack, bool rtnl_held);
210 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.h365 void (*destroy)(struct tcf_proto *tp, bool rtnl_held,
376 bool *last, bool rtnl_held,
380 struct tcf_walker *arg, bool rtnl_held);
409 struct tcmsg *t, bool rtnl_held);
H A Dip_fib.h272 bool rtnl_held; global() member
/linux/net/core/
H A Dfib_rules.c878 struct netlink_ext_ack *extack, bool rtnl_held) in fib_newrule()
911 if (!rtnl_held) in fib_newrule()
981 if (!rtnl_held) in fib_newrule()
991 if (!rtnl_held) in fib_newrule()
1007 struct netlink_ext_ack *extack, bool rtnl_held) in fib_delrule()
1040 if (!rtnl_held) in fib_delrule()
1099 if (!rtnl_held) in fib_delrule()
1110 if (!rtnl_held) in fib_delrule()
874 fib_newrule(struct net * net,struct sk_buff * skb,struct nlmsghdr * nlh,struct netlink_ext_ack * extack,bool rtnl_held) fib_newrule() argument
1003 fib_delrule(struct net * net,struct sk_buff * skb,struct nlmsghdr * nlh,struct netlink_ext_ack * extack,bool rtnl_held) fib_delrule() argument
/linux/net/ipv6/
H A Dip6_fib.c
/linux/net/mpls/
H A Daf_mpls.c
/linux/net/ipv4/
H A Dipmr.c