Home
last modified time | relevance | path

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

/lib/
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()
47 pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, 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()
66 pr_err("find_first_and_bit: %18llu ns, %6ld iterations\n", time, 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()
80 pr_err("find_next_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_next_bit()
87 unsigned long i, cnt; in test_find_next_zero_bit() local
[all …]
Dseq_buf.c311 int seq_buf_to_user(struct seq_buf *s, char __user *ubuf, int cnt) argument
316 if (!cnt)
325 if (cnt > len)
326 cnt = len;
327 ret = copy_to_user(ubuf, s->buffer + s->readpos, cnt);
328 if (ret == cnt)
331 cnt -= ret;
333 s->readpos += cnt;
334 return cnt;
Ddebugobjects.c165 int cnt; in fill_pool() local
167 for (cnt = 0; cnt < ODEBUG_BATCH_SIZE; cnt++) { in fill_pool()
168 new[cnt] = kmem_cache_zalloc(obj_cache, gfp); in fill_pool()
169 if (!new[cnt]) in fill_pool()
172 if (!cnt) in fill_pool()
176 while (cnt) { in fill_pool()
177 hlist_add_head(&new[--cnt]->node, &obj_pool); in fill_pool()
191 int cnt = 0; in lookup_object() local
194 cnt++; in lookup_object()
198 if (cnt > debug_objects_maxchain) in lookup_object()
[all …]
Dtest_rhashtable.c477 unsigned int i, cnt = 0; in print_ht() local
504 cnt++; in print_ht()
517 return cnt; in print_ht()
521 int cnt, bool slow) in test_insert_dup() argument
538 for (i = 0; i < cnt; i++) { in test_insert_dup()
552 if (WARN(err, "error %d on element %d/%d (%s)\n", err, i, cnt, slow? "slow" : "fast")) in test_insert_dup()
557 WARN(ret != cnt, "missing rhltable elements (%d != %d, %s)\n", ret, cnt, slow? "slow" : "fast"); in test_insert_dup()
Dbch.c944 int cnt; in find_poly_roots() local
950 cnt = find_poly_deg1_roots(bch, poly, roots); in find_poly_roots()
953 cnt = find_poly_deg2_roots(bch, poly, roots); in find_poly_roots()
956 cnt = find_poly_deg3_roots(bch, poly, roots); in find_poly_roots()
959 cnt = find_poly_deg4_roots(bch, poly, roots); in find_poly_roots()
963 cnt = 0; in find_poly_roots()
967 cnt += find_poly_roots(bch, k+1, f1, roots); in find_poly_roots()
969 cnt += find_poly_roots(bch, k+1, f2, roots+cnt); in find_poly_roots()
973 return cnt; in find_poly_roots()
Dtest_bitmap.c226 unsigned long b, bit, cnt = 0; in test_find_nth_bit() local
260 b = find_nth_bit(exp1, EXP1_IN_BITS, cnt++); in test_find_nth_bit()
/lib/mpi/
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()
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()
Dmpi-internal.h208 unsigned cnt);
210 unsigned cnt);