Searched refs:old_max (Results 1 – 4 of 4) sorted by relevance
106 static long old_max; in get_empty_filp() local144 if (get_nr_files() > old_max) { in get_empty_filp()146 old_max = get_nr_files(); in get_empty_filp()
118 int old_max = (*cp)->baseminor + (*cp)->minorct - 1; in __register_chrdev_region() local123 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()
184 int old_max = sb_oid_maxsize(disk_sb); in reiserfs_convert_objectid_map_v1() local204 objectid_map[i + (old_max - new_size)] = objectid_map[i]; in reiserfs_convert_objectid_map_v1()
148 unsigned long old_max, cur_max; in update_used_max() local150 old_max = atomic_long_read(&zram->stats.max_used_pages); in update_used_max()153 cur_max = old_max; in update_used_max()155 old_max = atomic_long_cmpxchg( in update_used_max()157 } while (old_max != cur_max); in update_used_max()