Lines Matching refs:strlen
1120 if (!strncmp(buf, REBOOT_COLD_STR, strlen(REBOOT_COLD_STR))) in mode_store()
1122 else if (!strncmp(buf, REBOOT_WARM_STR, strlen(REBOOT_WARM_STR))) in mode_store()
1124 else if (!strncmp(buf, REBOOT_HARD_STR, strlen(REBOOT_HARD_STR))) in mode_store()
1126 else if (!strncmp(buf, REBOOT_SOFT_STR, strlen(REBOOT_SOFT_STR))) in mode_store()
1128 else if (!strncmp(buf, REBOOT_GPIO_STR, strlen(REBOOT_GPIO_STR))) in mode_store()
1197 if (!strncmp(buf, BOOT_TRIPLE_STR, strlen(BOOT_TRIPLE_STR))) in type_store()
1199 else if (!strncmp(buf, BOOT_KBD_STR, strlen(BOOT_KBD_STR))) in type_store()
1201 else if (!strncmp(buf, BOOT_BIOS_STR, strlen(BOOT_BIOS_STR))) in type_store()
1203 else if (!strncmp(buf, BOOT_ACPI_STR, strlen(BOOT_ACPI_STR))) in type_store()
1205 else if (!strncmp(buf, BOOT_EFI_STR, strlen(BOOT_EFI_STR))) in type_store()
1207 else if (!strncmp(buf, BOOT_PCI_STR, strlen(BOOT_PCI_STR))) in type_store()