Lines Matching refs:nr_bits
29 uint32_t nr_bits; member
54 unsigned int nr_bits, dm_block_t *root) in setup_on_disk_bitset() argument
62 return dm_bitset_resize(info, *root, 0, nr_bits, false, root); in setup_on_disk_bitset()
65 static size_t bitset_size(unsigned int nr_bits) in bitset_size() argument
67 return sizeof(unsigned long) * dm_div_up(nr_bits, BITS_PER_LONG); in bitset_size()
94 ws->md.nr_bits = nr_blocks; in writeset_init()
95 r = setup_on_disk_bitset(info, ws->md.nr_bits, &ws->md.root); in writeset_init()
158 __le32 nr_bits; member
356 disk->nr_bits = cpu_to_le32(core->nr_bits); in ws_pack()
362 core->nr_bits = le32_to_cpu(disk->nr_bits); in ws_unpack()
670 unsigned int nr_bits, current_bit; member
705 unsigned int b, e = min(d->current_bit + INSERTS_PER_STEP, d->nr_bits); in metadata_digest_transcribe_writeset()
726 if (b == d->nr_bits) in metadata_digest_transcribe_writeset()
769 d->nr_bits = min(d->writeset.nr_bits, md->nr_blocks); in metadata_digest_lookup_writeset()