Lines Matching refs:_format
1415 version = OSNumber::withNumber(_format->getVersion(), 32); in start()
1418 if (_format->getSystemUsed()) { in start()
1421 …if (!_systemService || !_systemService->init(gAppleSystemVariableGuid, _format->getSystemPartition… in start()
1446 …if (!_commonService || !_commonService->init(gAppleNVRAMGuid, _format->getSystemPartitionActive())… in start()
1512 _format = IONVRAMV3Handler::init(this, image, size); in initImageFormat()
1513 require_action(_format, skip, panic("IONVRAMV3Handler creation failed\n")); in initImageFormat()
1515 _format = IONVRAMCHRPHandler::init(this, image, size); in initImageFormat()
1516 require_action(_format, skip, panic("IONVRAMCHRPHandler creation failed\n")); in initImageFormat()
1519 status = _format->unserializeVariables(); in initImageFormat()
1522 status = _format->getVarDict(localVariables); in initImageFormat()
1542 require_action(_format != nullptr, exit, DEBUG_ERROR("Handler not initialized yet\n")); in registerNVRAMController()
1543 _format->setController(controller); in registerNVRAMController()
1584 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in syncInternal()
1598 ret = _format->sync(); in syncInternal()
1603 OSSharedPtr<OSNumber> generation = OSNumber::withNumber(_format->getGeneration(), 32); in syncInternal()
1620 _format->reload(); in reload()
1626 return _format->getVarDict(varDictCopy); in getVarDict()
1638 require_action(_format, exit, DEBUG_ERROR("Handler not initialized yet\n")); in dictionaryWithProperties()
1640 status = _format->getVarDict(localVarDict); in dictionaryWithProperties()
1654 …verifyPermission(kIONVRAMOperationRead, varGuid, varName, _format->getSystemPartitionActive(), fal… in dictionaryWithProperties()
1674 …if (verifyPermission(kIONVRAMOperationRead, varGuid, varName, _format->getSystemPartitionActive(),… in dictionaryWithProperties()
1704 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in flushGUID()
1706 if (_format->getSystemPartitionActive() && (uuid_compare(guid, gAppleSystemVariableGuid) == 0)) { in flushGUID()
1707 ret = _format->flush(guid, op); in flushGUID()
1711 ret = _format->flush(guid, op); in flushGUID()
1759 require_action(_format, exit, DEBUG_ERROR("Handler not initialized yet\n")); in copyPropertyWithGUIDAndName()
1761 status = _format->getVarDict(localVarDict); in copyPropertyWithGUIDAndName()
1764 …if (!verifyPermission(kIONVRAMOperationRead, guid, name, _format->getSystemPartitionActive(), true… in copyPropertyWithGUIDAndName()
1769 translateGUID(guid, name, newGuid, _format->getSystemPartitionActive(), true); in copyPropertyWithGUIDAndName()
1848 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in clearTestVars()
1852 translateGUID(guid, entry->name, newGuid, _format->getSystemPartitionActive(), true); in clearTestVars()
1853 ret = _format->setVariable(newGuid, entry->name, nullptr); in clearTestVars()
1875 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in setPropertyWithGUIDAndName()
1933 …if (!verifyPermission(kIONVRAMOperationWrite, guid, name, _format->getSystemPartitionActive(), tru… in setPropertyWithGUIDAndName()
2018 translateGUID(guid, name, newGuid, _format->getSystemPartitionActive(), true); in setPropertyWithGUIDAndName()
2019 ret = _format->setVariable(newGuid, name, propObject.get()); in setPropertyWithGUIDAndName()
2073 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in removePropertyWithGUIDAndName()
2075 …if (!verifyPermission(kIONVRAMOperationDelete, guid, name, _format->getSystemPartitionActive(), tr… in removePropertyWithGUIDAndName()
2081 translateGUID(guid, name, newGuid, _format->getSystemPartitionActive(), true); in removePropertyWithGUIDAndName()
2082 ret = _format->setVariable(newGuid, name, nullptr); in removePropertyWithGUIDAndName()