Lines Matching refs:max_slots
201 int *max_slots) in find_in_block() argument
209 return f2fs_find_target_dentry(&d, fname, max_slots); in find_in_block()
286 const struct f2fs_filename *fname, int *max_slots) in f2fs_find_target_dentry() argument
293 if (max_slots) in f2fs_find_target_dentry()
294 *max_slots = 0; in f2fs_find_target_dentry()
319 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
320 *max_slots = max_len; in f2fs_find_target_dentry()
328 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
329 *max_slots = max_len; in f2fs_find_target_dentry()
344 int max_slots; in find_in_level() local
366 de = find_in_block(dir, dentry_page, fname, &max_slots); in find_in_level()
376 if (max_slots >= s) in find_in_level()
653 int f2fs_room_for_filename(const void *bitmap, int slots, int max_slots) in f2fs_room_for_filename() argument
658 zero_start = find_next_zero_bit_le(bitmap, max_slots, bit_start); in f2fs_room_for_filename()
659 if (zero_start >= max_slots) in f2fs_room_for_filename()
660 return max_slots; in f2fs_room_for_filename()
662 zero_end = find_next_bit_le(bitmap, max_slots, zero_start); in f2fs_room_for_filename()
668 if (zero_end + 1 >= max_slots) in f2fs_room_for_filename()
669 return max_slots; in f2fs_room_for_filename()