Lines Matching refs:entries
65 unsigned long entries[1]; /* Variable-sized array of entries. */
104 static struct stack_record *depot_alloc_stack(unsigned long *entries, int size,
107 int required_size = offsetof(struct stack_record, entries) +
139 memcpy(stack->entries, entries, size * sizeof(unsigned long));
155 static inline u32 hash_stack(unsigned long *entries, unsigned int size)
157 return jhash2((u32 *)entries,
177 /* Find a stack that is equal to the one stored in entries in the hash */
179 unsigned long *entries, int size,
187 !stackdepot_memcmp(entries, found->entries, size))
194 * stack_depot_fetch - Fetch stack entries from a depot
198 * @entries: Pointer to store the entries address
200 * Return: The number of trace entries for this depot.
203 unsigned long **entries)
210 *entries = NULL;
221 *entries = stack->entries;
229 * @entries: Pointer to storage array
235 depot_stack_handle_t stack_depot_save(unsigned long *entries,
249 hash = hash_stack(entries, nr_entries);
257 found = find_stack(smp_load_acquire(bucket), entries,
286 found = find_stack(*bucket, entries, nr_entries, hash);
289 depot_alloc_stack(entries, nr_entries,
329 unsigned int filter_irq_stacks(unsigned long *entries,
335 if (in_irqentry_text(entries[i])) {