Home
last modified time | relevance | path

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

/linux-6.1.9/fs/
Dfs-writeback.c371 struct bdi_writeback *old_wb, in inode_do_switch_wbs() argument
389 trace_inode_switch_wbs(inode, old_wb, new_wb); in inode_do_switch_wbs()
399 wb_stat_mod(old_wb, WB_RECLAIMABLE, -nr); in inode_do_switch_wbs()
408 wb_stat_mod(old_wb, WB_WRITEBACK, -nr); in inode_do_switch_wbs()
413 atomic_dec(&old_wb->writeback_inodes); in inode_do_switch_wbs()
469 struct bdi_writeback *old_wb = isw->inodes[0]->i_wb; in inode_switch_wbs_work_fn() local
490 if (old_wb < new_wb) { in inode_switch_wbs_work_fn()
491 spin_lock(&old_wb->list_lock); in inode_switch_wbs_work_fn()
495 spin_lock_nested(&old_wb->list_lock, SINGLE_DEPTH_NESTING); in inode_switch_wbs_work_fn()
499 WARN_ON_ONCE((*inodep)->i_wb != old_wb); in inode_switch_wbs_work_fn()
[all …]
/linux-6.1.9/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);