Lines Matching refs:rtnl_held
249 tcf_proto_lookup_ops(const char *kind, bool rtnl_held,
258 if (rtnl_held)
261 if (rtnl_held)
374 bool rtnl_held,
384 tp->ops = tcf_proto_lookup_ops(kind, rtnl_held, extack);
415 static void tcf_proto_destroy(struct tcf_proto *tp, bool rtnl_held,
418 tp->ops->destroy(tp, rtnl_held, extack);
426 static void tcf_proto_put(struct tcf_proto *tp, bool rtnl_held,
430 tcf_proto_destroy(tp, rtnl_held, true, extack);
720 static void tcf_chain_flush(struct tcf_chain *chain, bool rtnl_held)
739 tcf_proto_put(tp, rtnl_held, NULL);
1130 static void tcf_block_flush_all_chains(struct tcf_block *block, bool rtnl_held)
1141 tcf_chain_flush(chain, rtnl_held);
1150 u32 *parent, int ifindex, bool rtnl_held,
1215 if (rtnl_held)
1282 struct tcf_block_ext_info *ei, bool rtnl_held)
1303 tcf_block_flush_all_chains(block, rtnl_held);
1309 static void tcf_block_refcnt_put(struct tcf_block *block, bool rtnl_held)
1311 __tcf_block_put(block, NULL, NULL, rtnl_held);
1353 bool rtnl_held)
1356 tcf_block_refcnt_put(block, rtnl_held);
1359 if (rtnl_held)
1865 bool rtnl_held)
1875 tcf_proto_destroy(tp_new, rtnl_held, false, NULL);
1886 tcf_proto_destroy(tp_new, rtnl_held, false, NULL);
1889 tcf_proto_destroy(tp_new, rtnl_held, false, NULL);
1897 struct tcf_proto *tp, bool rtnl_held,
1934 tcf_proto_put(tp, rtnl_held, extack);
1974 bool terse_dump, bool rtnl_held,
2005 rtnl_held) < 0)
2012 tp->ops->dump(net, tp, fh, skb, tcm, rtnl_held) < 0)
2035 bool rtnl_held, struct netlink_ext_ack *extack)
2047 false, rtnl_held, extack) <= 0) {
2064 bool rtnl_held, struct netlink_ext_ack *extack)
2076 false, rtnl_held, extack) <= 0) {
2082 err = tp->ops->delete(tp, fh, last, rtnl_held, extack);
2145 bool rtnl_held = false;
2193 /* Take rtnl mutex if rtnl_held was set to true on previous iteration,
2197 if (rtnl_held ||
2200 rtnl_held = true;
2266 rtnl_held, extack);
2274 rtnl_held);
2313 if (!rtnl_held)
2321 RTM_NEWTFILTER, false, rtnl_held, extack);
2330 tcf_chain_tp_delete_empty(chain, tp, rtnl_held, NULL);
2334 tcf_proto_put(tp, rtnl_held, NULL);
2338 tcf_block_release(q, block, rtnl_held);
2340 if (rtnl_held)
2347 rtnl_held = true;
2377 bool rtnl_held = false;
2412 rtnl_held = true;
2450 tcf_chain_flush(chain, rtnl_held);
2471 tcf_proto_put(tp, rtnl_held, NULL);
2473 RTM_DELTFILTER, false, rtnl_held, extack);
2489 rtnl_held, extack);
2494 tcf_chain_tp_delete_empty(chain, tp, rtnl_held, extack);
2500 tcf_proto_put(tp, rtnl_held, NULL);
2503 tcf_block_release(q, block, rtnl_held);
2505 if (rtnl_held)
2534 bool rtnl_held = false;
2568 rtnl_held = true;
2617 fh, RTM_NEWTFILTER, true, rtnl_held, NULL);
2626 tcf_proto_put(tp, rtnl_held, NULL);
2629 tcf_block_release(q, block, rtnl_held);
2631 if (rtnl_held)
3500 void *type_data, bool err_stop, bool rtnl_held)
3502 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held;
3513 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) {
3536 u32 *flags, unsigned int *in_hw_count, bool rtnl_held)
3538 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held;
3549 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) {
3588 bool rtnl_held)
3590 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held;
3601 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) {
3640 u32 *flags, unsigned int *in_hw_count, bool rtnl_held)
3642 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held;
3653 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) {