/linux-master/arch/mips/fw/lib/ |
H A D | cmdline.c | 68 if (strncmp(envname, fw_envp(index), i) == 0) {
|
/linux-master/arch/sparc/include/asm/ |
H A D | prom.h | 24 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l))
|
/linux-master/tools/lib/api/fs/ |
H A D | cgroup.c | 68 if (strncmp(p, "cgroup", 6))
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | tsc.c | 40 if (!strncmp(line, "model name", 10)) {
|
/linux-master/arch/arm64/hyperv/ |
H A D | mshyperv.c | 44 if (strncmp((char *)&acpi_gbl_FADT.hypervisor_id, "MsHyperV", 8))
|
/linux-master/fs/btrfs/ |
H A D | props.c | 296 if ((len == 2 && strncmp("no", value, 2) == 0) || 297 (len == 4 && strncmp("none", value, 4) == 0)) 318 if ((len == 2 && strncmp("no", value, 2) == 0) || 319 (len == 4 && strncmp("none", value, 4) == 0)) { 327 if (!strncmp("lzo", value, 3)) { 330 } else if (!strncmp("zlib", value, 4)) { 332 } else if (!strncmp("zstd", value, 4)) {
|
/linux-master/drivers/hwmon/pmbus/ |
H A D | max16601.c | 289 if (!strncmp(buf, "MAX16500", 8) || !strncmp(buf, "MAX16508", 8)) { 291 } else if (!strncmp(buf, "MAX16600", 8)) { 293 } else if (!strncmp(buf, "MAX16601", 8)) { 295 } else if (!strncmp(buf, "MAX16602", 8)) {
|
H A D | dps920ab.c | 153 if (ret != 5 || strncmp(buf, "DELTA", 5)) { 169 if (ret != 11 || strncmp(buf, "DPS-920AB", 9)) {
|
H A D | lt7182s.c | 121 if (ret != 3 || strncmp(buf, "ADI", 3)) { 132 if (ret != 7 || strncmp(buf, "LT7182S", 7)) {
|
/linux-master/arch/x86/kernel/ |
H A D | apm_32.c | 1832 if (strncmp(str, "off", 3) == 0) 1834 if (strncmp(str, "on", 2) == 0) 1836 if ((strncmp(str, "bounce-interval=", 16) == 0) || 1837 (strncmp(str, "bounce_interval=", 16) == 0)) 1839 if ((strncmp(str, "idle-threshold=", 15) == 0) || 1840 (strncmp(str, "idle_threshold=", 15) == 0)) 1842 if ((strncmp(str, "idle-period=", 12) == 0) || 1843 (strncmp(str, "idle_period=", 12) == 0)) 1845 invert = (strncmp(str, "no-", 3) == 0) || 1846 (strncmp(st [all...] |
/linux-master/drivers/usb/dwc3/ |
H A D | debugfs.c | 453 if (!strncmp(buf, "host", 4)) 456 if (!strncmp(buf, "device", 6)) 459 if (!strncmp(buf, "otg", 3)) 538 if (!strncmp(buf, "test_j", 6)) 540 else if (!strncmp(buf, "test_k", 6)) 542 else if (!strncmp(buf, "test_se0_nak", 12)) 544 else if (!strncmp(buf, "test_packet", 11)) 546 else if (!strncmp(buf, "test_force_enable", 17)) 628 if (!strncmp(buf, "SS.Disabled", 11)) 630 else if (!strncmp(bu [all...] |
/linux-master/scripts/ |
H A D | unifdef.c | 673 if (strncmp(cp, "\\\r\n", 3) == 0 || 674 strncmp(cp, "\\\n", 2) == 0) 860 } else if (strncmp(cp, "defined", 7) == 0 && endsym(cp[7])) { 928 if (strncmp(cp, op->str, strlen(op->str)) == 0) 982 if (strncmp(cp, "\\\r\n", 3) == 0) 984 else if (strncmp(cp, "\\\n", 2) == 0) 988 if (strncmp(cp, "/\\\r\n", 4) == 0) { 991 } else if (strncmp(cp, "/\\\n", 3) == 0) { 994 } else if (strncmp(cp, "/*", 2) == 0) { 997 } else if (strncmp(c [all...] |
/linux-master/arch/um/drivers/ |
H A D | vector_transports.c | 481 if (strncmp(transport, TRANS_GRE, TRANS_GRE_LEN) == 0) 483 if (strncmp(transport, TRANS_L2TPV3, TRANS_L2TPV3_LEN) == 0) 485 if (strncmp(transport, TRANS_RAW, TRANS_RAW_LEN) == 0) 487 if (strncmp(transport, TRANS_TAP, TRANS_TAP_LEN) == 0) 489 if (strncmp(transport, TRANS_HYBRID, TRANS_HYBRID_LEN) == 0) 491 if (strncmp(transport, TRANS_BESS, TRANS_BESS_LEN) == 0)
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_debugfs.c | 96 if (!strncmp(buf, "disabled", count)) { 98 } else if (!strncmp(buf, "enabled", count)) { 100 } else if (!strncmp(buf, "inline", count)) { 227 if (!strncmp(buf, "enabled", count)) { 231 } else if (!strncmp(buf, "disabled", count)) { 233 } else if (!strncmp(buf, "recover", count)) {
|
/linux-master/arch/powerpc/platforms/chrp/ |
H A D | setup.c | 111 if (model && !strncmp(model, "IBM,LongTrail", 13)) { 206 if (model && !strncmp(model, "IBM,LongTrail", 13)) { 307 if (machine && strncmp(machine, "Pegasos", 7) == 0) { 309 } else if (machine && strncmp(machine, "IBM", 3) == 0) { 311 } else if (machine && strncmp(machine, "MOT", 3) == 0) { 313 } else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) {
|
/linux-master/drivers/s390/net/ |
H A D | smsgiucv.c | 46 if (strncmp(ipvmid, "*MSG ", 8) != 0) 79 if (strncmp(buffer + 8, cb->prefix, cb->len) == 0) {
|
/linux-master/drivers/gpu/vga/ |
H A D | vga_switcheroo.c | 799 if (strncmp(usercmd, "OFF", 3) == 0) { 812 if (strncmp(usercmd, "ON", 2) == 0) { 826 if (strncmp(usercmd, "DIGD", 4) == 0) { 831 if (strncmp(usercmd, "DDIS", 4) == 0) { 836 if (strncmp(usercmd, "IGD", 3) == 0) 839 if (strncmp(usercmd, "DIS", 3) == 0) 842 if (strncmp(usercmd, "MIGD", 4) == 0) { 846 if (strncmp(usercmd, "MDIS", 4) == 0) {
|
/linux-master/drivers/scsi/ |
H A D | sim710.c | 59 if(!strncmp(pos, "slot:", 5)) 61 else if(!strncmp(pos, "id:", 3)) {
|
/linux-master/tools/perf/arch/s390/annotate/ |
H A D | instructions.c | 112 !strncmp(name, "bct", 3) || 113 !strncmp(name, "br", 2))
|
/linux-master/drivers/video/fbdev/ |
H A D | fm2fb.c | 301 if (!strncmp(this_opt, "pal", 3)) 303 else if (!strncmp(this_opt, "ntsc", 4))
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | d_path.c | 153 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), 157 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN),
|
/linux-master/arch/mips/sni/ |
H A D | setup.c | 70 if (strncmp(cdev, "tty", 3) == 0) { 85 if (strncmp(cdev, "tty552", 6) == 0)
|
/linux-master/arch/x86/boot/compressed/ |
H A D | efi.c | 28 if (!strncmp(sig, EFI64_LOADER_SIGNATURE, 4)) { 30 } else if (!strncmp(sig, EFI32_LOADER_SIGNATURE, 4)) {
|
/linux-master/arch/sh/drivers/pci/ |
H A D | pci-dreamcast.c | 66 if (strncmp(idbuf, "GAPSPCI_BRIDGE_2", 16))
|
/linux-master/arch/sh/kernel/ |
H A D | sh_bios.c | 155 if (!strncmp(buf, "bios", 4))
|