/linux-master/block/ |
H A D | early-lookup.c | 246 if (strncmp(name, "PARTUUID=", 9) == 0) 248 if (strncmp(name, "PARTLABEL=", 10) == 0) 250 if (strncmp(name, "/dev/", 5) == 0)
|
/linux-master/tools/perf/tests/ |
H A D | topology.c | 99 && strncmp(session->header.env.arch, "s390", 4) 100 && strncmp(session->header.env.arch, "aarch64", 7)) 109 if (!strncmp(session->header.env.arch, "ppc64le", 7)) {
|
/linux-master/tools/tracing/rtla/src/ |
H A D | utils.c | 193 if (!strncmp(end, "ns", 2)) { 195 } else if (!strncmp(end, "us", 2)) { 198 } else if (!strncmp(end, "ms", 2)) { 201 } else if (!strncmp(end, "s", 1)) { 301 retval = strncmp(comm_prefix, buffer, strlen(comm_prefix));
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | firmware.c | 118 if (strncmp(&nvp->data[nvp->entry], "RAW1", 4) == 0) 122 if (strncmp(&nvp->data[nvp->entry], "devpath", 7) == 0) 124 if (strncmp(&nvp->data[nvp->entry], "pcie/", 5) == 0) 126 if (strncmp(&nvp->data[nvp->entry], "boardrev", 8) == 0) 130 strncmp(&nvp->data[nvp->entry], "macaddr", 7) == 0) 274 if (strncmp(&nvp->nvram[i], "devpath", 7) == 0 && 275 (!strncmp(&nvp->nvram[i + 8], pci_path, pci_len) || 276 !strncmp(&nvp->nvram[i + 8], pcie_path, pcie_len))) { 294 if (strncmp(&nvp->nvram[i], "boardrev", 8) == 0) 347 if (strncmp( [all...] |
/linux-master/drivers/pci/ |
H A D | vgaarb.c | 84 if (strncmp(buf, "none", 4) == 0) { 90 if (strncmp(buf, "io+mem", 6) == 0) 92 else if (strncmp(buf, "io", 2) == 0) 94 else if (strncmp(buf, "mem", 3) == 0) 1177 if (strncmp(curr_pos, "lock ", 5) == 0) { 1213 } else if (strncmp(curr_pos, "unlock ", 7) == 0) { 1219 if (strncmp(curr_pos, "all", 3) == 0) 1269 } else if (strncmp(curr_pos, "trylock ", 8) == 0) { 1310 } else if (strncmp(curr_pos, "target ", 7) == 0) { 1318 if (!strncmp(curr_po [all...] |
/linux-master/drivers/staging/sm750fb/ |
H A D | sm750.c | 933 if (!strncmp(opt, "swap", strlen("swap"))) { 935 } else if (!strncmp(opt, "nocrt", strlen("nocrt"))) { 937 } else if (!strncmp(opt, "36bit", strlen("36bit"))) { 939 } else if (!strncmp(opt, "18bit", strlen("18bit"))) { 941 } else if (!strncmp(opt, "24bit", strlen("24bit"))) { 943 } else if (!strncmp(opt, "nohwc0", strlen("nohwc0"))) { 945 } else if (!strncmp(opt, "nohwc1", strlen("nohwc1"))) { 947 } else if (!strncmp(opt, "nohwc", strlen("nohwc"))) { 1152 if (!strncmp(opt, "noaccel", strlen("noaccel"))) { 1154 } else if (!strncmp(op [all...] |
/linux-master/drivers/misc/ |
H A D | kgdbts.c | 416 if (!strncmp(put_str+1, arg, 2)) { 417 if (!strncmp(arg, "T0", 2)) 440 if (strncmp(put_str, "$OK", 3)) 505 if (strncmp(put_str, "$OK", 3)) { 511 if (strncmp(put_str, "$T0", 3)) { 520 if (strncmp(put_str, "$OK", 3)) { 538 if (strncmp(put_str+1, arg, 2))
|
/linux-master/tools/bpf/resolve_btfids/ |
H A D | main.c | 174 return name && !strncmp(name, BTF_ID_PREFIX, sizeof(BTF_ID_PREFIX) - 1); 465 if (!strncmp(prefix, BTF_STRUCT, sizeof(BTF_STRUCT) - 1)) { 469 } else if (!strncmp(prefix, BTF_UNION, sizeof(BTF_UNION) - 1)) { 473 } else if (!strncmp(prefix, BTF_TYPEDEF, sizeof(BTF_TYPEDEF) - 1)) { 477 } else if (!strncmp(prefix, BTF_FUNC, sizeof(BTF_FUNC) - 1)) { 481 } else if (!strncmp(prefix, BTF_SET8, sizeof(BTF_SET8) - 1)) { 493 } else if (!strncmp(prefix, BTF_SET, sizeof(BTF_SET) - 1)) {
|
/linux-master/arch/x86/kernel/ |
H A D | amd_gart_64.c | 820 if (!strncmp(p, "fullflush", 9)) 822 if (!strncmp(p, "nofullflush", 11)) 824 if (!strncmp(p, "noagp", 5)) 826 if (!strncmp(p, "noaperture", 10)) 829 if (!strncmp(p, "force", 5)) 831 if (!strncmp(p, "allowed", 7)) 833 if (!strncmp(p, "memaper", 7)) {
|
/linux-master/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 314 if (!strncmp(s, "default", 7)) 317 if (!strncmp(s, "normal", 6)) 320 if (!strncmp(s, "power", 9)) 323 if (!strncmp(s, "balance-power", 17)) 326 if (!strncmp(s, "balance-performance", 19)) 329 if (!strncmp(s, "performance", 11)) 415 if (strncmp(startp, "all", 3) == 0) { 425 if (strncmp(startp, "even", 4) == 0) { 436 if (strncmp(startp, "odd", 3) == 0) { 495 if (strncmp(start [all...] |
/linux-master/tools/perf/util/ |
H A D | callchain.c | 71 if (!strncmp(value, "graph", strlen(value))) { 75 if (!strncmp(value, "flat", strlen(value))) { 79 if (!strncmp(value, "fractal", strlen(value))) { 83 if (!strncmp(value, "folded", strlen(value))) { 92 if (!strncmp(value, "caller", strlen(value))) { 97 if (!strncmp(value, "callee", strlen(value))) { 107 if (!strncmp(value, "function", strlen(value))) { 111 if (!strncmp(value, "address", strlen(value))) { 115 if (!strncmp(value, "srcline", strlen(value))) { 119 if (!strncmp(valu [all...] |
/linux-master/drivers/video/fbdev/matrox/ |
H A D | matroxfb_base.c | 2351 if (!strncmp(this_opt, "dev:", 4)) 2353 else if (!strncmp(this_opt, "depth:", 6)) { 2365 } else if (!strncmp(this_opt, "xres:", 5)) 2367 else if (!strncmp(this_opt, "yres:", 5)) 2369 else if (!strncmp(this_opt, "vslen:", 6)) 2371 else if (!strncmp(this_opt, "hslen:", 6)) 2373 else if (!strncmp(this_opt, "left:", 5)) 2375 else if (!strncmp(this_opt, "right:", 6)) 2377 else if (!strncmp(this_opt, "upper:", 6)) 2379 else if (!strncmp(this_op [all...] |
/linux-master/drivers/video/fbdev/via/ |
H A D | viafbdev.c | 1064 if (!strncmp(opt_str, "DVP0", 4)) 1066 else if (!strncmp(opt_str, "DVP1", 4)) 1068 else if (!strncmp(opt_str, "DFP_HIGHLOW", 11)) 1070 else if (!strncmp(opt_str, "DFP_HIGH", 8)) 1072 else if (!strncmp(opt_str, "DFP_LOW", 7)) 1940 if (!strncmp(this_opt, "viafb_mode1=", 12)) { 1944 } else if (!strncmp(this_opt, "viafb_mode=", 11)) { 1948 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) { 1951 } else if (!strncmp(this_opt, "viafb_bpp=", 10)) { 1954 } else if (!strncmp(this_op [all...] |
/linux-master/drivers/gpu/drm/rockchip/ |
H A D | rockchip_lvds.c | 87 if (strncmp(s, "jeida-18", 8) == 0) 89 else if (strncmp(s, "jeida-24", 8) == 0) 91 else if (strncmp(s, "vesa-24", 7) == 0) 99 if (strncmp(s, "rgb", 3) == 0) 101 else if (strncmp(s, "lvds", 4) == 0) 103 else if (strncmp(s, "duallvds", 8) == 0)
|
/linux-master/arch/s390/mm/ |
H A D | cmm.c | 347 if (strncmp(msg, "SHRINK", 6) == 0) { 354 } else if (strncmp(msg, "RELEASE", 7) == 0) { 361 } else if (strncmp(msg, "REUSE", 5) == 0) {
|
/linux-master/drivers/usb/usbip/ |
H A D | stub_main.c | 54 if (!strncmp(busid_table[i].name, busid, BUSID_SIZE)) { 179 if (!strncmp(buf, "add ", 4)) { 187 if (!strncmp(buf, "del ", 4)) {
|
/linux-master/kernel/ |
H A D | profile.c | 65 if (!strncmp(str, sleepstr, strlen(sleepstr))) { 73 } else if (!strncmp(str, schedstr, strlen(schedstr))) { 76 } else if (!strncmp(str, kvmstr, strlen(kvmstr))) {
|
/linux-master/block/partitions/ |
H A D | cmdline.c | 88 if (!strncmp(partdef, "ro", 2)) { 93 if (!strncmp(partdef, "lk", 2)) { 220 while (parts && strncmp(bdev, parts->name, sizeof(parts->name)))
|
/linux-master/drivers/tty/serial/ |
H A D | kgdboc.c | 137 if (strncmp(*cptr, "kbd", 3) == 0 || 138 strncmp(*cptr, "kdb", 3) == 0) { 213 if (strncmp(cptr, "kms,", 4) == 0) {
|
/linux-master/arch/x86/kernel/cpu/mtrr/ |
H A D | if.c | 116 if (!strncmp(line, "disable=", 8)) { 124 if (strncmp(line, "base=", 5)) 130 if (strncmp(ptr, "size=", 5)) 138 if (strncmp(ptr, "type=", 5))
|
/linux-master/tools/laptop/freefall/ |
H A D | freefall.c | 31 if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0)
|
/linux-master/tools/testing/selftests/powerpc/signal/ |
H A D | sig_sc_double_restart.c | 136 if (strncmp(buf, DATA, DLEN)) {
|
/linux-master/sound/pci/oxygen/ |
H A D | se6x.c | 61 if (!strncmp(template->name, "Master Playback ", 16))
|
/linux-master/drivers/misc/cxl/ |
H A D | sysfs.c | 143 if (!strncmp(buf, "none", 4)) 145 else if (!strncmp(buf, "user", 4)) { 148 } else if (!strncmp(buf, "factory", 7)) { 352 if (!strncmp(buf, "none", 4)) 358 if (!strncmp(buf, "work_element_descriptor", 23)) 360 if (!strncmp(buf, "all", 3)) 399 if (!strncmp(buf, "dedicated_process", 17)) 401 if (!strncmp(buf, "afu_directed", 12)) 403 if (!strncmp(buf, "none", 4))
|
/linux-master/drivers/pnp/pnpbios/ |
H A D | core.c | 401 if (strncmp(str, "off", 3) == 0) 403 if (strncmp(str, "on", 2) == 0) 405 invert = (strncmp(str, "no-", 3) == 0); 408 if (strncmp(str, "curr", 4) == 0)
|