Home
last modified time | relevance | path

Searched refs:cong_bits (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/include/linux/
Dbacking-dev.h169 static inline int wb_congested(struct bdi_writeback *wb, int cong_bits) in wb_congested() argument
174 return bdi->congested_fn(bdi->congested_data, cong_bits); in wb_congested()
175 return wb->congested->state & cong_bits; in wb_congested()
234 int inode_congested(struct inode *inode, int cong_bits);
457 static inline int inode_congested(struct inode *inode, int cong_bits) in inode_congested() argument
459 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()
480 static inline int bdi_congested(struct backing_dev_info *bdi, int cong_bits) in bdi_congested() argument
482 return wb_congested(&bdi->wb, cong_bits); in bdi_congested()
/Linux-v4.19/fs/
Dfs-writeback.c740 int inode_congested(struct inode *inode, int cong_bits) in inode_congested() argument
752 congested = wb_congested(wb, cong_bits); in inode_congested()
757 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()