Home
last modified time | relevance | path

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

/tools/testing/radix-tree/
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()
/tools/testing/selftests/kvm/
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()
/tools/testing/selftests/hid/tests/
A Dtest_multitouch.py289 def __init__(self, max_slots): argument
290 self.max_slots = max_slots
358 self.max_slots = 10
419 def __init__(self, max_slots): argument
420 self.max_slots = max_slots

Completed in 11 milliseconds