Home
last modified time | relevance | path

Searched refs:cong_bits (Results 1 – 2 of 2) 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() argument
195 return bdi->congested_fn(bdi->congested_data, cong_bits); in wb_congested()
196 return wb->congested->state & cong_bits; in wb_congested()
252 int inode_congested(struct inode *inode, int cong_bits);
473 static inline int inode_congested(struct inode *inode, int cong_bits) in inode_congested() argument
475 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()
496 static inline int bdi_congested(struct backing_dev_info *bdi, int cong_bits) in bdi_congested() argument
498 return wb_congested(&bdi->wb, cong_bits); in bdi_congested()
/linux-4.4.14/fs/
Dfs-writeback.c728 int inode_congested(struct inode *inode, int cong_bits) in inode_congested() argument
739 congested = wb_congested(wb, cong_bits); in inode_congested()
744 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits); in inode_congested()