Lines Matching refs:take_rtnl
3280 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3284 if (take_rtnl) in tc_setup_cb_call()
3291 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3293 take_rtnl = true; in tc_setup_cb_call()
3300 if (take_rtnl) in tc_setup_cb_call()
3316 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3320 if (take_rtnl) in tc_setup_cb_add()
3327 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3329 take_rtnl = true; in tc_setup_cb_add()
3350 if (take_rtnl) in tc_setup_cb_add()
3368 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_replace() local
3372 if (take_rtnl) in tc_setup_cb_replace()
3379 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_replace()
3381 take_rtnl = true; in tc_setup_cb_replace()
3406 if (take_rtnl) in tc_setup_cb_replace()
3420 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_destroy() local
3424 if (take_rtnl) in tc_setup_cb_destroy()
3431 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_destroy()
3433 take_rtnl = true; in tc_setup_cb_destroy()
3444 if (take_rtnl) in tc_setup_cb_destroy()