Lines Matching refs:take_rtnl
3254 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3258 if (take_rtnl) in tc_setup_cb_call()
3265 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3267 take_rtnl = true; in tc_setup_cb_call()
3274 if (take_rtnl) in tc_setup_cb_call()
3290 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3294 if (take_rtnl) in tc_setup_cb_add()
3301 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3303 take_rtnl = true; in tc_setup_cb_add()
3324 if (take_rtnl) in tc_setup_cb_add()
3342 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_replace() local
3346 if (take_rtnl) in tc_setup_cb_replace()
3353 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_replace()
3355 take_rtnl = true; in tc_setup_cb_replace()
3380 if (take_rtnl) in tc_setup_cb_replace()
3394 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_destroy() local
3398 if (take_rtnl) in tc_setup_cb_destroy()
3405 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_destroy()
3407 take_rtnl = true; in tc_setup_cb_destroy()
3418 if (take_rtnl) in tc_setup_cb_destroy()