Lines Matching refs:bitset_size
377 size_t bitset_size, buf_size; in create_log_context() local
426 bitset_size = dm_round_up(region_count, BITS_PER_LONG); in create_log_context()
427 bitset_size >>= BYTE_SHIFT; in create_log_context()
429 if (!bitset_size) in create_log_context()
430 bitset_size = 1UL << (BITS_PER_LONG - BYTE_SHIFT); in create_log_context()
432 lc->bitset_uint32_count = bitset_size / sizeof(*lc->clean_bits); in create_log_context()
438 lc->clean_bits = vmalloc(bitset_size); in create_log_context()
456 dm_round_up((LOG_OFFSET << SECTOR_SHIFT) + bitset_size, in create_log_context()
491 memset(lc->clean_bits, -1, bitset_size); in create_log_context()
493 lc->sync_bits = vmalloc(bitset_size); in create_log_context()
504 memset(lc->sync_bits, (sync == NOSYNC) ? -1 : 0, bitset_size); in create_log_context()
507 lc->recovering_bits = vzalloc(bitset_size); in create_log_context()