Home
last modified time | relevance | path

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

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