Searched refs:counters (Results 1 – 3 of 3) sorted by relevance
/mm/kfence/ |
D | core.c | 116 static atomic_long_t counters[KFENCE_COUNTER_COUNT]; variable 221 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); in check_canary_byte() 345 atomic_long_inc(&counters[KFENCE_COUNTER_ALLOCATED]); in kfence_guarded_alloc() 346 atomic_long_inc(&counters[KFENCE_COUNTER_ALLOCS]); in kfence_guarded_alloc() 360 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); in kfence_guarded_free() 409 atomic_long_dec(&counters[KFENCE_COUNTER_ALLOCATED]); in kfence_guarded_free() 410 atomic_long_inc(&counters[KFENCE_COUNTER_FREES]); in kfence_guarded_free() 413 atomic_long_inc(&counters[KFENCE_COUNTER_ZOMBIES]); in kfence_guarded_free() 518 seq_printf(seq, "%s: %ld\n", counter_names[i], atomic_long_read(&counters[i])); in stats_show() 831 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); in kfence_handle_page_fault()
|
/mm/ |
D | slub.c | 363 if (cmpxchg_double(&page->freelist, &page->counters, in __cmpxchg_double_slab() 372 page->counters == counters_old) { in __cmpxchg_double_slab() 374 page->counters = counters_new; in __cmpxchg_double_slab() 399 if (cmpxchg_double(&page->freelist, &page->counters, in cmpxchg_double_slab() 411 page->counters == counters_old) { in cmpxchg_double_slab() 413 page->counters = counters_new; in cmpxchg_double_slab() 1966 unsigned long counters; in acquire_slab() local 1977 counters = page->counters; in acquire_slab() 1978 new.counters = counters; in acquire_slab() 1991 freelist, counters, in acquire_slab() [all …]
|
D | vmalloc.c | 3477 unsigned int nr, *counters = m->private; in show_numa_info() local 3479 if (!counters) in show_numa_info() 3487 memset(counters, 0, nr_node_ids * sizeof(unsigned int)); in show_numa_info() 3490 counters[page_to_nid(v->pages[nr])]++; in show_numa_info() 3493 if (counters[nr]) in show_numa_info() 3494 seq_printf(m, " N%u=%u", nr, counters[nr]); in show_numa_info()
|