Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 8 of 8) 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()
54 unsigned long i, cnt; in test_find_next_bit() local
58 for (cnt = i = 0; i < BITMAP_LEN; cnt++) in test_find_next_bit()
61 pr_err("find_next_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_next_bit()
68 unsigned long i, cnt; in test_find_next_zero_bit() local
72 for (cnt = i = 0; i < BITMAP_LEN; cnt++) in test_find_next_zero_bit()
75 pr_err("find_next_zero_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_next_zero_bit()
82 unsigned long l, cnt = 0; in test_find_last_bit() local
[all …]
Dseq_buf.c306 int seq_buf_to_user(struct seq_buf *s, char __user *ubuf, int cnt) argument
311 if (!cnt)
320 if (cnt > len)
321 cnt = len;
322 ret = copy_to_user(ubuf, s->buffer + s->readpos, cnt);
323 if (ret == cnt)
326 cnt -= ret;
328 s->readpos += cnt;
329 return cnt;
Ddebugobjects.c163 int cnt; in fill_pool() local
165 for (cnt = 0; cnt < ODEBUG_BATCH_SIZE; cnt++) { in fill_pool()
166 new[cnt] = kmem_cache_zalloc(obj_cache, gfp); in fill_pool()
167 if (!new[cnt]) in fill_pool()
170 if (!cnt) in fill_pool()
174 while (cnt) { in fill_pool()
175 hlist_add_head(&new[--cnt]->node, &obj_pool); in fill_pool()
189 int cnt = 0; in lookup_object() local
192 cnt++; in lookup_object()
196 if (cnt > debug_objects_maxchain) in lookup_object()
[all …]
Dtest_rhashtable.c490 unsigned int i, cnt = 0; in print_ht() local
517 cnt++; in print_ht()
530 return cnt; in print_ht()
534 int cnt, bool slow) in test_insert_dup() argument
551 for (i = 0; i < cnt; i++) { in test_insert_dup()
565 if (WARN(err, "error %d on element %d/%d (%s)\n", err, i, cnt, slow? "slow" : "fast")) in test_insert_dup()
570 WARN(ret != cnt, "missing rhltable elements (%d != %d, %s)\n", ret, cnt, slow? "slow" : "fast"); in test_insert_dup()
Dbch.c887 int cnt; in find_poly_roots() local
893 cnt = find_poly_deg1_roots(bch, poly, roots); in find_poly_roots()
896 cnt = find_poly_deg2_roots(bch, poly, roots); in find_poly_roots()
899 cnt = find_poly_deg3_roots(bch, poly, roots); in find_poly_roots()
902 cnt = find_poly_deg4_roots(bch, poly, roots); in find_poly_roots()
906 cnt = 0; in find_poly_roots()
910 cnt += find_poly_roots(bch, k+1, f1, roots); in find_poly_roots()
912 cnt += find_poly_roots(bch, k+1, f2, roots+cnt); in find_poly_roots()
916 return cnt; in find_poly_roots()
/lib/mpi/
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()
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()
Dmpi-internal.h155 unsigned cnt);
157 unsigned cnt);