Lines Matching refs:take_rtnl
3198 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3202 if (take_rtnl) in tc_setup_cb_call()
3209 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3211 take_rtnl = true; in tc_setup_cb_call()
3218 if (take_rtnl) in tc_setup_cb_call()
3234 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3238 if (take_rtnl) in tc_setup_cb_add()
3245 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3247 take_rtnl = true; in tc_setup_cb_add()
3268 if (take_rtnl) in tc_setup_cb_add()
3286 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_replace() local
3290 if (take_rtnl) in tc_setup_cb_replace()
3297 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_replace()
3299 take_rtnl = true; in tc_setup_cb_replace()
3324 if (take_rtnl) in tc_setup_cb_replace()
3338 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_destroy() local
3342 if (take_rtnl) in tc_setup_cb_destroy()
3349 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_destroy()
3351 take_rtnl = true; in tc_setup_cb_destroy()
3362 if (take_rtnl) in tc_setup_cb_destroy()