Searched refs:bdev_zone_sectors (Results 1 – 6 of 6) sorted by relevance
459 if (zi->i_zone_size > bdev_zone_sectors(sb->s_bdev)) in __zonefs_io_error()1397 if (zi->i_zone_size > bdev_zone_sectors(sb->s_bdev) << SECTOR_SHIFT && in zonefs_init_file_inode()1402 bdev_zone_sectors(sb->s_bdev) << SECTOR_SHIFT); in zonefs_init_file_inode()1773 sbi->s_zone_sectors_shift = ilog2(bdev_zone_sectors(sb->s_bdev)); in zonefs_fill_super()
531 return put_uint(argp, bdev_zone_sectors(bdev)); in blkdev_common_ioctl()
3268 SECTOR_TO_BLOCK(bdev_zone_sectors(bdev))) in init_blkz_info()3270 sbi->blocks_per_blkz = SECTOR_TO_BLOCK(bdev_zone_sectors(bdev)); in init_blkz_info()3277 if (nr_sectors & (bdev_zone_sectors(bdev) - 1)) in init_blkz_info()
1969 if (sector & (bdev_zone_sectors(bdev) - 1) || in __f2fs_issue_discard_zone()1970 nr_sects != bdev_zone_sectors(bdev)) { in __f2fs_issue_discard_zone()
1612 static inline sector_t bdev_zone_sectors(struct block_device *bdev) in bdev_zone_sectors() function
272 unsigned int zone_sectors = bdev_zone_sectors(bdev); in device_area_is_invalid()