Lines Matching refs:nr_bits
31 uint32_t nr_bits; member
56 unsigned int nr_bits, dm_block_t *root) in setup_on_disk_bitset() argument
64 return dm_bitset_resize(info, *root, 0, nr_bits, false, root); in setup_on_disk_bitset()
67 static size_t bitset_size(unsigned int nr_bits) in bitset_size() argument
69 return sizeof(unsigned long) * dm_div_up(nr_bits, BITS_PER_LONG); in bitset_size()
96 ws->md.nr_bits = nr_blocks; in writeset_init()
97 r = setup_on_disk_bitset(info, ws->md.nr_bits, &ws->md.root); in writeset_init()
163 __le32 nr_bits; member
366 disk->nr_bits = cpu_to_le32(core->nr_bits); in ws_pack()
372 core->nr_bits = le32_to_cpu(disk->nr_bits); in ws_unpack()
683 unsigned int nr_bits, current_bit; member
718 unsigned int b, e = min(d->current_bit + INSERTS_PER_STEP, d->nr_bits); in metadata_digest_transcribe_writeset()
739 if (b == d->nr_bits) in metadata_digest_transcribe_writeset()
782 d->nr_bits = min(d->writeset.nr_bits, md->nr_blocks); in metadata_digest_lookup_writeset()