1ATA_SET_MAX_SECTORS(9) libata Core Internals ATA_SET_MAX_SECTORS(9)
2
3
4
6 ata_set_max_sectors - Set max sectors
7
9 int ata_set_max_sectors(struct ata_device * dev, u64 new_sectors);
10
12 dev
13 target device
14
15 new_sectors
16 new max sectors value to set for the device
17
19 Set max sectors of dev to new_sectors.
20
22 0 on success, -EACCES if command is aborted or denied (due to previous
23 non-volatile SET_MAX) by the drive. -EIO on other errors.
24
26 Jeff Garzik
27 Author.
28
30Kernel Hackers Manual 2.6. June 2019 ATA_SET_MAX_SECTORS(9)