Home
last modified time | relevance | path

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

/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/arch/arm64/kernel/
H A Dhw_breakpoint.c190 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
197 for (i = 0; i < max_slots; ++i) { in hw_breakpoint_slot_setup()
230 int i, max_slots, ctrl_reg, val_reg, reg_enable; in hw_breakpoint_control() local
239 max_slots = core_num_brps; in hw_breakpoint_control()
246 max_slots = core_num_wrps; in hw_breakpoint_control()
250 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
584 int i, max_slots, privilege; in toggle_bp_registers() local
591 max_slots = core_num_brps; in toggle_bp_registers()
595 max_slots = core_num_wrps; in toggle_bp_registers()
601 for (i = 0; i < max_slots; ++i) { in toggle_bp_registers()
/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()
/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()
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()
/linux/fs/ocfs2/
H A Dslot_map.c219 bytes_needed = osb->max_slots * in ocfs2_slot_map_physical_size()
222 bytes_needed = osb->max_slots * sizeof(__le16); in ocfs2_slot_map_physical_size()
295 BUG_ON(slot_num >= osb->max_slots); in ocfs2_slot_to_node_num_locked()
384 BUG_ON((osb->max_slots / si->si_slots_per_block) > blocks); in ocfs2_map_slot_buffers()
427 si = kzalloc_flex(*si, si_slots, osb->max_slots); in ocfs2_init_slot_info()
435 si->si_num_slots = osb->max_slots; in ocfs2_init_slot_info()
H A Dsysfile.c59 osb->max_slots), in get_local_system_inode()
H A Docfs2.h374 unsigned int max_slots; member
H A Dlocalalloc.c164 megs_per_slot = osb->osb_clusters_at_boot / osb->max_slots; in ocfs2_la_default_mb()
H A Dinode.c1490 (u32)le16_to_cpu(di->i_suballoc_slot) > OCFS2_SB(sb)->max_slots - 1) { in ocfs2_validate_inode_block()
/linux/tools/testing/selftests/kvm/
H A Dmmu_stress_test.c286 int max_slots, slot, opt, fd; in main() local
300 max_slots = kvm_check_cap(KVM_CAP_NR_MEMSLOTS); in main()
301 TEST_ASSERT(max_slots > first_slot, "KVM is broken"); in main()
353 for (slot = first_slot; slot < max_slots; slot++) { in main()
/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()
274 num, max_slots); in dlm_slots_assign()
/linux/drivers/net/fddi/skfp/h/
H A Dtargethw.h71 short max_slots ; /* maximum number of slots */ member
/linux/sound/hda/common/
H A Dcontroller.c1188 int azx_probe_codecs(struct azx *chip, unsigned int max_slots) in azx_probe_codecs()
1194 if (!max_slots) in azx_probe_codecs()
1195 max_slots = AZX_DEFAULT_CODECS; in azx_probe_codecs()
1198 for (c = 0; c < max_slots; c++) { in azx_probe_codecs()
1224 for (c = 0; c < max_slots; c++) { in azx_probe_codecs()
1186 azx_probe_codecs(struct azx * chip,unsigned int max_slots) azx_probe_codecs() argument
H A Dhda_controller.h207 int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
/linux/tools/testing/selftests/hid/tests/
H A Dtest_multitouch.py293 def __init__(self, max_slots): argument
294 self.max_slots = max_slots
362 self.max_slots = 10
423 def __init__(self, max_slots): argument
424 self.max_slots = max_slots
/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/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/include/linux/raspberrypi/
H A Dvchiq_core.h327 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.c1042 unsigned long max_slots = get_max_slots(boundary_mask); in swiotlb_search_pool_area() local
1102 max_slots)) { in swiotlb_search_pool_area()
/linux/net/sunrpc/
H A Dxprt.c1777 xprt->stat.max_slots = max_t(unsigned int, xprt->stat.max_slots, in xprt_alloc_slot()
H A Dxprtsock.c2880 xprt->stat.max_slots, in xs_local_print_stats()
2904 xprt->stat.max_slots, in xs_udp_print_stats()
2935 xprt->stat.max_slots, in xs_tcp_print_stats()
/linux/drivers/usb/host/
H A Dxhci.c485 xhci->max_slots); in xhci_enable_max_dev_slots()
489 config_reg |= xhci->max_slots; in xhci_enable_max_dev_slots()
1187 for (int i = xhci->max_slots; i > 0; i--) in xhci_resume()
4248 xhci->max_slots); in xhci_alloc_dev()
5463 xhci->max_slots = HCS_MAX_SLOTS(hcs_params1); in xhci_gen_setup()
H A Dxhci-ring.c1397 for (i = 0; i <= xhci->max_slots; i++) { in xhci_hc_died()
/linux/drivers/platform/raspberrypi/vchiq-interface/
H A Dvchiq_core.c2498 slot_zero->max_slots = VCHIQ_MAX_SLOTS; in vchiq_init_slots()