Searched refs:alarm_string (Results 1 – 2 of 2) sorted by relevance
579 char alarm_string[12] = {'\0'}; in acpi_battery_write_alarm() local583 if (!battery || (count > sizeof(alarm_string) - 1)) in acpi_battery_write_alarm()589 if (copy_from_user(alarm_string, buffer, count)) in acpi_battery_write_alarm()592 alarm_string[count] = '\0'; in acpi_battery_write_alarm()595 simple_strtoul(alarm_string, NULL, 0)); in acpi_battery_write_alarm()
901 char alarm_string[30] = {'\0'}; in acpi_system_write_alarm() local902 char *p = alarm_string; in acpi_system_write_alarm()909 if (count > sizeof(alarm_string) - 1) in acpi_system_write_alarm()912 if (copy_from_user(alarm_string, buffer, count)) in acpi_system_write_alarm()915 alarm_string[count] = '\0'; in acpi_system_write_alarm()918 if (alarm_string[0] == '+') { in acpi_system_write_alarm()