Lines Matching refs:strncmp
612 if (!strncmp(str, "panic_", 6)) { in reboot_setup()
729 if (!strncmp(buf, REBOOT_COLD_STR, strlen(REBOOT_COLD_STR))) in mode_store()
731 else if (!strncmp(buf, REBOOT_WARM_STR, strlen(REBOOT_WARM_STR))) in mode_store()
733 else if (!strncmp(buf, REBOOT_HARD_STR, strlen(REBOOT_HARD_STR))) in mode_store()
735 else if (!strncmp(buf, REBOOT_SOFT_STR, strlen(REBOOT_SOFT_STR))) in mode_store()
737 else if (!strncmp(buf, REBOOT_GPIO_STR, strlen(REBOOT_GPIO_STR))) in mode_store()
806 if (!strncmp(buf, BOOT_TRIPLE_STR, strlen(BOOT_TRIPLE_STR))) in type_store()
808 else if (!strncmp(buf, BOOT_KBD_STR, strlen(BOOT_KBD_STR))) in type_store()
810 else if (!strncmp(buf, BOOT_BIOS_STR, strlen(BOOT_BIOS_STR))) in type_store()
812 else if (!strncmp(buf, BOOT_ACPI_STR, strlen(BOOT_ACPI_STR))) in type_store()
814 else if (!strncmp(buf, BOOT_EFI_STR, strlen(BOOT_EFI_STR))) in type_store()
816 else if (!strncmp(buf, BOOT_PCI_STR, strlen(BOOT_PCI_STR))) in type_store()