Searched refs:to_sector (Results 1 – 5 of 5) sorted by relevance
671 static inline sector_t to_sector(unsigned long long n) in to_sector() function
301 ec->u_bs = to_sector(bdev_logical_block_size(ec->dev->bdev)); in ebs_ctr()
363 remaining -= to_sector(len); in do_region()
351 if (to_sector(blksz) > max_block_sectors) { in dust_ctr()
25 #define MIN_FREE_RESHAPE_SPACE to_sector(4*4096)1379 (value && (value < MIN_FREE_RESHAPE_SPACE || value % to_sector(PAGE_SIZE)))) { in parse_raid_params()2461 …mddev->bitmap_info.offset = (rt_is_raid0(rs->raid_type) || rs->journal_dev.dev) ? 0 : to_sector(40… in super_validate()3649 (unsigned long long) to_sector(mddev->bitmap_info.chunksize)); in raid_status()