Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 6 of 6) sorted by relevance

/lib/
Dstackdepot.c73 unsigned long entries[1]; /* Variable-sized array of entries. */ member
108 static struct stack_record *depot_alloc_stack(unsigned long *entries, int size, in depot_alloc_stack() argument
111 int required_size = offsetof(struct stack_record, entries) + in depot_alloc_stack()
143 memcpy(stack->entries, entries, size * sizeof(unsigned long)); in depot_alloc_stack()
159 static inline u32 hash_stack(unsigned long *entries, unsigned int size) in hash_stack() argument
161 return jhash2((u32 *)entries, in hash_stack()
168 unsigned long *entries, int size, in find_stack() argument
176 !memcmp(entries, found->entries, in find_stack()
192 trace->entries = stack->entries; in depot_fetch_stack()
217 hash = hash_stack(trace->entries, trace->nr_entries); in depot_save_stack()
[all …]
Dtest_rhashtable.c31 static int entries = 50000; variable
32 module_param(entries, int, 0);
33 MODULE_PARM_DESC(entries, "Number of entries to add (default: 50000)");
83 for (i = 0; i < entries * 2; i++) { in test_rht_lookup()
150 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats()
152 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()
167 pr_info(" Adding %d keys\n", entries); in test_rhashtable()
169 for (i = 0; i < entries; i++) { in test_rhashtable()
197 pr_info(" Deleting %d keys\n", entries); in test_rhashtable()
198 for (i = 0; i < entries; i++) { in test_rhashtable()
[all …]
Dfault-inject.c70 unsigned long entries[MAX_STACK_TRACE_DEPTH]; in fail_stacktrace() local
78 trace.entries = entries; in fail_stacktrace()
84 if (attr->reject_start <= entries[n] && in fail_stacktrace()
85 entries[n] < attr->reject_end) in fail_stacktrace()
87 if (attr->require_start <= entries[n] && in fail_stacktrace()
88 entries[n] < attr->require_end) in fail_stacktrace()
Ddynamic_debug.c979 int n = 0, entries = 0, modct = 0; in dynamic_debug_init() local
990 entries++; in dynamic_debug_init()
1011 modct, entries, (int)(modct * sizeof(struct ddebug_table)), in dynamic_debug_init()
Ddma-debug.c673 entry->stacktrace.entries = entry->st_entries; in dma_entry_alloc()
DKconfig.debug521 int "Maximum kmemleak early log entries"
1585 bool "Debugfs entries for fault-injection capabilities"