/* Flags for injecting specific smart errors */ #define PDSM_SMART_INJECT_HEALTH_FATAL (1 << 0) #define PDSM_SMART_INJECT_BAD_SHUTDOWN (1 << 1)
struct nd_papr_pdsm_smart_inject { union { struct { /* One or more of PDSM_SMART_INJECT_ */
__u32 flags;
__u8 fatal_enable;
__u8 unsafe_shutdown_enable;
};
__u8 buf[ND_PDSM_PAYLOAD_MAX_SIZE];
};
};
/* Maximal union that can hold all possible payload types */ union nd_pdsm_payload { struct nd_papr_pdsm_health health; struct nd_papr_pdsm_smart_inject smart_inject;
__u8 buf[ND_PDSM_PAYLOAD_MAX_SIZE];
} __packed;
/* *PDSM-header+payloadexpectedwithND_CMD_CALLioctlfromlibnvdimm *Validmemberofunion'payload'isidentifiedvia'nd_cmd_pkg.nd_command' *thatshouldalwaysprecedethisstructwhensenttopapr_scmviaCMD_CALL *interface.
*/ struct nd_pkg_pdsm {
__s32 cmd_status; /* Out: Sub-cmd status returned back */
__u16 reserved[2]; /* Ignored and to be set as '0' */ union nd_pdsm_payload payload;
} __packed;
#endif/* _UAPI_ASM_POWERPC_PAPR_PDSM_H_ */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.17 Sekunden
(vorverarbeitet am 2026-09-28)
¤
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.