Lines Matching refs:controls
51 Vector<nvram_control_t>* controls) { in GetControlsVector() argument
54 if (!controls->Resize(controls->size() + 1)) { in GetControlsVector()
58 (*controls)[controls->size() - 1] = static_cast<nvram_control_t>(control); in GetControlsVector()
225 uint32_t controls = 0; in CreateSpace() local
226 for (uint32_t control : request.controls) { in CreateSpace()
227 controls |= (1 << control); in CreateSpace()
229 if ((controls & ~kSupportedControlsMask) != 0) { in CreateSpace()
233 if ((controls & (1 << NV_CONTROL_PERSISTENT_WRITE_LOCK)) != 0 && in CreateSpace()
234 (controls & (1 << NV_CONTROL_BOOT_WRITE_LOCK)) != 0) { in CreateSpace()
238 if ((controls & (1 << NV_CONTROL_WRITE_EXTEND)) != 0 && in CreateSpace()
254 space.controls = controls; in CreateSpace()
305 result = GetControlsVector(space_record.persistent, &response->controls); in GetSpaceInfo()