Lines Matching refs:bitset_size
364 size_t bitset_size, buf_size; in create_log_context() local
409 bitset_size = dm_round_up(region_count, in create_log_context()
411 bitset_size >>= BYTE_SHIFT; in create_log_context()
413 lc->bitset_uint32_count = bitset_size / sizeof(*lc->clean_bits); in create_log_context()
419 lc->clean_bits = vmalloc(bitset_size); in create_log_context()
437 dm_round_up((LOG_OFFSET << SECTOR_SHIFT) + bitset_size, in create_log_context()
474 memset(lc->clean_bits, -1, bitset_size); in create_log_context()
476 lc->sync_bits = vmalloc(bitset_size); in create_log_context()
487 memset(lc->sync_bits, (sync == NOSYNC) ? -1 : 0, bitset_size); in create_log_context()
490 lc->recovering_bits = vmalloc(bitset_size); in create_log_context()
502 memset(lc->recovering_bits, 0, bitset_size); in create_log_context()