Home
last modified time | relevance | path

Searched refs:counters (Results 1 – 7 of 7) sorted by relevance

/mm/kfence/
A Dcore.c185 static atomic_long_t counters[KFENCE_COUNTER_COUNT]; variable
340 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); in check_canary_byte()
434 atomic_long_inc(&counters[KFENCE_COUNTER_SKIP_CAPACITY]); in kfence_guarded_alloc()
508 atomic_long_inc(&counters[KFENCE_COUNTER_ALLOCATED]); in kfence_guarded_alloc()
509 atomic_long_inc(&counters[KFENCE_COUNTER_ALLOCS]); in kfence_guarded_alloc()
524 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); in kfence_guarded_free()
575 atomic_long_dec(&counters[KFENCE_COUNTER_ALLOCATED]); in kfence_guarded_free()
576 atomic_long_inc(&counters[KFENCE_COUNTER_FREES]); in kfence_guarded_free()
579 atomic_long_inc(&counters[KFENCE_COUNTER_ZOMBIES]); in kfence_guarded_free()
1134 atomic_long_inc(&counters[KFENCE_COUNTER_SKIP_COVERED]); in __kfence_alloc()
[all …]
/mm/
A Dslub.c3146 old.counters = READ_ONCE(slab->counters); in deactivate_slab()
3150 new.counters = old.counters; in deactivate_slab()
3660 counters = slab->counters; in get_freelist()
3662 new.counters = counters; in get_freelist()
3668 freelist, counters, in get_freelist()
3669 NULL, new.counters, in get_freelist()
3686 counters = slab->counters; in freeze_slab()
3688 new.counters = counters; in freeze_slab()
4508 counters = slab->counters; in __slab_free()
4510 new.counters = counters; in __slab_free()
[all …]
A Dvmalloc.c4994 unsigned int *counters) in show_numa_info() argument
4999 if (!counters) in show_numa_info()
5002 memset(counters, 0, nr_node_ids * sizeof(unsigned int)); in show_numa_info()
5005 counters[page_to_nid(v->pages[nr])] += step; in show_numa_info()
5007 if (counters[nr]) in show_numa_info()
5008 seq_printf(m, " N%u=%u", nr, counters[nr]); in show_numa_info()
5032 unsigned int *counters; in vmalloc_info_show() local
5035 counters = kmalloc(nr_node_ids * sizeof(unsigned int), GFP_KERNEL); in vmalloc_info_show()
5090 show_numa_info(m, v, counters); in vmalloc_info_show()
5102 kfree(counters); in vmalloc_info_show()
A DKconfig.debug304 Say Y here to enable success, retry and failure counters of page
306 counters are exposed in /proc/vmstat. This information is useful for
A Dslab.h72 unsigned long counters; member
A DKconfig1184 bool "Enable VM event counters for /proc/vmstat" if EXPERT
1186 VM event counters are needed for event counts to be shown.
1187 This option allows the disabling of the VM event counters
1189 if VM event counters are disabled.
A Dpage_alloc.c1293 this_cpu_sub(tag->counters->bytes, PAGE_SIZE * nr); in pgalloc_tag_sub_pages()

Completed in 50 milliseconds