Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/radix-tree/
Dregression2.c80 int max_slots = RADIX_TREE_MAP_SIZE; in regression2_test() local
86 for (i = 0; i <= max_slots - 1; i++) { in regression2_test()
90 radix_tree_tag_set(&mt_tree, max_slots - 1, PAGECACHE_TAG_DIRTY); in regression2_test()
94 end = max_slots - 2; in regression2_test()
100 radix_tree_insert(&mt_tree, max_slots, p); in regression2_test()
103 radix_tree_tag_clear(&mt_tree, max_slots - 1, PAGECACHE_TAG_DIRTY); in regression2_test()
106 for (i = max_slots - 1; i >= 0; i--) in regression2_test()
113 end = max_slots - 2; in regression2_test()
118 free(radix_tree_delete(&mt_tree, max_slots)); in regression2_test()
/kernel/linux/linux-5.10/fs/f2fs/
Ddir.c194 int *max_slots) in find_in_block() argument
202 return f2fs_find_target_dentry(&d, fname, max_slots); in find_in_block()
254 const struct f2fs_filename *fname, int *max_slots) in f2fs_find_target_dentry() argument
260 if (max_slots) in f2fs_find_target_dentry()
261 *max_slots = 0; in f2fs_find_target_dentry()
281 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
282 *max_slots = max_len; in f2fs_find_target_dentry()
290 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
291 *max_slots = max_len; in f2fs_find_target_dentry()
306 int max_slots; in find_in_level() local
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dhw_breakpoint.c188 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
195 for (i = 0; i < max_slots; ++i) { in hw_breakpoint_slot_setup()
228 int i, max_slots, ctrl_reg, val_reg, reg_enable; in hw_breakpoint_control() local
237 max_slots = core_num_brps; in hw_breakpoint_control()
244 max_slots = core_num_wrps; in hw_breakpoint_control()
248 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
582 int i, max_slots, privilege; in toggle_bp_registers() local
589 max_slots = core_num_brps; in toggle_bp_registers()
593 max_slots = core_num_wrps; in toggle_bp_registers()
599 for (i = 0; i < max_slots; ++i) { in toggle_bp_registers()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dhw_breakpoint.c329 int i, max_slots, ctrl_base, val_base; in arch_install_hw_breakpoint() local
340 max_slots = core_num_brps; in arch_install_hw_breakpoint()
346 max_slots = core_num_wrps; in arch_install_hw_breakpoint()
349 for (i = 0; i < max_slots; ++i) { in arch_install_hw_breakpoint()
358 if (i == max_slots) { in arch_install_hw_breakpoint()
386 int i, max_slots, base; in arch_uninstall_hw_breakpoint() local
392 max_slots = core_num_brps; in arch_uninstall_hw_breakpoint()
397 max_slots = core_num_wrps; in arch_uninstall_hw_breakpoint()
401 for (i = 0; i < max_slots; ++i) { in arch_uninstall_hw_breakpoint()
410 if (i == max_slots) { in arch_uninstall_hw_breakpoint()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
Dsysfile.c61 osb->max_slots), in get_local_system_inode()
Dsuper.c331 for (i = 0; i < osb->max_slots; ++i) { in ocfs2_osb_dump()
536 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { in ocfs2_release_system_inodes()
2077 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2078 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super()
2080 osb->max_slots); in ocfs2_initialize_super()
2123 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super()
2132 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
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()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
Dtargethw.h71 short max_slots ; /* maximum number of slots */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/visorbus/
Dvisorchannel.c222 sig_hdr.tail = (sig_hdr.tail + 1) % sig_hdr.max_slots; in signalremove_inner()
309 sig_hdr.head = (sig_hdr.head + 1) % sig_hdr.max_slots; in signalinsert_inner()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_controller.c1205 int azx_probe_codecs(struct azx *chip, unsigned int max_slots) in azx_probe_codecs() argument
1211 if (!max_slots) in azx_probe_codecs()
1212 max_slots = AZX_DEFAULT_CODECS; in azx_probe_codecs()
1215 for (c = 0; c < max_slots; c++) { in azx_probe_codecs()
1238 for (c = 0; c < max_slots; c++) { in azx_probe_codecs()
Dhda_controller.h211 int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
/kernel/linux/linux-5.10/include/linux/
Dvisorbus.h166 u32 max_slots; member
/kernel/linux/linux-5.10/kernel/dma/
Dswiotlb.c495 unsigned long max_slots = get_max_slots(boundary_mask); in find_slots() local
532 max_slots)) { in find_slots()
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl.c746 int c, max_slots; in skl_codec_create() local
748 max_slots = HDA_MAX_CODECS; in skl_codec_create()
751 for (c = 0; c < max_slots; c++) { in skl_codec_create()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dibmphp_core.c46 static int max_slots; variable
537 if ((number > max_slots) || (number < 0)) in validate()
1293 max_slots = get_max_slots(); in ibmphp_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_dentryfile.c820 int room_for_filename(const void *bitmap, int slots, int max_slots) in room_for_filename() argument
825 zero_start = find_next_zero_bit_le(bitmap, max_slots, bit_start); in room_for_filename()
826 if (zero_start >= max_slots) in room_for_filename()
827 return max_slots; in room_for_filename()
829 zero_end = find_next_bit_le(bitmap, max_slots, zero_start); in room_for_filename()
835 if (zero_end + 1 >= max_slots) in room_for_filename()
836 return max_slots; in room_for_filename()
/kernel/linux/linux-5.10/drivers/input/
Devdev.c925 int max_slots; in evdev_handle_mt_request() local
933 max_slots = (size - sizeof(__u32)) / sizeof(__s32); in evdev_handle_mt_request()
934 for (i = 0; i < mt->num_slots && i < max_slots; i++) { in evdev_handle_mt_request()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dxprt.h274 max_slots; /* max rpc_slots used */ member
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.h384 int max_slots; member

12