1ATA_SET_MAX_SECTORS(9)       libata Core Internals      ATA_SET_MAX_SECTORS(9)
2
3
4

NAME

6       ata_set_max_sectors - Set max sectors
7

SYNOPSIS

9       int ata_set_max_sectors(struct ata_device * dev, u64 new_sectors);
10

ARGUMENTS

12       dev
13           target device
14
15       new_sectors
16           new max sectors value to set for the device
17

DESCRIPTION

19       Set max sectors of dev to new_sectors.
20

RETURNS

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

AUTHOR

26       Jeff Garzik
27           Author.
28
30Kernel Hackers Manual 3.10         June 2019            ATA_SET_MAX_SECTORS(9)
Impressum