/mm/ |
D | page_owner.c | 58 unsigned long entries[4]; in create_dummy_stack() local 61 nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 0); in create_dummy_stack() 62 return stack_depot_save(entries, nr_entries, GFP_KERNEL); in create_dummy_stack() 103 static inline bool check_recursive_alloc(unsigned long *entries, in check_recursive_alloc() argument 110 if (entries[i] == ip) in check_recursive_alloc() 118 unsigned long entries[PAGE_OWNER_STACK_DEPTH]; in save_stack() local 122 nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 2); in save_stack() 132 if (check_recursive_alloc(entries, nr_entries, _RET_IP_)) in save_stack() 135 handle = stack_depot_save(entries, nr_entries, flags); in save_stack() 343 unsigned long *entries; in print_page_owner() local [all …]
|
D | page_ext.c | 77 int entries = ARRAY_SIZE(page_ext_ops); in invoke_need_callbacks() local 80 for (i = 0; i < entries; i++) { in invoke_need_callbacks() 94 int entries = ARRAY_SIZE(page_ext_ops); in invoke_init_callbacks() local 96 for (i = 0; i < entries; i++) { in invoke_init_callbacks()
|
D | slab_common.c | 210 memcpy(new->entries, old->entries, in update_memcg_params() 671 if (arr->entries[idx]) in memcg_create_kmem_cache() 701 arr->entries[idx] = s; in memcg_create_kmem_cache() 809 c = arr->entries[idx]; in memcg_deactivate_kmem_caches() 814 arr->entries[idx] = NULL; in memcg_deactivate_kmem_caches() 850 c = arr->entries[i]; in shutdown_memcg_caches() 867 arr->entries[i] = NULL; in shutdown_memcg_caches()
|
D | memcontrol.c | 2898 memcg_cachep = READ_ONCE(arr->entries[kmemcg_id]); in memcg_kmem_get_cache() 3986 for (; i >= 0 && unlikely(t->entries[i].threshold > usage); i--) in __mem_cgroup_threshold() 3987 eventfd_signal(t->entries[i].eventfd, 1); in __mem_cgroup_threshold() 3998 for (; i < t->size && unlikely(t->entries[i].threshold <= usage); i++) in __mem_cgroup_threshold() 3999 eventfd_signal(t->entries[i].eventfd, 1); in __mem_cgroup_threshold() 4084 new = kmalloc(struct_size(new, entries, size), GFP_KERNEL); in __mem_cgroup_usage_register_event() 4093 memcpy(new->entries, thresholds->primary->entries, (size - 1) * in __mem_cgroup_usage_register_event() 4098 new->entries[size - 1].eventfd = eventfd; in __mem_cgroup_usage_register_event() 4099 new->entries[size - 1].threshold = threshold; in __mem_cgroup_usage_register_event() 4102 sort(new->entries, size, sizeof(struct mem_cgroup_threshold), in __mem_cgroup_usage_register_event() [all …]
|
D | slab.c | 532 static struct array_cache *alloc_arraycache(int node, int entries, in alloc_arraycache() argument 535 size_t memsize = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_arraycache() 547 init_arraycache(ac, entries, batchcount); in alloc_arraycache() 633 static struct alien_cache *__alloc_alien_cache(int node, int entries, in __alloc_alien_cache() argument 636 size_t memsize = sizeof(void *) * entries + sizeof(struct alien_cache); in __alloc_alien_cache() 642 init_arraycache(&alc->ac, entries, batch); in __alloc_alien_cache() 1722 struct kmem_cache *cachep, int entries, int batchcount) in alloc_kmem_cache_cpus() argument 1728 size = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_kmem_cache_cpus() 1736 entries, batchcount); in alloc_kmem_cache_cpus()
|
D | swapfile.c | 1396 void swapcache_free_entries(swp_entry_t *entries, int n) in swapcache_free_entries() argument 1413 sort(entries, n, sizeof(entries[0]), swp_entry_cmp, NULL); in swapcache_free_entries() 1415 p = swap_info_get_cont(entries[i], prev); in swapcache_free_entries() 1417 swap_entry_free(p, entries[i]); in swapcache_free_entries()
|
D | slab.h | 37 struct kmem_cache *entries[0]; member
|
D | filemap.c | 1726 struct page **entries, pgoff_t *indices) in find_get_entries() argument 1757 entries[ret] = page; in find_get_entries()
|
D | shmem.c | 1123 struct page **entries, pgoff_t *indices, in shmem_find_swap_entries() argument 1150 entries[ret] = page; in shmem_find_swap_entries()
|
/mm/kasan/ |
D | common.c | 50 static inline unsigned int filter_irq_stacks(unsigned long *entries, in filter_irq_stacks() argument 56 if (in_irqentry_text(entries[i])) { in filter_irq_stacks() 66 unsigned long entries[KASAN_STACK_DEPTH]; in save_stack() local 69 nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 0); in save_stack() 70 nr_entries = filter_irq_stacks(entries, nr_entries); in save_stack() 71 return stack_depot_save(entries, nr_entries, flags); in save_stack()
|
D | report.c | 104 unsigned long *entries; in print_track() local 107 nr_entries = stack_depot_fetch(track->stack, &entries); in print_track() 108 stack_trace_print(entries, nr_entries, 0); in print_track()
|