/** * struct pstore_device_info - back-end pstore/blk driver structure. * * @flags: Refer to macro starting with PSTORE_FLAGS defined in * linux/pstore.h. It means what front-ends this device support. * Zero means all backends for compatible. * @zone: The struct pstore_zone_info details. *
*/ struct pstore_device_info { unsignedint flags; struct pstore_zone_info zone;
};
int register_pstore_device(struct pstore_device_info *dev); void unregister_pstore_device(struct pstore_device_info *dev);
/** * struct pstore_blk_config - the pstore_blk backend configuration * * @device: Name of the desired block device * @max_reason: Maximum kmsg dump reason to store to block device * @kmsg_size: Total size of for kmsg dumps * @pmsg_size: Total size of the pmsg storage area * @console_size: Total size of the console storage area * @ftrace_size: Total size for ftrace logging data (for all CPUs)
*/ struct pstore_blk_config { char device[80]; enum kmsg_dump_reason max_reason; unsignedlong kmsg_size; unsignedlong pmsg_size; unsignedlong console_size; unsignedlong ftrace_size;
};
/** * pstore_blk_get_config - get a copy of the pstore_blk backend configuration * * @info: The sturct pstore_blk_config to be filled in * * Failure returns negative error code, and success returns 0.
*/ int pstore_blk_get_config(struct pstore_blk_config *info);
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.