Home
last modified time | relevance | path

Searched refs:old_wb (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/
Dfs-writeback.c373 struct bdi_writeback *old_wb, in inode_do_switch_wbs() argument
391 trace_inode_switch_wbs(inode, old_wb, new_wb); in inode_do_switch_wbs()
401 wb_stat_mod(old_wb, WB_RECLAIMABLE, -nr); in inode_do_switch_wbs()
410 wb_stat_mod(old_wb, WB_WRITEBACK, -nr); in inode_do_switch_wbs()
415 atomic_dec(&old_wb->writeback_inodes); in inode_do_switch_wbs()
471 struct bdi_writeback *old_wb = isw->inodes[0]->i_wb; in inode_switch_wbs_work_fn() local
492 if (old_wb < new_wb) { in inode_switch_wbs_work_fn()
493 spin_lock(&old_wb->list_lock); in inode_switch_wbs_work_fn()
497 spin_lock_nested(&old_wb->list_lock, SINGLE_DEPTH_NESTING); in inode_switch_wbs_work_fn()
501 WARN_ON_ONCE((*inodep)->i_wb != old_wb); in inode_switch_wbs_work_fn()
[all …]
/linux-6.6.21/include/trace/events/
Dwriteback.h210 TP_PROTO(struct inode *inode, struct bdi_writeback *old_wb,
213 TP_ARGS(inode, old_wb, new_wb),
223 strscpy_pad(__entry->name, bdi_dev_name(old_wb->bdi), 32);
225 __entry->old_cgroup_ino = __trace_wb_assign_cgroup(old_wb);