NVDIMM_MASTER
unsigned int cmd = ptype == NVDIMM_MASTER ?
unsigned int cmd = ptype == NVDIMM_MASTER ?
if (ptype == NVDIMM_MASTER) {
.type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER :
return __cxl_pmem_security_disable(nvdimm, key_data, NVDIMM_MASTER);
.type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER :
if (ptype == NVDIMM_MASTER) {
.type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER :
nvdimm->sec.ext_flags = nvdimm_security_flags(nvdimm, NVDIMM_MASTER);
if (pass_type == NVDIMM_MASTER && !nvdimm->sec.ops->disable_master)
if (pass_type == NVDIMM_MASTER) {
if (pass_type == NVDIMM_MASTER)
nvdimm->sec.ext_flags = nvdimm_security_flags(nvdimm, NVDIMM_MASTER);
pass_type == NVDIMM_MASTER ? "(master)" : "(user)",
if (pass_type == NVDIMM_MASTER)
NVDIMM_MASTER);
&& pass_type == NVDIMM_MASTER) {
pass_type == NVDIMM_MASTER ? "(master)" : "(user)",
nvdimm->sec.ext_flags = nvdimm_security_flags(nvdimm, NVDIMM_MASTER);
rc = security_disable(nvdimm, key, NVDIMM_MASTER);
? NVDIMM_USER : NVDIMM_MASTER);
? NVDIMM_USER : NVDIMM_MASTER);