Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 12 of 12) sorted by relevance

/lib/
A Dfind_bit_benchmark.c38 unsigned long i, cnt; in test_find_first_bit() local
42 for (cnt = i = 0; i < len; cnt++) { in test_find_first_bit()
55 unsigned long i, cnt; in test_find_first_and_bit() local
61 for (cnt = i = 0; i < len; cnt++) { in test_find_first_and_bit()
73 unsigned long i, cnt; in test_find_next_bit() local
77 for (cnt = i = 0; i < BITMAP_LEN; cnt++) in test_find_next_bit()
87 unsigned long i, cnt; in test_find_next_zero_bit() local
91 for (cnt = i = 0; i < BITMAP_LEN; cnt++) in test_find_next_zero_bit()
106 cnt++; in test_find_last_bit()
137 unsigned long i, cnt; in test_find_next_and_bit() local
[all …]
A Drcuref.c194 unsigned int cnt = atomic_read(&ref->refcnt); in rcuref_get_slowpath() local
201 if (cnt >= RCUREF_RELEASED) { in rcuref_get_slowpath()
214 if (WARN_ONCE(cnt > RCUREF_MAXREF, "rcuref saturated - leaking memory")) in rcuref_get_slowpath()
237 bool rcuref_put_slowpath(rcuref_t *ref, unsigned int cnt) in rcuref_put_slowpath() argument
240 if (likely(cnt == RCUREF_NOREF)) { in rcuref_put_slowpath()
250 if (!atomic_try_cmpxchg_release(&ref->refcnt, &cnt, RCUREF_DEAD)) in rcuref_put_slowpath()
266 if (WARN_ONCE(cnt >= RCUREF_RELEASED, "rcuref - imbalanced put()")) { in rcuref_put_slowpath()
276 if (cnt > RCUREF_MAXREF) in rcuref_put_slowpath()
A Ddebugobjects.c157 if (dst->cnt >= dst->max_cnt || !src->cnt) in pool_move_batch()
177 WRITE_ONCE(src->cnt, src->cnt - ODEBUG_BATCH_SIZE); in pool_move_batch()
178 WRITE_ONCE(dst->cnt, dst->cnt + ODEBUG_BATCH_SIZE); in pool_move_batch()
194 WRITE_ONCE(dst->cnt, dst->cnt + ODEBUG_BATCH_SIZE); in pool_push_batch()
220 WRITE_ONCE(src->cnt, src->cnt - ODEBUG_BATCH_SIZE); in pool_pop_batch()
327 cnt++; in free_object_list()
370 for (int cnt = 0; cnt < ODEBUG_BATCH_SIZE; cnt++) { in kmem_alloc_batch() local
422 cnt++; in lookup_object()
494 for (int cnt = 0; cnt < ODEBUG_FREE_WORK_MAX; cnt++) { in free_obj_work() local
1087 cnt = 0; in __debug_check_no_obj_freed()
[all …]
A Dseq_buf.c355 int seq_buf_to_user(struct seq_buf *s, char __user *ubuf, size_t start, int cnt) argument
360 if (!cnt)
369 if (cnt > len)
370 cnt = len;
371 ret = copy_to_user(ubuf, s->buffer + start, cnt);
372 if (ret == cnt)
375 return cnt - ret;
A Dlwq.c85 int cnt; in lwq_exercise() local
88 for (cnt = 0; cnt < 10000; cnt++) { in lwq_exercise()
A Dtest_rhashtable.c476 unsigned int i, cnt = 0; in print_ht() local
503 cnt++; in print_ht()
516 return cnt; in print_ht()
520 int cnt, bool slow) in test_insert_dup() argument
537 for (i = 0; i < cnt; i++) { in test_insert_dup()
551 if (WARN(err, "error %d on element %d/%d (%s)\n", err, i, cnt, slow? "slow" : "fast")) in test_insert_dup()
556 WARN(ret != cnt, "missing rhltable elements (%d != %d, %s)\n", ret, cnt, slow? "slow" : "fast"); in test_insert_dup()
A Dtest_bitmap.c198 unsigned long b, bit, cnt = 0; in test_find_nth_bit() local
232 b = find_nth_bit(exp1, EXP1_IN_BITS, cnt++); in test_find_nth_bit()
1378 unsigned int cnt, nbits, i; in test_bitmap_read_perf() local
1384 for (cnt = 0; cnt < 5; cnt++) { in test_bitmap_read_perf()
1404 unsigned int cnt, nbits, i; in test_bitmap_write_perf() local
1410 for (cnt = 0; cnt < 5; cnt++) { in test_bitmap_write_perf()
A Dbch.c900 int cnt; in find_poly_roots() local
906 cnt = find_poly_deg1_roots(bch, poly, roots); in find_poly_roots()
909 cnt = find_poly_deg2_roots(bch, poly, roots); in find_poly_roots()
912 cnt = find_poly_deg3_roots(bch, poly, roots); in find_poly_roots()
915 cnt = find_poly_deg4_roots(bch, poly, roots); in find_poly_roots()
919 cnt = 0; in find_poly_roots()
923 cnt += find_poly_roots(bch, k+1, f1, roots); in find_poly_roots()
925 cnt += find_poly_roots(bch, k+1, f2, roots+cnt); in find_poly_roots()
929 return cnt; in find_poly_roots()
/lib/crypto/mpi/
A Dgeneric_mpih-lshift.c28 mpihelp_lshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned int cnt) in mpihelp_lshift() argument
35 sh_1 = cnt; in mpihelp_lshift()
A Dgeneric_mpih-rshift.c29 mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned cnt) in mpihelp_rshift() argument
36 sh_1 = cnt; in mpihelp_rshift()
A Dmpi-internal.h199 unsigned cnt);
201 unsigned cnt);
/lib/crypto/arm/
A Dsha512-armv4.pl499 my $cnt="r12"; # volatile register known as ip, intra-procedure-call scratch
611 mov $cnt,#4
613 subs $cnt,#1

Completed in 22 milliseconds