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()
345 int max_slots; in find_in_level() local
368 de = find_in_block(dir, dentry_page, fname, &max_slots); in find_in_level()
378 if (max_slots >= s) in find_in_level()
655 int f2fs_room_for_filename(const void *bitmap, int slots, int max_slots) in f2fs_room_for_filename() argument
660 zero_start = find_next_zero_bit_le(bitmap, max_slots, bit_start); in f2fs_room_for_filename()
661 if (zero_start >= max_slots) in f2fs_room_for_filename()
662 return max_slots; in f2fs_room_for_filename()
664 zero_end = find_next_bit_le(bitmap, max_slots, zero_start); in f2fs_room_for_filename()
670 if (zero_end + 1 >= max_slots) in f2fs_room_for_filename()
671 return max_slots; in f2fs_room_for_filename()