Home
last modified time | relevance | path

Searched refs:cong_bits (Results 1 – 2 of 2) 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() argument
178 return bdi->congested_fn(bdi->congested_data, cong_bits); in wb_congested()
179 return wb->congested->state & cong_bits; in wb_congested()
240 int inode_congested(struct inode *inode, int cong_bits);
463 static inline int inode_congested(struct inode *inode, int cong_bits) in inode_congested() argument
465 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()
486 static inline int bdi_congested(struct backing_dev_info *bdi, int cong_bits) in bdi_congested() argument
488 return wb_congested(&bdi->wb, cong_bits); in bdi_congested()
/Linux-v5.4/fs/
Dfs-writeback.c779 int inode_congested(struct inode *inode, int cong_bits) in inode_congested() argument
791 congested = wb_congested(wb, cong_bits); in inode_congested()
796 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()