Searched refs:wb_congested (Results 1 – 7 of 7) sorted by relevance
| /Linux-v4.19/include/linux/ |
| D | backing-dev.h | 169 static inline int wb_congested(struct bdi_writeback *wb, int cong_bits) in wb_congested() function 407 refcount_inc(&bdi->wb_congested->refcnt); in wb_congested_get_create() 408 return bdi->wb_congested; in wb_congested_get_create() 459 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested() 482 return wb_congested(&bdi->wb, cong_bits); in bdi_congested()
|
| D | backing-dev-defs.h | 194 struct bdi_writeback_congested *wb_congested; member
|
| D | blk-cgroup.h | 120 struct bdi_writeback_congested *wb_congested; member
|
| /Linux-v4.19/mm/ |
| D | backing-dev.c | 805 bdi->wb_congested = kzalloc(sizeof(*bdi->wb_congested), GFP_KERNEL); in cgwb_bdi_init() 806 if (!bdi->wb_congested) in cgwb_bdi_init() 809 refcount_set(&bdi->wb_congested->refcnt, 1); in cgwb_bdi_init() 813 wb_congested_put(bdi->wb_congested); in cgwb_bdi_init() 823 wb_congested_put(bdi->wb_congested); in cgwb_bdi_exit()
|
| /Linux-v4.19/block/ |
| D | blk-cgroup.c | 179 struct bdi_writeback_congested *wb_congested; in blkg_create() local 191 wb_congested = wb_congested_get_create(q->backing_dev_info, in blkg_create() 194 if (!wb_congested) { in blkg_create() 208 blkg->wb_congested = wb_congested; in blkg_create() 253 wb_congested_put(wb_congested); in blkg_create() 400 wb_congested_put(blkg->wb_congested); in __blkg_release_rcu()
|
| D | blk-core.c | 149 clear_wb_congested(rl->blkg->wb_congested, sync); in blk_clear_congested() 163 set_wb_congested(rl->blkg->wb_congested, sync); in blk_set_congested()
|
| /Linux-v4.19/fs/ |
| D | fs-writeback.c | 752 congested = wb_congested(wb, cong_bits); in inode_congested() 757 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()
|