Home
last modified time | relevance | path

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

/fs/nfs/
Dnfs4session.c32 if (newsize >= tbl->max_slots) in nfs4_shrink_slot_table()
43 tbl->max_slots--; in nfs4_shrink_slot_table()
105 *p = nfs4_new_slot(tbl, tbl->max_slots, in nfs4_find_or_create_slot()
109 tbl->max_slots++; in nfs4_find_or_create_slot()
158 if (max_reqs <= tbl->max_slots) in nfs4_grow_slot_table()
195 max_reqs, tbl->max_slots); in nfs4_realloc_slot_table()
209 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.c128 (osb->max_slots * sizeof(char)), GFP_KERNEL); in ocfs2_compute_replay_slots()
137 replay_map->rm_slots = osb->max_slots; in ocfs2_compute_replay_slots()
190 osb->max_slots * sizeof(unsigned int), in ocfs2_recovery_init()
268 BUG_ON(rm->rm_used >= osb->max_slots); in ocfs2_recovery_map_set()
1309 rm_quota = kzalloc(osb->max_slots * sizeof(int), GFP_NOFS); in __ocfs2_recovery_thread()
1452 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode()
1741 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes()
1867 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan()
2186 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
Dsysfile.c74 osb->max_slots, in get_local_system_inode()
Dsuper.c339 for (i = 0; i < osb->max_slots; ++i) { in ocfs2_osb_dump()
545 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { in ocfs2_release_system_inodes()
2141 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2142 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super()
2144 osb->max_slots); in ocfs2_initialize_super()
2188 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super()
2197 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
Dioctl.c204 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
389 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
Docfs2.h334 unsigned int max_slots; member
Dsuballoc.c960 for (i = 0; i < osb->max_slots; i++, slot++) { in ocfs2_steal_resource()
961 if (slot == osb->max_slots) in ocfs2_steal_resource()
2767 (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/f2fs/
Ddir.c91 const char *name, size_t namelen, int *max_slots, in find_in_block() argument
119 if (*max_slots < end_pos - next_pos) in find_in_block()
120 *max_slots = end_pos - next_pos; in find_in_block()
139 int max_slots = 0; in find_in_level() local
158 &max_slots, namehash, res_page); in find_in_level()
162 if (max_slots >= s) in find_in_level()
/fs/dlm/
Dmember.c175 int array_size, max_slots, i; in dlm_slots_assign() local
279 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - in dlm_slots_assign()
282 if (num > max_slots) { in dlm_slots_assign()
284 num, max_slots); in dlm_slots_assign()
/fs/ocfs2/cluster/
Dheartbeat.c402 unsigned int max_slots) in o2hb_setup_one_bio() argument
430 while(cs < max_slots) { in o2hb_setup_one_bio()
435 (max_slots-cs) * (PAGE_CACHE_SIZE/spp) ); in o2hb_setup_one_bio()
453 unsigned int max_slots) in o2hb_read_slots() argument
462 while(current_slot < max_slots) { in o2hb_read_slots()
463 bio = o2hb_setup_one_bio(reg, &wc, &current_slot, max_slots); in o2hb_read_slots()