Home
last modified time | relevance | path

Searched refs:I_WB_SWITCH (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/include/linux/
H A Dbacking-dev.h293 * ensures that we see the new wb if we see cleared I_WB_SWITCH. in unlocked_inode_to_wb_begin()
295 cookie->locked = smp_load_acquire(&inode->i_state) & I_WB_SWITCH; in unlocked_inode_to_wb_begin()
301 * Protected by either !I_WB_SWITCH + rcu_read_lock() or the i_pages in unlocked_inode_to_wb_begin()
H A Dfs.h2249 * I_WB_SWITCH Cgroup bdi_writeback switching in progress. Used to
2284 #define I_WB_SWITCH (1 << 13) macro
/kernel/linux/linux-5.10/include/linux/
H A Dbacking-dev.h313 * ensures that we see the new wb if we see cleared I_WB_SWITCH. in unlocked_inode_to_wb_begin()
315 cookie->locked = smp_load_acquire(&inode->i_state) & I_WB_SWITCH; in unlocked_inode_to_wb_begin()
321 * Protected by either !I_WB_SWITCH + rcu_read_lock() or the i_pages in unlocked_inode_to_wb_begin()
H A Dfs.h2198 * I_WB_SWITCH Cgroup bdi_writeback switching in progress. Used to
2234 #define I_WB_SWITCH (1 << 13) macro
/kernel/linux/linux-5.10/fs/
H A Dfs-writeback.c373 * since I_WB_SWITCH assertion and all wb stat update transactions in inode_switch_wbs_work_fn()
449 * ensures that the new wb is visible if they see !I_WB_SWITCH. in inode_switch_wbs_work_fn()
451 smp_store_release(&inode->i_state, inode->i_state & ~I_WB_SWITCH); in inode_switch_wbs_work_fn()
497 if (inode->i_state & I_WB_SWITCH) in inode_switch_wbs()
524 /* while holding I_WB_SWITCH, no one else can update the association */ in inode_switch_wbs()
527 inode->i_state & (I_WB_SWITCH | I_FREEING) || in inode_switch_wbs()
532 inode->i_state |= I_WB_SWITCH; in inode_switch_wbs()
539 * In addition to synchronizing among switchers, I_WB_SWITCH tells in inode_switch_wbs()
542 * Let's continue after I_WB_SWITCH is guaranteed to be visible. in inode_switch_wbs()
/kernel/linux/linux-6.6/fs/
H A Dfs-writeback.c456 * ensures that the new wb is visible if they see !I_WB_SWITCH. in inode_do_switch_wbs()
458 smp_store_release(&inode->i_state, inode->i_state & ~I_WB_SWITCH); in inode_do_switch_wbs()
484 * since I_WB_SWITCH assertion and all wb stat update transactions in inode_switch_wbs_work_fn()
537 /* while holding I_WB_SWITCH, no one else can update the association */ in inode_prepare_wbs_switch()
540 inode->i_state & (I_WB_SWITCH | I_FREEING | I_WILL_FREE) || in inode_prepare_wbs_switch()
545 inode->i_state |= I_WB_SWITCH; in inode_prepare_wbs_switch()
567 if (inode->i_state & I_WB_SWITCH) in inode_switch_wbs()
600 * In addition to synchronizing among switchers, I_WB_SWITCH tells in inode_switch_wbs()
603 * Let's continue after I_WB_SWITCH is guaranteed to be visible. in inode_switch_wbs()
689 * In addition to synchronizing among switchers, I_WB_SWITCH tell in cleanup_offline_cgwb()
[all...]

Completed in 20 milliseconds