Lines Matching refs:_format
1357 version = OSNumber::withNumber(_format->getVersion(), 32); in start()
1360 if (_format->getSystemUsed()) { in start()
1363 …if (!_systemService || !_systemService->init(gAppleSystemVariableGuid, _format->getSystemPartition… in start()
1388 …if (!_commonService || !_commonService->init(gAppleNVRAMGuid, _format->getSystemPartitionActive())… in start()
1454 _format = IONVRAMV3Handler::init(this, image, size); in initImageFormat()
1455 require_action(_format, skip, panic("IONVRAMV3Handler creation failed\n")); in initImageFormat()
1457 _format = IONVRAMCHRPHandler::init(this, image, size); in initImageFormat()
1458 require_action(_format, skip, panic("IONVRAMCHRPHandler creation failed\n")); in initImageFormat()
1461 status = _format->unserializeVariables(); in initImageFormat()
1464 status = _format->getVarDict(localVariables); in initImageFormat()
1484 require_action(_format != nullptr, exit, DEBUG_ERROR("Handler not initialized yet\n")); in registerNVRAMController()
1485 _format->setController(controller); in registerNVRAMController()
1526 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in syncInternal()
1540 ret = _format->sync(); in syncInternal()
1545 OSSharedPtr<OSNumber> generation = OSNumber::withNumber(_format->getGeneration(), 32); in syncInternal()
1562 _format->reload(); in reload()
1568 return _format->getVarDict(varDictCopy); in getVarDict()
1581 require_action(_format, exit, DEBUG_ERROR("Handler not initialized yet\n")); in dictionaryWithProperties()
1583 status = _format->getVarDict(localVarDict); in dictionaryWithProperties()
1597 … verifyPermission(kIONVRAMOperationRead, varGuid, varName, _format->getSystemPartitionActive())) { in dictionaryWithProperties()
1617 …if (verifyPermission(kIONVRAMOperationRead, varGuid, varName, _format->getSystemPartitionActive())… in dictionaryWithProperties()
1647 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in flushGUID()
1649 if (_format->getSystemPartitionActive() && (uuid_compare(guid, gAppleSystemVariableGuid) == 0)) { in flushGUID()
1650 ret = _format->flush(guid, op); in flushGUID()
1654 ret = _format->flush(guid, op); in flushGUID()
1702 require_action(_format, exit, DEBUG_ERROR("Handler not initialized yet\n")); in copyPropertyWithGUIDAndName()
1704 status = _format->getVarDict(localVarDict); in copyPropertyWithGUIDAndName()
1707 if (!verifyPermission(kIONVRAMOperationRead, guid, name, _format->getSystemPartitionActive())) { in copyPropertyWithGUIDAndName()
1712 translateGUID(guid, name, newGuid, _format->getSystemPartitionActive()); in copyPropertyWithGUIDAndName()
1795 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in setPropertyWithGUIDAndName()
1848 if (!verifyPermission(kIONVRAMOperationWrite, guid, name, _format->getSystemPartitionActive())) { in setPropertyWithGUIDAndName()
1931 translateGUID(guid, name, newGuid, _format->getSystemPartitionActive()); in setPropertyWithGUIDAndName()
1932 ret = _format->setVariable(newGuid, name, propObject.get()); in setPropertyWithGUIDAndName()
1986 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in removePropertyWithGUIDAndName()
1988 if (!verifyPermission(kIONVRAMOperationDelete, guid, name, _format->getSystemPartitionActive())) { in removePropertyWithGUIDAndName()
1994 translateGUID(guid, name, newGuid, _format->getSystemPartitionActive()); in removePropertyWithGUIDAndName()
1995 ret = _format->setVariable(newGuid, name, nullptr); in removePropertyWithGUIDAndName()