Home
last modified time | relevance | path

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

12

/linux/tools/testing/radix-tree/
H A 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()
/linux/fs/f2fs/
H A Ddir.c178 int *max_slots, in find_in_block() argument
187 return f2fs_find_target_dentry(&d, fname, max_slots, use_hash); in find_in_block()
212 const struct f2fs_filename *fname, int *max_slots, in f2fs_find_target_dentry() argument
220 if (max_slots) in f2fs_find_target_dentry()
221 *max_slots = 0; in f2fs_find_target_dentry()
246 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
247 *max_slots = max_len; in f2fs_find_target_dentry()
255 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
272 int max_slots; find_in_level() local
605 f2fs_room_for_filename(const void * bitmap,int slots,int max_slots) f2fs_room_for_filename() argument
[all...]
/linux/arch/arm/kernel/
H A Dhw_breakpoint.c330 int i, max_slots, ctrl_base, val_base; in arch_install_hw_breakpoint() local
341 max_slots = core_num_brps; in arch_install_hw_breakpoint()
347 max_slots = core_num_wrps; in arch_install_hw_breakpoint()
350 for (i = 0; i < max_slots; ++i) { in arch_install_hw_breakpoint()
359 if (i == max_slots) { in arch_install_hw_breakpoint()
387 int i, max_slots, base; in arch_uninstall_hw_breakpoint() local
393 max_slots = core_num_brps; in arch_uninstall_hw_breakpoint()
398 max_slots = core_num_wrps; in arch_uninstall_hw_breakpoint()
402 for (i = 0; i < max_slots; ++i) { in arch_uninstall_hw_breakpoint()
411 if (i == max_slots) { in arch_uninstall_hw_breakpoint()
[all...]
/linux/fs/nfs/
H A 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()
247 dprintk("--> %s used_slots=%04lx highest_used=%u max_slots=%u\n", in nfs4_alloc_slot()
265 if (max_reqs <= tbl->max_slots) in nfs4_grow_slot_table()
302 dprintk("--> %s: max_reqs=%u, tbl->max_slots %u\n", __func__, in nfs4_realloc_slot_table()
303 max_reqs, tbl->max_slots); in nfs4_realloc_slot_table()
316 dprintk("%s: tbl=%p slots=%p max_slots=%u\n", __func__, in nfs4_realloc_slot_table()
317 tbl, tbl->slots, tbl->max_slots); in nfs4_realloc_slot_table()
[all...]
H A Dnfs4session.h46 u32 max_slots; /* # slots in table */ member
/linux/fs/ocfs2/
H A Dslot_map.c215 bytes_needed = osb->max_slots * in ocfs2_slot_map_physical_size()
218 bytes_needed = osb->max_slots * sizeof(__le16); in ocfs2_slot_map_physical_size()
291 BUG_ON(slot_num >= osb->max_slots); in ocfs2_slot_to_node_num_locked()
362 BUG_ON((osb->max_slots / si->si_slots_per_block) > blocks); in ocfs2_map_slot_buffers()
405 si = kzalloc(struct_size(si, si_slots, osb->max_slots), GFP_KERNEL); in ocfs2_init_slot_info()
413 si->si_num_slots = osb->max_slots; in ocfs2_init_slot_info()
H A Djournal.c118 osb->max_slots), in ocfs2_compute_replay_slots()
127 replay_map->rm_slots = osb->max_slots; in ocfs2_compute_replay_slots()
181 rm = kzalloc(struct_size(rm, rm_entries, osb->max_slots), in ocfs2_recovery_init()
280 BUG_ON(rm->rm_used >= osb->max_slots); in ocfs2_recovery_map_set()
1490 rm_quota = kcalloc(osb->max_slots, sizeof(int), GFP_NOFS); in __ocfs2_recovery_thread()
1654 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode()
1938 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes()
2064 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan()
2460 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
H A Dsysfile.c59 osb->max_slots), in get_local_system_inode()
H A 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()
2016 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2017 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super()
2019 osb->max_slots); in ocfs2_initialize_super()
2058 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super()
2067 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
H A Dioctl.c190 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
349 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
H A Docfs2.h374 unsigned int max_slots; member
H A Dsuballoc.c927 for (i = 0; i < osb->max_slots; i++, slot++) { in ocfs2_steal_resource()
928 if (slot == osb->max_slots) in ocfs2_steal_resource()
2825 (u32)le16_to_cpu(inode_fe->i_suballoc_slot) > osb->max_slots - 1) { in ocfs2_get_suballoc_slot_bit()
/linux/tools/testing/selftests/kvm/
H A Dmmu_stress_test.c284 int max_slots, slot, opt, fd; in main() local
298 max_slots = kvm_check_cap(KVM_CAP_NR_MEMSLOTS); in main()
299 TEST_ASSERT(max_slots > first_slot, "KVM is broken"); in main()
352 for (slot = first_slot; slot < max_slots; slot++) { in main()
/linux/drivers/net/fddi/skfp/h/
H A Dtargethw.h71 short max_slots ; /* maximum number of slots */ member
/linux/fs/dlm/
H A Dmember.c166 int array_size, max_slots, i; in dlm_slots_assign() local
269 max_slots = (DLM_MAX_APP_BUFSIZE - sizeof(struct dlm_rcom) - in dlm_slots_assign()
272 if (num > max_slots) { in dlm_slots_assign()
273 log_error(ls, "num_slots %d exceeds max_slots %d", in dlm_slots_assign()
274 num, max_slots); in dlm_slots_assign()
/linux/sound/hda/common/
H A Dcontroller.c1200 int azx_probe_codecs(struct azx *chip, unsigned int max_slots) in azx_probe_codecs() argument
1206 if (!max_slots) in azx_probe_codecs()
1207 max_slots = AZX_DEFAULT_CODECS; in azx_probe_codecs()
1210 for (c = 0; c < max_slots; c++) { in azx_probe_codecs()
1236 for (c = 0; c < max_slots; c++) { in azx_probe_codecs()
H A Dhda_controller.h210 int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
/linux/tools/testing/selftests/hid/tests/
H A Dtest_multitouch.py289 def __init__(self, max_slots): argument
290 self.max_slots = max_slots
334 {rdesc_finger_str * self.max_slots}
347 Logical Maximum ({self.max_slots})
353 super().__init__(f"uhid test parallel {self.max_slots}", rdesc_str)
358 self.max_slots = 10
409 Logical Maximum ({self.max_slots})
419 def __init__(self, max_slots): argument
420 self.max_slots
[all...]
/linux/drivers/pci/hotplug/
H A Dibmphp_core.c46 static int max_slots; variable
466 if ((number > max_slots) || (number < 0)) in validate()
1219 max_slots = get_max_slots(); in ibmphp_init()
/linux/fs/ocfs2/cluster/
H A Dheartbeat.c512 unsigned int max_slots, blk_opf_t opf) in o2hb_setup_one_bio() argument
539 while(cs < max_slots) { in o2hb_setup_one_bio()
544 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio()
563 unsigned int max_slots) in o2hb_read_slots() argument
572 while(current_slot < max_slots) { in o2hb_read_slots()
573 bio = o2hb_setup_one_bio(reg, &wc, &current_slot, max_slots, in o2hb_read_slots()
/linux/drivers/input/
H A Devdev.c923 int max_slots; in evdev_handle_mt_request() local
931 max_slots = (size - sizeof(__u32)) / sizeof(__s32); in evdev_handle_mt_request()
932 for (i = 0; i < mt->num_slots && i < max_slots; i++) { in evdev_handle_mt_request()
/linux/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.h295 int max_slots; member
/linux/include/linux/sunrpc/
H A Dxprt.h305 max_slots; /* max rpc_slots used */ member
/linux/kernel/dma/
H A Dswiotlb.c1024 unsigned long max_slots = get_max_slots(boundary_mask); in swiotlb_search_pool_area() local
1084 max_slots)) { in swiotlb_search_pool_area()
/linux/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser2.c3489 unsigned int max_slots; in bios_get_board_layout_info() local
3505 max_slots = MAX_BOARD_SLOTS; in bios_get_board_layout_info()
3509 max_slots = 1; in bios_get_board_layout_info()
3512 for (i = 0; i < max_slots; ++i) { in bios_get_board_layout_info()

12