summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2025-11-07 09:38:44 +0300
committerJens Axboe <axboe@kernel.dk>2025-11-07 19:28:08 +0300
commit25976c314f6596254c9b1e2291d94393b7d5ae81 (patch)
tree8926ba66b070babdadb1c03b766b19199851cfad /scripts/stackusage
parente2b0ec776164c11569ee021fac89596a2642654c (diff)
downloadlinux-25976c314f6596254c9b1e2291d94393b7d5ae81.tar.xz
block: introduce bdev_zone_start()
Introduce the function bdev_zone_start() as a more explicit (and clear) replacement for ALIGN_DOWN() to get the start sector of a zone containing a particular sector of a zoned block device. Use this new helper in blkdev_get_zone_info() and blkdev_report_zones_cached(). Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions