Searched refs:wb_congested (Results 1 – 6 of 6) sorted by relevance
173 static inline int wb_congested(struct bdi_writeback *wb, int cong_bits) in wb_congested() function413 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()
218 struct bdi_writeback_congested *wb_congested; member
119 struct bdi_writeback_congested *wb_congested; member
815 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()
100 wb_congested_put(blkg->wb_congested); in __blkg_release()227 struct bdi_writeback_congested *wb_congested; in blkg_create() local245 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()
791 congested = wb_congested(wb, cong_bits); in inode_congested()796 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()