Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dbacking-dev.h190 static inline int wb_congested(struct bdi_writeback *wb, int cong_bits) in wb_congested() function
424 atomic_inc(&bdi->wb_congested->refcnt); in wb_congested_get_create()
425 return bdi->wb_congested; in wb_congested_get_create()
475 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()
498 return wb_congested(&bdi->wb, cong_bits); in bdi_congested()
Dbacking-dev-defs.h161 struct bdi_writeback_congested *wb_congested; member
Dblk-cgroup.h116 struct bdi_writeback_congested *wb_congested; member
/linux-4.4.14/block/
Dblk-cgroup.c175 struct bdi_writeback_congested *wb_congested; in blkg_create() local
187 wb_congested = wb_congested_get_create(&q->backing_dev_info, in blkg_create()
189 if (!wb_congested) { in blkg_create()
203 blkg->wb_congested = wb_congested; in blkg_create()
248 wb_congested_put(wb_congested); in blkg_create()
395 wb_congested_put(blkg->wb_congested); in __blkg_release_rcu()
Dblk-core.c69 clear_wb_congested(rl->blkg->wb_congested, sync); in blk_clear_congested()
83 set_wb_congested(rl->blkg->wb_congested, sync); in blk_set_congested()
/linux-4.4.14/mm/
Dbacking-dev.c756 bdi->wb_congested = kzalloc(sizeof(*bdi->wb_congested), GFP_KERNEL); in cgwb_bdi_init()
757 if (!bdi->wb_congested) in cgwb_bdi_init()
762 kfree(bdi->wb_congested); in cgwb_bdi_init()
/linux-4.4.14/fs/
Dfs-writeback.c739 congested = wb_congested(wb, cong_bits); in inode_congested()
744 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()