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, tru in tcf_proto_put()
764 tcf_chain_flush(struct tcf_chain * chain,bool rtnl_held) tcf_chain_flush() argument
1176 tcf_block_flush_all_chains(struct tcf_block * block,bool rtnl_held) tcf_block_flush_all_chains() argument
1196 __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
1328 __tcf_block_put(struct tcf_block * block,struct Qdisc * q,struct tcf_block_ext_info * ei,bool rtnl_held) __tcf_block_put() argument
1355 tcf_block_refcnt_put(struct tcf_block * block,bool rtnl_held) tcf_block_refcnt_put() argument
1399 tcf_block_release(struct Qdisc * q,struct tcf_block * block,bool rtnl_held) tcf_block_release() argument
1955 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
1986 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
2069 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
2135 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
2165 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
2190 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
2278 bool rtnl_held = false; tc_new_tfilter() local
2514 bool rtnl_held = false; tc_del_tfilter() local
2673 bool rtnl_held = false; tc_get_tfilter() local
3646 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
3682 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
3734 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
3786 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
252 bool rtnl_held) in basic_walk() argument
272 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.c284 static void route4_destroy(struct tcf_proto *tp, bool rtnl_held, in route4_destroy() argument
333 bool rtnl_held, struct netlink_ext_ack *extack) in route4_delete() argument
603 bool rtnl_held) in route4_walk()
630 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in route4_dump()
597 route4_walk(struct tcf_proto * tp,struct tcf_walker * arg,bool rtnl_held) route4_walk() argument
624 route4_dump(struct net * net,struct tcf_proto * tp,void * fh,struct sk_buff * skb,struct tcmsg * t,bool rtnl_held) route4_dump() argument
H A Dact_ife.c266 static int load_metaops_and_vet(u32 metaid, void *val, int len, bool rtnl_held) in load_metaops_and_vet() argument
274 if (rtnl_held) in load_metaops_and_vet()
277 if (rtnl_held) in load_metaops_and_vet()
438 static int load_metalist(struct nlattr **tb, bool rtnl_held) in load_metalist() argument
448 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_hw_destroy_filter() argument
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_replace_filter() argument
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_update_stats() argument
516 rtnl_held); in fl_hw_update_stats()
555 bool *last, bool rtnl_held, in __fl_delete() argument
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() argument
[all …]
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_flow.c583 bool rtnl_held, struct netlink_ext_ack *extack) in flow_delete() argument
608 static void flow_destroy(struct tcf_proto *tp, bool rtnl_held, in flow_destroy() argument
636 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in flow_dump() argument
697 bool rtnl_held) in flow_walk() argument
H A Dcls_u32.c638 static void u32_destroy(struct tcf_proto *tp, bool rtnl_held, in u32_destroy() argument
673 bool rtnl_held, struct netlink_ext_ack *extack) in u32_delete() argument
1242 bool rtnl_held) in u32_walk() argument
1385 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in u32_dump() argument
H A Dact_api.c1381 bool rtnl_held = !(flags & TCA_ACT_FLAGS_NO_RTNL); in tc_action_load_ops() local
1383 if (rtnl_held) in tc_action_load_ops()
1386 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