Lines Matching refs:_format

1499 	version = OSNumber::withNumber(_format->getVersion(), 32);  in start()
1502 if (_format->getSystemUsed()) { in start()
1505 …if (!_systemService || !_systemService->init(gAppleSystemVariableGuid, _format->getSystemPartition… in start()
1530 …if (!_commonService || !_commonService->init(gAppleNVRAMGuid, _format->getSystemPartitionActive())… in start()
1596 _format = IONVRAMV3Handler::init(this, image, size); in initImageFormat()
1597 require_action(_format, skip, panic("IONVRAMV3Handler creation failed\n")); in initImageFormat()
1599 _format = IONVRAMCHRPHandler::init(this, image, size); in initImageFormat()
1600 require_action(_format, skip, panic("IONVRAMCHRPHandler creation failed\n")); in initImageFormat()
1603 status = _format->unserializeVariables(); in initImageFormat()
1606 status = _format->getVarDict(localVariables); in initImageFormat()
1626 require_action(_format != nullptr, exit, DEBUG_ERROR("Handler not initialized yet\n")); in registerNVRAMController()
1627 _format->setController(controller); in registerNVRAMController()
1668 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in syncInternal()
1682 ret = _format->sync(); in syncInternal()
1687 OSSharedPtr<OSNumber> generation = OSNumber::withNumber(_format->getGeneration(), 32); in syncInternal()
1704 _format->reload(); in reload()
1710 return _format->getVarDict(varDictCopy); in getVarDict()
1722 require_action(_format, exit, DEBUG_ERROR("Handler not initialized yet\n")); in dictionaryWithProperties()
1724 status = _format->getVarDict(localVarDict); in dictionaryWithProperties()
1738 …verifyPermission(kIONVRAMOperationRead, varGuid, varName, _format->getSystemPartitionActive(), fal… in dictionaryWithProperties()
1758 …if (verifyPermission(kIONVRAMOperationRead, varGuid, varName, _format->getSystemPartitionActive(),… in dictionaryWithProperties()
1788 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in flushGUID()
1790 if (_format->getSystemPartitionActive() && (uuid_compare(guid, gAppleSystemVariableGuid) == 0)) { in flushGUID()
1791 ret = _format->flush(guid, op); in flushGUID()
1795 ret = _format->flush(guid, op); in flushGUID()
1843 require_action(_format, exit, DEBUG_ERROR("Handler not initialized yet\n")); in copyPropertyWithGUIDAndName()
1845 status = _format->getVarDict(localVarDict); in copyPropertyWithGUIDAndName()
1848 …if (!verifyPermission(kIONVRAMOperationRead, guid, name, _format->getSystemPartitionActive(), true… in copyPropertyWithGUIDAndName()
1853 translateGUID(guid, name, newGuid, _format->getSystemPartitionActive(), true); in copyPropertyWithGUIDAndName()
1932 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in clearTestVars()
1936 translateGUID(guid, entry->name, newGuid, _format->getSystemPartitionActive(), true); in clearTestVars()
1937 ret = _format->setVariable(newGuid, entry->name, nullptr); in clearTestVars()
1959 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in setPropertyWithGUIDAndName()
2017 …if (!verifyPermission(kIONVRAMOperationWrite, guid, name, _format->getSystemPartitionActive(), tru… in setPropertyWithGUIDAndName()
2102 translateGUID(guid, name, newGuid, _format->getSystemPartitionActive(), true); in setPropertyWithGUIDAndName()
2103 ret = _format->setVariable(newGuid, name, propObject.get()); in setPropertyWithGUIDAndName()
2157 …require_action(_format != nullptr, exit, (ret = kIOReturnNotReady, DEBUG_ERROR("Handler not initia… in removePropertyWithGUIDAndName()
2159 …if (!verifyPermission(kIONVRAMOperationDelete, guid, name, _format->getSystemPartitionActive(), tr… in removePropertyWithGUIDAndName()
2165 translateGUID(guid, name, newGuid, _format->getSystemPartitionActive(), true); in removePropertyWithGUIDAndName()
2166 ret = _format->setVariable(newGuid, name, nullptr); in removePropertyWithGUIDAndName()