Home
last modified time | relevance | path

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

/fs/f2fs/
Ddir.c201 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
[all …]
Df2fs.h3475 const struct f2fs_filename *fname, int *max_slots);
3484 int f2fs_room_for_filename(const void *bitmap, int slots, int max_slots);
/fs/nfs/
Dnfs4session.c42 if (newsize >= tbl->max_slots) in nfs4_shrink_slot_table()
53 tbl->max_slots--; in nfs4_shrink_slot_table()
128 *p = nfs4_new_slot(tbl, tbl->max_slots, in nfs4_find_or_create_slot()
132 tbl->max_slots++; in nfs4_find_or_create_slot()
265 if (max_reqs <= tbl->max_slots) in nfs4_grow_slot_table()
303 max_reqs, tbl->max_slots); in nfs4_realloc_slot_table()
317 tbl, tbl->slots, tbl->max_slots); in nfs4_realloc_slot_table()
Dnfs4session.h45 u32 max_slots; /* # slots in table */ member
/fs/ocfs2/
Dslot_map.c217 bytes_needed = osb->max_slots * in ocfs2_slot_map_physical_size()
220 bytes_needed = osb->max_slots * sizeof(__le16); in ocfs2_slot_map_physical_size()
293 BUG_ON(slot_num >= osb->max_slots); in ocfs2_slot_to_node_num_locked()
364 BUG_ON((osb->max_slots / si->si_slots_per_block) > blocks); in ocfs2_map_slot_buffers()
407 si = kzalloc(struct_size(si, si_slots, osb->max_slots), GFP_KERNEL); in ocfs2_init_slot_info()
415 si->si_num_slots = osb->max_slots; in ocfs2_init_slot_info()
Djournal.c119 (osb->max_slots * sizeof(char)), GFP_KERNEL); in ocfs2_compute_replay_slots()
128 replay_map->rm_slots = osb->max_slots; in ocfs2_compute_replay_slots()
183 osb->max_slots * sizeof(unsigned int), in ocfs2_recovery_init()
262 BUG_ON(rm->rm_used >= osb->max_slots); in ocfs2_recovery_map_set()
1390 rm_quota = kcalloc(osb->max_slots, sizeof(int), GFP_NOFS); in __ocfs2_recovery_thread()
1543 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode()
1829 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes()
1955 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan()
2351 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
Dsuper.c332 for (i = 0; i < osb->max_slots; ++i) { in ocfs2_osb_dump()
537 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { in ocfs2_release_system_inodes()
2079 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2080 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super()
2082 osb->max_slots); in ocfs2_initialize_super()
2125 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super()
2134 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
Dsysfile.c61 osb->max_slots), in get_local_system_inode()
Dioctl.c185 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
344 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
Docfs2.h337 unsigned int max_slots; member
Dsuballoc.c923 for (i = 0; i < osb->max_slots; i++, slot++) { in ocfs2_steal_resource()
924 if (slot == osb->max_slots) in ocfs2_steal_resource()
2724 (u32)le16_to_cpu(inode_fe->i_suballoc_slot) > osb->max_slots - 1) { in ocfs2_get_suballoc_slot_bit()
Dlocalalloc.c166 megs_per_slot = osb->osb_clusters_at_boot / osb->max_slots; in ocfs2_la_default_mb()
/fs/dlm/
Dmember.c170 int array_size, max_slots, i; in dlm_slots_assign() local
273 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - in dlm_slots_assign()
276 if (num > max_slots) { in dlm_slots_assign()
278 num, max_slots); in dlm_slots_assign()
/fs/ocfs2/cluster/
Dheartbeat.c508 unsigned int max_slots, int op, in o2hb_setup_one_bio() argument
538 while(cs < max_slots) { in o2hb_setup_one_bio()
543 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio()
562 unsigned int max_slots) in o2hb_read_slots() argument
571 while(current_slot < max_slots) { in o2hb_read_slots()
572 bio = o2hb_setup_one_bio(reg, &wc, &current_slot, max_slots, in o2hb_read_slots()