Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 10 of 10) sorted by relevance

/tools/testing/radix-tree/
Dregression3.c35 void **slot; in regression3_test() local
44 radix_tree_for_each_tagged(slot, &root, &iter, 0, 0) { in regression3_test()
45 printv(2, "tagged %ld %p\n", iter.index, *slot); in regression3_test()
51 if (radix_tree_deref_retry(*slot)) { in regression3_test()
53 slot = radix_tree_iter_retry(&iter); in regression3_test()
60 radix_tree_for_each_slot(slot, &root, &iter, 0) { in regression3_test()
61 printv(2, "slot %ld %p\n", iter.index, *slot); in regression3_test()
66 if (radix_tree_deref_retry(*slot)) { in regression3_test()
68 slot = radix_tree_iter_retry(&iter); in regression3_test()
75 radix_tree_for_each_contig(slot, &root, &iter, 0) { in regression3_test()
[all …]
Dtest.c166 void **slot; in tag_tagged_items() local
173 radix_tree_for_each_tagged(slot, root, &iter, start, iftag) { in tag_tagged_items()
180 slot = radix_tree_iter_resume(slot, &iter); in tag_tagged_items()
197 void **slot; in find_item() local
201 radix_tree_for_each_slot(slot, root, &iter, 0) { in find_item()
202 if (*slot == item) { in find_item()
209 slot = radix_tree_iter_resume(slot, &iter); in find_item()
215 static int verify_node(struct radix_tree_node *slot, unsigned int tag, in verify_node() argument
222 slot = entry_to_node(slot); in verify_node()
226 if (slot->tags[tag][i]) { in verify_node()
[all …]
Diteration_check.c68 void **slot; in tagged_iteration_fn() local
74 radix_tree_for_each_tagged(slot, &tree, &iter, 0, TAG) { in tagged_iteration_fn()
75 void *entry = radix_tree_deref_slot(slot); in tagged_iteration_fn()
80 slot = radix_tree_iter_retry(&iter); in tagged_iteration_fn()
85 slot = radix_tree_iter_resume(slot, &iter); in tagged_iteration_fn()
109 void **slot; in untagged_iteration_fn() local
115 radix_tree_for_each_slot(slot, &tree, &iter, 0) { in untagged_iteration_fn()
116 void *entry = radix_tree_deref_slot(slot); in untagged_iteration_fn()
121 slot = radix_tree_iter_retry(&iter); in untagged_iteration_fn()
126 slot = radix_tree_iter_resume(slot, &iter); in untagged_iteration_fn()
Dmultiorder.c149 void **slot; in multiorder_check() local
169 slot = radix_tree_lookup_slot(&tree, index); in multiorder_check()
170 free(*slot); in multiorder_check()
171 radix_tree_replace_slot(&tree, slot, item2); in multiorder_check()
235 void **slot; in multiorder_iteration() local
254 radix_tree_for_each_slot(slot, &tree, &iter, j) { in multiorder_iteration()
258 struct item *item = *slot; in multiorder_iteration()
276 void **slot; in multiorder_tagged_iteration() local
306 radix_tree_for_each_tagged(slot, &tree, &iter, j, 1) { in multiorder_tagged_iteration()
308 struct item *item = *slot; in multiorder_tagged_iteration()
[all …]
Dbenchmark.c32 void **slot; in benchmark_iter() local
40 radix_tree_for_each_tagged(slot, root, &iter, 0, 0) in benchmark_iter()
41 sink ^= (unsigned long)slot; in benchmark_iter()
43 radix_tree_for_each_slot(slot, root, &iter, 0) in benchmark_iter()
44 sink ^= (unsigned long)slot; in benchmark_iter()
Dtag_check.c339 void **slot; in radix_tree_clear_tags_test() local
345 __radix_tree_lookup(&tree, 0, &node, &slot); in radix_tree_clear_tags_test()
346 radix_tree_clear_tags(&tree, node, slot); in radix_tree_clear_tags_test()
354 radix_tree_for_each_slot(slot, &tree, &iter, 0) { in radix_tree_clear_tags_test()
355 radix_tree_clear_tags(&tree, iter.node, slot); in radix_tree_clear_tags_test()
/tools/power/cpupower/utils/helpers/
Dpci.c27 int slot, int func, int vendor, int dev) in pci_acc_init() argument
39 filter_nb_link.slot = slot; in pci_acc_init()
57 struct pci_dev *pci_slot_func_init(struct pci_access **pacc, int slot, in pci_slot_func_init() argument
60 return pci_acc_init(pacc, 0, 0, slot, func, -1, -1); in pci_slot_func_init()
Dhelpers.h117 int bus, int slot, int func, int vendor,
120 int slot, int func);
/tools/arch/x86/include/uapi/asm/
Dkvm.h56 __u32 slot; /* this has a different namespace than memory slots */ member
/tools/include/uapi/linux/
Dkvm.h90 __u32 slot; member
98 __u32 slot; member
477 __u32 slot; member