Searched refs:bitset_size (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/md/
H A Ddm-log.c377 size_t bitset_size, buf_size; local
422 bitset_size = dm_round_up(region_count, BITS_PER_LONG);
423 bitset_size >>= BYTE_SHIFT;
425 lc->bitset_uint32_count = bitset_size / sizeof(*lc->clean_bits);
431 lc->clean_bits = vmalloc(bitset_size);
449 dm_round_up((LOG_OFFSET << SECTOR_SHIFT) + bitset_size,
484 memset(lc->clean_bits, -1, bitset_size);
486 lc->sync_bits = vmalloc(bitset_size);
497 memset(lc->sync_bits, (sync == NOSYNC) ? -1 : 0, bitset_size);
500 lc->recovering_bits = vzalloc(bitset_size);
[all...]
H A Ddm-era-target.c67 static size_t bitset_size(unsigned int nr_bits) function
77 ws->bits = vzalloc(bitset_size(nr_blocks));
94 memset(ws->bits, 0, bitset_size(nr_blocks));

Completed in 114 milliseconds