Searched refs:max_slots (Results 1 – 14 of 14) sorted by relevance
/fs/f2fs/ |
D | dir.c | 90 int *max_slots, in find_in_block() argument 100 de = find_target_dentry(fname, namehash, max_slots, &d); in find_in_block() 110 f2fs_hash_t namehash, int *max_slots, in find_target_dentry() argument 117 if (max_slots) in find_target_dentry() 118 *max_slots = 0; in find_target_dentry() 138 if (max_slots && max_len > *max_slots) in find_target_dentry() 139 *max_slots = max_len; in find_target_dentry() 147 if (max_slots && max_len > *max_slots) in find_target_dentry() 148 *max_slots = max_len; in find_target_dentry() 164 int max_slots; in find_in_level() local [all …]
|
D | f2fs.h | 2622 f2fs_hash_t namehash, int *max_slots, 2633 int room_for_filename(const void *bitmap, int slots, int max_slots);
|
/fs/nfs/ |
D | nfs4session.c | 40 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()
|
D | nfs4session.h | 39 u32 max_slots; /* # slots in table */ member
|
/fs/ocfs2/ |
D | slot_map.c | 233 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()
|
D | journal.c | 129 (osb->max_slots * sizeof(char)), GFP_KERNEL); in ocfs2_compute_replay_slots() 138 replay_map->rm_slots = osb->max_slots; in ocfs2_compute_replay_slots() 191 osb->max_slots * sizeof(unsigned int), in ocfs2_recovery_init() 269 BUG_ON(rm->rm_used >= osb->max_slots); in ocfs2_recovery_map_set() 1345 rm_quota = kzalloc(osb->max_slots * sizeof(int), GFP_NOFS); in __ocfs2_recovery_thread() 1488 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode() 1777 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes() 1903 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan() 2228 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
|
D | sysfile.c | 74 osb->max_slots, in get_local_system_inode()
|
D | super.c | 338 for (i = 0; i < osb->max_slots; ++i) { in ocfs2_osb_dump() 544 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { in ocfs2_release_system_inodes() 2121 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super() 2122 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super() 2124 osb->max_slots); in ocfs2_initialize_super() 2167 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super() 2176 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
|
D | ioctl.c | 191 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots() 350 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
|
D | ocfs2.h | 333 unsigned int max_slots; member
|
D | suballoc.c | 955 for (i = 0; i < osb->max_slots; i++, slot++) { in ocfs2_steal_resource() 956 if (slot == osb->max_slots) in ocfs2_steal_resource() 2776 (u32)le16_to_cpu(inode_fe->i_suballoc_slot) > osb->max_slots - 1) { in ocfs2_get_suballoc_slot_bit()
|
D | localalloc.c | 180 megs_per_slot = osb->osb_clusters_at_boot / osb->max_slots; in ocfs2_la_default_mb()
|
/fs/dlm/ |
D | member.c | 172 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/ |
D | heartbeat.c | 394 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, ¤t_slot, max_slots); in o2hb_read_slots()
|