Searched refs:lockeddevcnt (Results 1 – 2 of 2) sorted by relevance
1459 block->lockeddevcnt++; in tcf_block_bind()1476 block->lockeddevcnt--; in tcf_block_bind()1499 block->lockeddevcnt--; in tcf_block_unbind()3273 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call()3284 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()3309 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add()3320 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()3361 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_replace()3372 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_replace()3413 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_destroy()[all …]
475 unsigned int lockeddevcnt; /* Number of devs that require rtnl lock. */ member