Searched refs:kern_nv (Results 1 – 1 of 1) sorted by relevance
615 int kern_nv = VbGetNvStorage(VBNV_KERNEL_FIELD); in VbSetSystemPropertyInt() local616 if (kern_nv == -1) in VbSetSystemPropertyInt()618 kern_nv &= ~KERN_NV_FWUPDATE_TRIES_MASK; in VbSetSystemPropertyInt()619 kern_nv |= (value & KERN_NV_FWUPDATE_TRIES_MASK); in VbSetSystemPropertyInt()620 return VbSetNvStorage_WithBackup(VBNV_KERNEL_FIELD, kern_nv); in VbSetSystemPropertyInt()622 int kern_nv = VbGetNvStorage(VBNV_KERNEL_FIELD); in VbSetSystemPropertyInt() local623 if (kern_nv == -1) in VbSetSystemPropertyInt()625 kern_nv &= ~KERN_NV_BLOCK_DEVMODE_FLAG; in VbSetSystemPropertyInt()627 kern_nv |= KERN_NV_BLOCK_DEVMODE_FLAG; in VbSetSystemPropertyInt()628 return VbSetNvStorage_WithBackup(VBNV_KERNEL_FIELD, kern_nv); in VbSetSystemPropertyInt()