Lines Matching refs:take_rtnl
3274 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3278 if (take_rtnl) in tc_setup_cb_call()
3285 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3287 take_rtnl = true; in tc_setup_cb_call()
3294 if (take_rtnl) in tc_setup_cb_call()
3310 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3314 if (take_rtnl) in tc_setup_cb_add()
3321 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3323 take_rtnl = true; in tc_setup_cb_add()
3344 if (take_rtnl) in tc_setup_cb_add()
3362 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_replace() local
3366 if (take_rtnl) in tc_setup_cb_replace()
3373 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_replace()
3375 take_rtnl = true; in tc_setup_cb_replace()
3400 if (take_rtnl) in tc_setup_cb_replace()
3414 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_destroy() local
3418 if (take_rtnl) in tc_setup_cb_destroy()
3425 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_destroy()
3427 take_rtnl = true; in tc_setup_cb_destroy()
3438 if (take_rtnl) in tc_setup_cb_destroy()