Lines Matching refs:persistent

303   response->size = space_record.persistent.contents.size();  in GetSpaceInfo()
305 result = GetControlsVector(space_record.persistent, &response->controls); in GetSpaceInfo()
310 if (space_record.persistent.HasControl(NV_CONTROL_BOOT_READ_LOCK)) { in GetSpaceInfo()
314 if (space_record.persistent.HasControl(NV_CONTROL_PERSISTENT_WRITE_LOCK)) { in GetSpaceInfo()
316 space_record.persistent.HasFlag(NvramSpace::kFlagWriteLocked); in GetSpaceInfo()
317 } else if (space_record.persistent.HasControl(NV_CONTROL_BOOT_WRITE_LOCK)) { in GetSpaceInfo()
412 Blob& contents = space_record.persistent.contents; in WriteSpace()
413 if (space_record.persistent.HasControl(NV_CONTROL_WRITE_EXTEND)) { in WriteSpace()
436 return WriteSpace(index, space_record.persistent); in WriteSpace()
458 if (!response->buffer.Assign(space_record.persistent.contents.data(), in ReadSpace()
459 space_record.persistent.contents.size())) { in ReadSpace()
487 if (space_record.persistent.HasControl(NV_CONTROL_PERSISTENT_WRITE_LOCK)) { in LockSpaceWrite()
488 space_record.persistent.SetFlag(NvramSpace::kFlagWriteLocked); in LockSpaceWrite()
489 return WriteSpace(index, space_record.persistent); in LockSpaceWrite()
490 } else if (space_record.persistent.HasControl(NV_CONTROL_BOOT_WRITE_LOCK)) { in LockSpaceWrite()
519 if (space_record.persistent.HasControl(NV_CONTROL_BOOT_READ_LOCK)) { in LockSpaceRead()
600 if (persistent.HasControl(NV_CONTROL_PERSISTENT_WRITE_LOCK)) { in CheckWriteAccess()
601 if (persistent.HasFlag(NvramSpace::kFlagWriteLocked)) { in CheckWriteAccess()
607 } else if (persistent.HasControl(NV_CONTROL_BOOT_WRITE_LOCK)) { in CheckWriteAccess()
615 if (persistent.HasControl(NV_CONTROL_WRITE_AUTHORIZATION) && in CheckWriteAccess()
616 !ConstantTimeEquals(persistent.authorization_value, in CheckWriteAccess()
630 if (persistent.HasControl(NV_CONTROL_BOOT_READ_LOCK)) { in CheckReadAccess()
638 if (persistent.HasControl(NV_CONTROL_READ_AUTHORIZATION) && in CheckReadAccess()
639 !ConstantTimeEquals(persistent.authorization_value, in CheckReadAccess()
797 persistence::LoadSpace(index, &space_record->persistent))) { in LoadSpaceRecord()