Searched refs:old_max (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/fs/
H A Dfile_table.c106 static long old_max; get_empty_filp() local
144 if (get_nr_files() > old_max) { get_empty_filp()
146 old_max = get_nr_files(); get_empty_filp()
H A Dchar_dev.c118 int old_max = (*cp)->baseminor + (*cp)->minorct - 1; __register_chrdev_region() local
123 if (new_max >= old_min && new_max <= old_max) { __register_chrdev_region()
129 if (new_min <= old_max && new_min >= old_min) { __register_chrdev_region()
/linux-4.4.14/fs/reiserfs/
H A Dobjectid.c184 int old_max = sb_oid_maxsize(disk_sb); reiserfs_convert_objectid_map_v1() local
204 objectid_map[i + (old_max - new_size)] = objectid_map[i]; reiserfs_convert_objectid_map_v1()
/linux-4.4.14/drivers/block/zram/
H A Dzram_drv.c148 unsigned long old_max, cur_max; update_used_max() local
150 old_max = atomic_long_read(&zram->stats.max_used_pages); update_used_max()
153 cur_max = old_max; update_used_max()
155 old_max = atomic_long_cmpxchg( update_used_max()
157 } while (old_max != cur_max); update_used_max()

Completed in 185 milliseconds