Home
last modified time | relevance | path

Searched refs:max_slots (Results 1 – 14 of 14) sorted by relevance

/fs/f2fs/
Ddir.c87 int *max_slots, in find_in_block() argument
97 de = f2fs_find_target_dentry(fname, namehash, max_slots, &d); in find_in_block()
105 f2fs_hash_t namehash, int *max_slots, in f2fs_find_target_dentry() argument
112 if (max_slots) in f2fs_find_target_dentry()
113 *max_slots = 0; in f2fs_find_target_dentry()
133 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
134 *max_slots = max_len; in f2fs_find_target_dentry()
142 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
143 *max_slots = max_len; in f2fs_find_target_dentry()
159 int max_slots; in find_in_level() local
[all …]
Df2fs.h2924 f2fs_hash_t namehash, int *max_slots,
2935 int f2fs_room_for_filename(const void *bitmap, int slots, int max_slots);
/fs/nfs/
Dnfs4session.c41 if (newsize >= tbl->max_slots) in nfs4_shrink_slot_table()
52 tbl->max_slots--; in nfs4_shrink_slot_table()
125 *p = nfs4_new_slot(tbl, tbl->max_slots, in nfs4_find_or_create_slot()
129 tbl->max_slots++; in nfs4_find_or_create_slot()
262 if (max_reqs <= tbl->max_slots) in nfs4_grow_slot_table()
299 max_reqs, tbl->max_slots); in nfs4_realloc_slot_table()
313 tbl, tbl->slots, tbl->max_slots); in nfs4_realloc_slot_table()
Dnfs4session.h44 u32 max_slots; /* # slots in table */ member
/fs/ocfs2/
Dslot_map.c233 bytes_needed = osb->max_slots * in ocfs2_slot_map_physical_size()
236 bytes_needed = osb->max_slots * sizeof(__le16); in ocfs2_slot_map_physical_size()
309 BUG_ON(slot_num >= osb->max_slots); in ocfs2_slot_to_node_num_locked()
380 BUG_ON((osb->max_slots / si->si_slots_per_block) > blocks); in ocfs2_map_slot_buffers()
424 (sizeof(struct ocfs2_slot) * osb->max_slots), in ocfs2_init_slot_info()
433 si->si_num_slots = osb->max_slots; in ocfs2_init_slot_info()
Djournal.c133 (osb->max_slots * sizeof(char)), GFP_KERNEL); in ocfs2_compute_replay_slots()
142 replay_map->rm_slots = osb->max_slots; in ocfs2_compute_replay_slots()
197 osb->max_slots * sizeof(unsigned int), in ocfs2_recovery_init()
276 BUG_ON(rm->rm_used >= osb->max_slots); in ocfs2_recovery_map_set()
1393 rm_quota = kzalloc(osb->max_slots * sizeof(int), GFP_NOFS); in __ocfs2_recovery_thread()
1536 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode()
1822 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes()
1948 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan()
2344 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
Dsuper.c345 for (i = 0; i < osb->max_slots; ++i) { in ocfs2_osb_dump()
550 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { in ocfs2_release_system_inodes()
2103 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2104 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super()
2106 osb->max_slots); in ocfs2_initialize_super()
2149 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super()
2158 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
Dsysfile.c74 osb->max_slots, in get_local_system_inode()
Dioctl.c192 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
351 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
Docfs2.h347 unsigned int max_slots; member
Dsuballoc.c939 for (i = 0; i < osb->max_slots; i++, slot++) { in ocfs2_steal_resource()
940 if (slot == osb->max_slots) in ocfs2_steal_resource()
2789 (u32)le16_to_cpu(inode_fe->i_suballoc_slot) > osb->max_slots - 1) { in ocfs2_get_suballoc_slot_bit()
Dlocalalloc.c180 megs_per_slot = osb->osb_clusters_at_boot / osb->max_slots; in ocfs2_la_default_mb()
/fs/dlm/
Dmember.c172 int array_size, max_slots, i; in dlm_slots_assign() local
275 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - in dlm_slots_assign()
278 if (num > max_slots) { in dlm_slots_assign()
280 num, max_slots); in dlm_slots_assign()
/fs/ocfs2/cluster/
Dheartbeat.c532 unsigned int max_slots, int op, in o2hb_setup_one_bio() argument
562 while(cs < max_slots) { in o2hb_setup_one_bio()
567 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio()
585 unsigned int max_slots) in o2hb_read_slots() argument
594 while(current_slot < max_slots) { in o2hb_read_slots()
595 bio = o2hb_setup_one_bio(reg, &wc, &current_slot, max_slots, in o2hb_read_slots()