Searched refs:strncmp (Results 101 - 125 of 1092) sorted by relevance

1234567891011>>

/linux-master/arch/mips/fw/lib/
H A Dcmdline.c68 if (strncmp(envname, fw_envp(index), i) == 0) {
/linux-master/arch/sparc/include/asm/
H A Dprom.h24 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l))
/linux-master/tools/lib/api/fs/
H A Dcgroup.c68 if (strncmp(p, "cgroup", 6))
/linux-master/tools/perf/arch/x86/util/
H A Dtsc.c40 if (!strncmp(line, "model name", 10)) {
/linux-master/arch/arm64/hyperv/
H A Dmshyperv.c44 if (strncmp((char *)&acpi_gbl_FADT.hypervisor_id, "MsHyperV", 8))
/linux-master/fs/btrfs/
H A Dprops.c296 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 Dmax16601.c289 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 Ddps920ab.c153 if (ret != 5 || strncmp(buf, "DELTA", 5)) {
169 if (ret != 11 || strncmp(buf, "DPS-920AB", 9)) {
H A Dlt7182s.c121 if (ret != 3 || strncmp(buf, "ADI", 3)) {
132 if (ret != 7 || strncmp(buf, "LT7182S", 7)) {
/linux-master/arch/x86/kernel/
H A Dapm_32.c1832 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 Ddebugfs.c453 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 Dunifdef.c673 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 Dvector_transports.c481 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 Dremoteproc_debugfs.c96 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 Dsetup.c111 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 Dsmsgiucv.c46 if (strncmp(ipvmid, "*MSG ", 8) != 0)
79 if (strncmp(buffer + 8, cb->prefix, cb->len) == 0) {
/linux-master/drivers/gpu/vga/
H A Dvga_switcheroo.c799 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 Dsim710.c59 if(!strncmp(pos, "slot:", 5))
61 else if(!strncmp(pos, "id:", 3)) {
/linux-master/tools/perf/arch/s390/annotate/
H A Dinstructions.c112 !strncmp(name, "bct", 3) ||
113 !strncmp(name, "br", 2))
/linux-master/drivers/video/fbdev/
H A Dfm2fb.c301 if (!strncmp(this_opt, "pal", 3))
303 else if (!strncmp(this_opt, "ntsc", 4))
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dd_path.c153 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 Dsetup.c70 if (strncmp(cdev, "tty", 3) == 0) {
85 if (strncmp(cdev, "tty552", 6) == 0)
/linux-master/arch/x86/boot/compressed/
H A Defi.c28 if (!strncmp(sig, EFI64_LOADER_SIGNATURE, 4)) {
30 } else if (!strncmp(sig, EFI32_LOADER_SIGNATURE, 4)) {
/linux-master/arch/sh/drivers/pci/
H A Dpci-dreamcast.c66 if (strncmp(idbuf, "GAPSPCI_BRIDGE_2", 16))
/linux-master/arch/sh/kernel/
H A Dsh_bios.c155 if (!strncmp(buf, "bios", 4))

Completed in 410 milliseconds

1234567891011>>