Home
last modified time | relevance | path

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

/lib/
A Dpercpu_counter.c98 count = this_cpu_read(*fbc->counters); in percpu_counter_add_batch()
133 this_cpu_add(*fbc->counters, amount); in percpu_counter_add_batch()
154 __this_cpu_sub(*fbc->counters, count); in percpu_counter_sync()
194 s32 __percpu *counters; in __percpu_counter_init_many() local
197 counter_size = ALIGN(sizeof(*counters), __alignof__(*counters)); in __percpu_counter_init_many()
200 if (!counters) { in __percpu_counter_init_many()
201 fbc[0].counters = NULL; in __percpu_counter_init_many()
212 fbc[i].counters = (void __percpu *)counters + i * counter_size; in __percpu_counter_init_many()
235 if (!fbc[0].counters) in percpu_counter_destroy_many()
248 free_percpu(fbc[0].counters); in percpu_counter_destroy_many()
[all …]
A Dstackdepot.c87 static long counters[DEPOT_COUNTER_COUNT]; variable
413 counters[DEPOT_COUNTER_FREELIST_SIZE]--; in depot_pop_free()
470 counters[DEPOT_COUNTER_REFD_ALLOCS]++; in depot_alloc_stack()
471 counters[DEPOT_COUNTER_REFD_INUSE]++; in depot_alloc_stack()
475 counters[DEPOT_COUNTER_PERSIST_COUNT]++; in depot_alloc_stack()
476 counters[DEPOT_COUNTER_PERSIST_BYTES] += record_size; in depot_alloc_stack()
552 counters[DEPOT_COUNTER_FREELIST_SIZE]++; in depot_free_stack()
553 counters[DEPOT_COUNTER_REFD_FREES]++; in depot_free_stack()
554 counters[DEPOT_COUNTER_REFD_INUSE]--; in depot_free_stack()
853 seq_printf(seq, "%s: %ld\n", counter_names[i], data_race(counters[i])); in stats_show()
A Dalloc_tag.c347 if (!tag->counters) in clean_unused_counters()
352 free_percpu(tag->counters); in clean_unused_counters()
353 tag->counters = NULL; in clean_unused_counters()
586 if (!tag->counters) in release_module_tags()
620 WARN_ON(tag->counters); in load_module()
621 tag->counters = alloc_percpu(struct alloc_tag_counters); in load_module()
622 if (!tag->counters) { in load_module()
624 free_percpu(tag->counters); in load_module()
625 tag->counters = NULL; in load_module()
636 kmemleak_ignore_percpu(tag->counters); in load_module()
/lib/crypto/powerpc/
A Dchacha-p10le-8x.S610 # create (0, 1, 2, 3) counters

Completed in 23 milliseconds