Home
last modified time | relevance | path

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

/linux-4.19.296/fs/f2fs/
Ddir.c90 int *max_slots, in find_in_block() argument
100 de = f2fs_find_target_dentry(fname, namehash, max_slots, &d); in find_in_block()
108 f2fs_hash_t namehash, int *max_slots, in f2fs_find_target_dentry() argument
115 if (max_slots) in f2fs_find_target_dentry()
116 *max_slots = 0; in f2fs_find_target_dentry()
136 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
137 *max_slots = max_len; in f2fs_find_target_dentry()
145 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
146 *max_slots = max_len; in f2fs_find_target_dentry()
162 int max_slots; in find_in_level() local
[all …]
Df2fs.h2821 f2fs_hash_t namehash, int *max_slots,
2832 int f2fs_room_for_filename(const void *bitmap, int slots, int max_slots);
/linux-4.19.296/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
/linux-4.19.296/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()
1400 rm_quota = kcalloc(osb->max_slots, sizeof(int), GFP_NOFS); in __ocfs2_recovery_thread()
1553 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode()
1839 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes()
1965 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan()
2361 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
Dsysfile.c75 osb->max_slots), in get_local_system_inode()
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()
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.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.h349 unsigned int max_slots; member
Dsuballoc.c937 for (i = 0; i < osb->max_slots; i++, slot++) { in ocfs2_steal_resource()
938 if (slot == osb->max_slots) in ocfs2_steal_resource()
2739 (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()
/linux-4.19.296/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()
/linux-4.19.296/include/linux/
Dvisorbus.h166 u32 max_slots; member
/linux-4.19.296/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()
/linux-4.19.296/drivers/pci/hotplug/
Dibmphp_core.c46 static int max_slots; variable
550 if ((number > max_slots) || (number < 0)) in validate()
1332 max_slots = get_max_slots(); in ibmphp_init()
/linux-4.19.296/include/linux/sunrpc/
Dxprt.h261 max_slots; /* max rpc_slots used */ member