summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-06-20 21:22:43 +0900
committerDamien Le Moal <dlemoal@kernel.org>2026-07-06 10:19:16 +0900
commit13d5478d9bf19778a1bf9816a82b2cf8f9e8f49e (patch)
tree39be4c7306a7b44426504d505d9e5014cd10a015 /tools/perf/scripts/python/bin
parent8cdeaa50eae8dad34885515f62559ee83e7e8dda (diff)
ata: libata: rename ata_dev_is_zac()
The helper function ata_dev_is_zac() checks if a device is a ZAC class device (host managed zoned disk) or if it is a host aware zoned disk, that is, a regular ATA disk that supports the zoned capabilities. So the name of this helper function is confusing as it hints at the first case only. Rename this helper function to ata_dev_is_zoned() to avoid confusions and better reflect the two cases tested. Use this helper in ata_scsiop_inq_std(), ata_scsiop_read_cap() and ata_scsi_report_supported_opcodes() instead of having the same tests open coded. While at it, to stay consistent with this renaming, also rename ata_dev_config_zac() to ata_dev_config_zoned(). Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Hannes Reinecke <hare@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions