Searched refs:nr_bits (Results 1 – 4 of 4) sorted by relevance
121 static double calc_runs_p(const unsigned long *buf, unsigned int nr_bits) in calc_runs_p() argument129 g_assert(nr_bits % BITS_PER_LONG == 0); in calc_runs_p()131 for (j = 0; j < nr_bits / BITS_PER_LONG; j++) { in calc_runs_p()134 pi = (double)nr_ones / nr_bits; in calc_runs_p()136 for (k = 0; k < nr_bits - 1; k++) { in calc_runs_p()141 return erfc(fabs(vn_obs - 2 * nr_bits * pi * (1.0 - pi)) in calc_runs_p()142 / (2 * sqrt(2 * nr_bits) * pi * (1.0 - pi))); in calc_runs_p()
160 int nr_bits, le_bit; in s390_add_from_feat_block() local164 nr_bits = 16384; in s390_add_from_feat_block()169 nr_bits = 256; in s390_add_from_feat_block()173 nr_bits = 128; in s390_add_from_feat_block()176 le_bit = find_first_bit((unsigned long *) data, nr_bits); in s390_add_from_feat_block()177 while (le_bit < nr_bits) { in s390_add_from_feat_block()184 le_bit = find_next_bit((unsigned long *) data, nr_bits, le_bit + 1); in s390_add_from_feat_block()
1015 uint32_t nr_bits; member
124 ppc_decr_store(uint32_t nr_bits, uint64_t decr, uint64_t value) "%d-bit 0x%016" PRIx64 " => 0x%016"…