Home
last modified time | relevance | path

Searched refs:bits_per_long (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/scripts/
H A Dgen-crc-consts.py108 def print_riscv_const(v, bits_per_long, name, val, desc): argument
111 def do_gen_riscv_clmul_consts(v, bits_per_long): argument
114 pow_of_x = 3 * bits_per_long - (1 if lsb else 0)
115 print_riscv_const(v, bits_per_long, 'fold_across_2_longs_const_hi',
117 pow_of_x = 2 * bits_per_long - (1 if lsb else 0)
118 print_riscv_const(v, bits_per_long, 'fold_across_2_longs_const_lo',
121 pow_of_x = bits_per_long - 1 + n
122 print_riscv_const(v, bits_per_long, 'barrett_reduction_const_1',
128 val <<= bits_per_long - n
130 print_riscv_const(v, bits_per_long, 'barrett_reduction_const_2', val, desc)
/linux-6.15/lib/
H A Dtest_bitmap.c1330 unsigned long zero_bits = 0, bits_per_long = BITS_PER_LONG; in test_bitmap_read_write() local
1346 bitmap_write(NULL, 0, 0, READ_ONCE(bits_per_long) + 1); in test_bitmap_read_write()
1348 bitmap_read(NULL, 0, READ_ONCE(bits_per_long) + 1); in test_bitmap_read_write()