Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dpage_owner.c40 struct stack_record *stack_record; member
123 dummy_stack.stack_record = __stack_depot_get_stack_record(dummy_handle); in init_page_owner()
124 failure_stack.stack_record = __stack_depot_get_stack_record(failure_handle); in init_page_owner()
125 if (dummy_stack.stack_record) in init_page_owner()
126 refcount_set(&dummy_stack.stack_record->count, 1); in init_page_owner()
127 if (failure_stack.stack_record) in init_page_owner()
128 refcount_set(&failure_stack.stack_record->count, 1); in init_page_owner()
165 static void add_stack_record_to_list(struct stack_record *stack_record, in add_stack_record_to_list() argument
179 stack->stack_record = stack_record; in add_stack_record_to_list()
197 struct stack_record *stack_record = __stack_depot_get_stack_record(handle); in inc_stack_record_count() local
[all …]
/linux-6.12.1/lib/
Dstackdepot.c310 static struct stack_record *depot_pop_free_pool(void **prealloc, size_t size) in depot_pop_free_pool()
312 struct stack_record *stack; in depot_pop_free_pool()
344 static struct stack_record *depot_pop_free(void) in depot_pop_free()
346 struct stack_record *stack; in depot_pop_free()
359 stack = list_first_entry(&free_stacks, struct stack_record, free_list); in depot_pop_free()
369 static inline size_t depot_stack_record_size(struct stack_record *s, unsigned int nr_entries) in depot_stack_record_size()
376 return ALIGN(sizeof(struct stack_record) - unused, 1 << DEPOT_STACK_ALIGN); in depot_stack_record_size()
380 static struct stack_record *
383 struct stack_record *stack = NULL; in depot_alloc_stack()
439 static struct stack_record *depot_fetch_stack(depot_stack_handle_t handle) in depot_fetch_stack()
[all …]
/linux-6.12.1/include/linux/
Dstackdepot.h53 struct stack_record { struct
189 struct stack_record *__stack_depot_get_stack_record(depot_stack_handle_t handle);