Searched refs:strncmp (Results 151 - 175 of 1092) sorted by relevance

1234567891011>>

/linux-master/block/
H A Dearly-lookup.c246 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 Dtopology.c99 && 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 Dutils.c193 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 Dfirmware.c118 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 Dvgaarb.c84 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 Dsm750.c933 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 Dkgdbts.c416 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 Dmain.c174 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 Damd_gart_64.c820 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 Dx86_energy_perf_policy.c314 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 Dcallchain.c71 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 Dmatroxfb_base.c2351 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 Dviafbdev.c1064 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 Drockchip_lvds.c87 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 Dcmm.c347 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 Dstub_main.c54 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 Dprofile.c65 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 Dcmdline.c88 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 Dkgdboc.c137 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 Dif.c116 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 Dfreefall.c31 if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0)
/linux-master/tools/testing/selftests/powerpc/signal/
H A Dsig_sc_double_restart.c136 if (strncmp(buf, DATA, DLEN)) {
/linux-master/sound/pci/oxygen/
H A Dse6x.c61 if (!strncmp(template->name, "Master Playback ", 16))
/linux-master/drivers/misc/cxl/
H A Dsysfs.c143 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 Dcore.c401 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)

Completed in 263 milliseconds

1234567891011>>