Home
last modified time | relevance | path

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

/linux-6.12.1/fs/
Dfs-writeback.c397 struct bdi_writeback *old_wb, in inode_do_switch_wbs() argument
415 trace_inode_switch_wbs(inode, old_wb, new_wb); in inode_do_switch_wbs()
425 wb_stat_mod(old_wb, WB_RECLAIMABLE, -nr); in inode_do_switch_wbs()
434 wb_stat_mod(old_wb, WB_WRITEBACK, -nr); in inode_do_switch_wbs()
439 atomic_dec(&old_wb->writeback_inodes); in inode_do_switch_wbs()
495 struct bdi_writeback *old_wb = isw->inodes[0]->i_wb; in inode_switch_wbs_work_fn() local
516 if (old_wb < new_wb) { in inode_switch_wbs_work_fn()
517 spin_lock(&old_wb->list_lock); in inode_switch_wbs_work_fn()
521 spin_lock_nested(&old_wb->list_lock, SINGLE_DEPTH_NESTING); in inode_switch_wbs_work_fn()
525 WARN_ON_ONCE((*inodep)->i_wb != old_wb); in inode_switch_wbs_work_fn()
[all …]
/linux-6.12.1/include/trace/events/
Dwriteback.h218 TP_PROTO(struct inode *inode, struct bdi_writeback *old_wb,
221 TP_ARGS(inode, old_wb, new_wb),
231 strscpy_pad(__entry->name, bdi_dev_name(old_wb->bdi), 32);
233 __entry->old_cgroup_ino = __trace_wb_assign_cgroup(old_wb);