Home
last modified time | relevance | path

Searched refs:wb_congested (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/include/linux/
Dbacking-dev.h173 static inline int wb_congested(struct bdi_writeback *wb, int cong_bits) in wb_congested() function
413 refcount_inc(&bdi->wb_congested->refcnt); in wb_congested_get_create()
414 return bdi->wb_congested; in wb_congested_get_create()
465 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()
488 return wb_congested(&bdi->wb, cong_bits); in bdi_congested()
Dbacking-dev-defs.h218 struct bdi_writeback_congested *wb_congested; member
Dblk-cgroup.h119 struct bdi_writeback_congested *wb_congested; member
/Linux-v5.4/mm/
Dbacking-dev.c815 bdi->wb_congested = kzalloc(sizeof(*bdi->wb_congested), GFP_KERNEL); in cgwb_bdi_init()
816 if (!bdi->wb_congested) in cgwb_bdi_init()
819 refcount_set(&bdi->wb_congested->refcnt, 1); in cgwb_bdi_init()
823 wb_congested_put(bdi->wb_congested); in cgwb_bdi_init()
833 wb_congested_put(bdi->wb_congested); in cgwb_bdi_exit()
/Linux-v5.4/block/
Dblk-cgroup.c100 wb_congested_put(blkg->wb_congested); in __blkg_release()
227 struct bdi_writeback_congested *wb_congested; in blkg_create() local
245 wb_congested = wb_congested_get_create(q->backing_dev_info, in blkg_create()
248 if (!wb_congested) { in blkg_create()
262 blkg->wb_congested = wb_congested; in blkg_create()
307 wb_congested_put(wb_congested); in blkg_create()
/Linux-v5.4/fs/
Dfs-writeback.c791 congested = wb_congested(wb, cong_bits); in inode_congested()
796 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()