Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 13 of 13) sorted by relevance

/lib/
A Datomic64.c53 val = v->counter; in generic_atomic64_read()
67 v->counter = i; in generic_atomic64_set()
112 val = v->counter; \
149 val = v->counter - 1; in generic_atomic64_dec_if_positive()
151 v->counter = val; in generic_atomic64_dec_if_positive()
166 val = v->counter; in generic_atomic64_cmpxchg()
168 v->counter = n; in generic_atomic64_cmpxchg()
183 val = v->counter; in generic_atomic64_xchg()
184 v->counter = new; in generic_atomic64_xchg()
199 val = v->counter; in generic_atomic64_fetch_add_unless()
[all …]
A Datomic64_test.c159 BUG_ON(v.counter != r); in test_atomic64()
163 BUG_ON(v.counter != r); in test_atomic64()
193 BUG_ON(v.counter != r); in test_atomic64()
198 BUG_ON(v.counter != r); in test_atomic64()
208 BUG_ON(v.counter != r); in test_atomic64()
213 BUG_ON(v.counter != r); in test_atomic64()
218 BUG_ON(v.counter != r); in test_atomic64()
222 BUG_ON(v.counter != r); in test_atomic64()
226 BUG_ON(v.counter != r); in test_atomic64()
231 BUG_ON(v.counter != r); in test_atomic64()
[all …]
A Dalloc_tag.c90 struct alloc_tag_counters counter = alloc_tag_read(tag); in alloc_tag_to_text() local
91 s64 bytes = counter.bytes; in alloc_tag_to_text()
93 seq_buf_printf(out, "%12lli %8llu ", bytes, counter.calls); in alloc_tag_to_text()
140 struct alloc_tag_counters counter = alloc_tag_read(ct_to_alloc_tag(ct)); in alloc_tag_top_users() local
143 n.bytes = counter.bytes; in alloc_tag_top_users()
345 struct alloc_tag_counters counter; in clean_unused_counters() local
350 counter = alloc_tag_read(tag); in clean_unused_counters()
351 if (!counter.bytes) { in clean_unused_counters()
584 struct alloc_tag_counters counter; in release_module_tags() local
589 counter = alloc_tag_read(tag); in release_module_tags()
[all …]
A DKconfig.debug769 bool "Debug percpu counter objects"
773 percpu counter routines to track the life time of percpu counter
774 objects and validate the percpu counter operations.
1180 verifying that a counter is increasing.
/lib/vdso/
A Dgetrandom.c80 u32 counter[2] = { 0 }; in __cvdso_getrandom_data() local
240 __arch_chacha20_blocks_nostack(buffer, state->key, counter, nblocks); in __cvdso_getrandom_data()
248 __arch_chacha20_blocks_nostack(state->batch_key, state->key, counter, in __cvdso_getrandom_data()
/lib/crypto/powerpc/
A Dchacha-p10le-8x.S608 lxvw4x 51, 19, 3 # vr19, counter, nonce
617 vsldoi 30, 4, 5, 8 # vr30 counter, 4 (0, 1, 2, 3)
643 vadduwm 31, 30, 25 # counter = (0, 1, 2, 3) + (4, 4, 4, 4)
673 vadduwm 12, 12, 30 # increase counter
690 vadduwm 28, 28, 31 # increase counter
765 lxvw4x 51, 19, 3 # vr19, counter, nonce
792 vadduwm 12, 12, 30 # increase counter
814 # Update state counter
A Dpoly1305-p10le_64.S537 li 21, 0 # counter to message
/lib/crypto/s390/
A Dchacha-s390.h12 const u32 *counter);
A Dchacha-s390.S41 # counst u32 *key, const u32 *counter)
92 VL K3,0,,COUNTER # load counter
425 # counst u32 *key, const u32 *counter)
489 VL K3,0,,COUNTER # load counter
/lib/tests/
A Doverflow_kunit.c1176 u32 counter; member
1177 s16 array[] __counted_by(counter);
1182 u32 counter; member
1189 DEFINE_FLEX(struct foo, eight, array, counter, 8); in DEFINE_FLEX_test()
1190 DEFINE_FLEX(struct foo, empty, array, counter, 0); in DEFINE_FLEX_test()
/lib/crypto/x86/
A Dchacha-ssse3-x86_64.S280 # x12 += counter values 0-3
567 # x12 += counter values 0-3
A Dchacha-avx2-x86_64.S585 # x12 += counter values 0-3
814 # x12 += counter values 0-3
A Dchacha-avx512vl-x86_64.S490 # x12 += counter values 0-3

Completed in 26 milliseconds