Query: ata_finalize_port_ops
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_FINALIZE_PORT_OP(9) libata Core Internals ATA_FINALIZE_PORT_OP(9)NAMEata_finalize_port_ops - finalize ata_port_operationsSYNOPSISvoid ata_finalize_port_ops(struct ata_port_operations * ops);ARGUMENTSops ata_port_operations to finalizeDESCRIPTIONAn ata_port_operations can inherit from another ops and that ops can again inherit from another. This can go on as many times as necessary as long as there is no loop in the inheritance chain. Ops tables are finalized when the host is started. NULL or unspecified entries are inherited from the closet ancestor which has the method and the entry is populated with it. After finalization, the ops table directly points to all the methods and ->inherits is no longer necessary and cleared. Using ATA_OP_NULL, inheriting ops can force a method to NULL.LOCKINGNone.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_FINALIZE_PORT_OP(9)