Home
last modified time | relevance | path

Searched refs:rtnl_held (Results 1 – 22 of 22) 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
3621 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
3657 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
3709 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
3761 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.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
356 bool rtnl_held) in fw_walk()
379 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in fw_dump()
346 fw_walk(struct tcf_proto * tp,struct tcf_walker * arg,bool rtnl_held) fw_walk() argument
369 fw_dump(struct net * net,struct tcf_proto * tp,void * fh,struct sk_buff * skb,struct tcmsg * t,bool rtnl_held) 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.c578 bool rtnl_held, struct netlink_ext_ack *extack) in flow_delete()
602 static void flow_destroy(struct tcf_proto *tp, bool rtnl_held, in flow_destroy()
630 struct sk_buff *skb, struct tcmsg *t, bool rtnl_held) in flow_dump()
691 bool rtnl_held) in flow_walk()
570 flow_delete(struct tcf_proto * tp,void * arg,bool * last,bool rtnl_held,struct netlink_ext_ack * extack) flow_delete() argument
594 flow_destroy(struct tcf_proto * tp,bool rtnl_held,struct netlink_ext_ack * extack) flow_destroy() argument
622 flow_dump(struct net * net,struct tcf_proto * tp,void * fh,struct sk_buff * skb,struct tcmsg * t,bool rtnl_held) flow_dump() argument
683 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
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/ipv4/
H A Dfib_frontend.c949 if (filter->rtnl_held) in ip_valid_fib_dump_req()
995 if (filter->rtnl_held) in ip_valid_fib_dump_req()
1023 .rtnl_held = false, in inet_dump_fib()
H A Dipmr.c2739 .rtnl_held = true, in ipmr_rtm_dumproute()
/linux/net/mpls/
H A Daf_mpls.c2232 .rtnl_held = false, in mpls_dump_routes()
/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()