Home
last modified time | relevance | path

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

/fs/f2fs/
Ddir.c90 int *max_slots, in find_in_block() argument
100 de = find_target_dentry(fname, namehash, max_slots, &d); in find_in_block()
108 f2fs_hash_t namehash, int *max_slots, in find_target_dentry() argument
115 if (max_slots) in find_target_dentry()
116 *max_slots = 0; in find_target_dentry()
136 if (max_slots && max_len > *max_slots) in find_target_dentry()
137 *max_slots = max_len; in find_target_dentry()
145 if (max_slots && max_len > *max_slots) in find_target_dentry()
146 *max_slots = max_len; in find_target_dentry()
162 int max_slots; in find_in_level() local
[all …]
Df2fs.h2733 f2fs_hash_t namehash, int *max_slots,
2744 int room_for_filename(const void *bitmap, int slots, int max_slots);
/fs/nfs/
Dnfs4session.c40 if (newsize >= tbl->max_slots) in nfs4_shrink_slot_table()
51 tbl->max_slots--; in nfs4_shrink_slot_table()
124 *p = nfs4_new_slot(tbl, tbl->max_slots, in nfs4_find_or_create_slot()
128 tbl->max_slots++; in nfs4_find_or_create_slot()
177 if (max_reqs <= tbl->max_slots) in nfs4_grow_slot_table()
214 max_reqs, tbl->max_slots); in nfs4_realloc_slot_table()
228 tbl, tbl->slots, tbl->max_slots); in nfs4_realloc_slot_table()
Dnfs4session.h39 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()
381 BUG_ON((osb->max_slots / si->si_slots_per_block) > blocks); in ocfs2_map_slot_buffers()
425 (sizeof(struct ocfs2_slot) * osb->max_slots), in ocfs2_init_slot_info()
434 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()
275 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()
1825 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes()
1951 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan()
2347 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
Dsysfile.c74 osb->max_slots, in get_local_system_inode()
Dsuper.c348 for (i = 0; i < osb->max_slots; ++i) { in ocfs2_osb_dump()
553 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { in ocfs2_release_system_inodes()
2123 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2124 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super()
2126 osb->max_slots); in ocfs2_initialize_super()
2169 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super()
2178 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
Dioctl.c191 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
350 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
Docfs2.h348 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()
2761 (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
276 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - in dlm_slots_assign()
279 if (num > max_slots) { in dlm_slots_assign()
281 num, max_slots); in dlm_slots_assign()
/fs/ocfs2/cluster/
Dheartbeat.c394 unsigned int max_slots) in o2hb_setup_one_bio() argument
422 while(cs < max_slots) { in o2hb_setup_one_bio()
427 (max_slots-cs) * (PAGE_CACHE_SIZE/spp) ); in o2hb_setup_one_bio()
445 unsigned int max_slots) in o2hb_read_slots() argument
454 while(current_slot < max_slots) { in o2hb_read_slots()
455 bio = o2hb_setup_one_bio(reg, &wc, &current_slot, max_slots); in o2hb_read_slots()