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

NAME

6       ata_finalize_port_ops - finalize ata_port_operations
7

SYNOPSIS

9       void ata_finalize_port_ops(struct ata_port_operations * ops);
10

ARGUMENTS

12       ops
13           ata_port_operations to finalize
14

DESCRIPTION

16       An ata_port_operations can inherit from another ops and that ops can
17       again inherit from another. This can go on as many times as necessary
18       as long as there is no loop in the inheritance chain.
19
20       Ops tables are finalized when the host is started. NULL or unspecified
21       entries are inherited from the closet ancestor which has the method and
22       the entry is populated with it. After finalization, the ops table
23       directly points to all the methods and ->inherits is no longer
24       necessary and cleared.
25
26       Using ATA_OP_NULL, inheriting ops can force a method to NULL.
27

LOCKING

29       None.
30

AUTHOR

32       Jeff Garzik
33           Author.
34
36Kernel Hackers Manual 2.6.         June 2019           ATA_FINALIZE_PORT_OP(9)
Impressum