Lines Matching defs:erase
903 struct cxl_pass_erase *erase;
905 if (cmd->size_in != sizeof(*erase))
911 erase = cmd->payload_in;
918 erase->type == CXL_PMEM_SEC_PASS_USER) {
924 erase->type == CXL_PMEM_SEC_PASS_MASTER) {
929 switch (erase->type) {
936 * as a CXL secure erase command without passphrase (0x4401).
939 if (memcmp(mdata->master_pass, erase->pass,
966 * it will behave the same as a CXL secure erase command without
970 if (memcmp(mdata->user_pass, erase->pass,
985 * the operation will proceed as secure erase w/o passphrase