Lines Matching refs:nr_inodes
391 static inline int try_to_sync_unused_list(struct list_head *head, int nr_inodes) in try_to_sync_unused_list() argument
396 while (nr_inodes && (tmp = tmp->prev) != head) { in try_to_sync_unused_list()
401 nr_inodes--; in try_to_sync_unused_list()
411 return nr_inodes; in try_to_sync_unused_list()
510 int nr_inodes = inodes_stat.nr_unused; in try_to_sync_unused_inodes() local
515 for (; nr_inodes && sb != sb_entry(&super_blocks); sb = sb_entry(sb->s_list.next)) { in try_to_sync_unused_inodes()
519 nr_inodes = try_to_sync_unused_list(&sb->s_dirty, nr_inodes); in try_to_sync_unused_inodes()
668 inodes_stat.nr_inodes -= nr_disposed; in dispose_list()
865 avg_pages = avg_pages / (inodes_stat.nr_inodes + 1); in prune_icache()
974 inodes_stat.nr_inodes++; in new_inode()
1015 inodes_stat.nr_inodes++; in get_new_inode()
1220 inodes_stat.nr_inodes--; in iput()
1256 inodes_stat.nr_inodes--; in iput()