Searched refs:strncmp (Results 226 - 250 of 1086) sorted by relevance

1234567891011>>

/linux-master/drivers/input/serio/
H A Dserio.c389 if (!strncmp(buf, "none", count)) {
391 } else if (!strncmp(buf, "reconnect", count)) {
393 } else if (!strncmp(buf, "rescan", count)) {
422 if (!strncmp(buf, "manual", count)) {
424 } else if (!strncmp(buf, "auto", count)) {
751 if (!strncmp(buf, "manual", count)) {
753 } else if (!strncmp(buf, "auto", count)) {
/linux-master/mm/
H A Dkmemleak.c2010 if (strncmp(buf, "clear", 5) == 0) {
2023 if (strncmp(buf, "off", 3) == 0)
2025 else if (strncmp(buf, "stack=on", 8) == 0)
2027 else if (strncmp(buf, "stack=off", 9) == 0)
2029 else if (strncmp(buf, "scan=on", 7) == 0)
2031 else if (strncmp(buf, "scan=off", 8) == 0)
2033 else if (strncmp(buf, "scan=", 5) == 0) {
2050 } else if (strncmp(buf, "scan", 4) == 0)
2052 else if (strncmp(buf, "dump=", 5) == 0)
/linux-master/drivers/power/supply/
H A Dbq2415x_charger.c1090 if (strncmp(buf, "auto", 4) == 0)
1092 else if (strncmp(buf, "off", 3) == 0)
1136 if (strncmp(buf, "auto", 4) == 0) {
1141 } else if (strncmp(buf, "off", 3) == 0) {
1145 } else if (strncmp(buf, "none", 4) == 0) {
1149 } else if (strncmp(buf, "host", 4) == 0) {
1153 } else if (strncmp(buf, "dedicated", 9) == 0) {
1157 } else if (strncmp(buf, "boost", 5) == 0) {
1161 } else if (strncmp(buf, "reset", 5) == 0) {
/linux-master/drivers/net/hamradio/
H A Dbaycom_par.c400 if (!strncmp(modestr, "picpar", 6))
402 else if (!strncmp(modestr, "par96", 5))
497 if (strncmp(par_dev->name, drv->name, len))
/linux-master/fs/ocfs2/
H A Dfilecheck.c258 if (!strncmp(name, "fix", 4))
260 else if (!strncmp(name, "check", 6))
262 else if (!strncmp(name, "set", 4))
/linux-master/arch/x86/pci/
H A Dcommon.c538 } else if (!strncmp(str, "pirqaddr=", 9)) {
574 } else if (!strncmp(str, "irqmask=", 8)) {
577 } else if (!strncmp(str, "lastbus=", 8)) {
/linux-master/drivers/scsi/
H A Dwd33c93.c1760 if (!strncmp(setup_args[x], key, strlen(key)))
1762 if (!strncmp(setup_args[x], "next", strlen("next")))
2025 if (!strncmp(bp, "debug:", 6)) {
2027 } else if (!strncmp(bp, "disconnect:", 11)) {
2032 } else if (!strncmp(bp, "period:", 7)) {
2037 } else if (!strncmp(bp, "resync:", 7)) {
2039 } else if (!strncmp(bp, "proc:", 5)) {
2041 } else if (!strncmp(bp, "nodma:", 6)) {
2043 } else if (!strncmp(bp, "level2:", 7)) {
2045 } else if (!strncmp(b
[all...]
/linux-master/arch/powerpc/kernel/
H A Dsecurity.c275 if (!p || strncmp(p, "auto", 5) == 0 || strncmp(p, "on", 2) == 0 ) {
278 } else if (strncmp(p, "off", 3) == 0) {
/linux-master/drivers/video/fbdev/
H A Dgrvga.c359 if (!strncmp(this_opt, "custom", 6)) {
365 } else if (!strncmp(this_opt, "addr", 4))
367 else if (!strncmp(this_opt, "size", 4))
H A Dvesafb.c232 else if (! strncmp(this_opt, "mtrr:", 5))
236 else if (! strncmp(this_opt, "vtotal:", 7))
238 else if (! strncmp(this_opt, "vremap:", 7))
/linux-master/drivers/video/fbdev/geode/
H A Dgx1fb_core.c413 if (!strncmp(this_opt, "mode:", 5))
415 else if (!strncmp(this_opt, "crt:", 4))
417 else if (!strncmp(this_opt, "panel:", 6))
/linux-master/drivers/scsi/qedf/
H A Dqedf_debugfs.c229 if (strncmp(kern_buf, "false", 5) == 0)
231 else if (strncmp(kern_buf, "true", 4) == 0)
233 else if (strncmp(kern_buf, "now", 3) == 0)
/linux-master/drivers/video/fbdev/nvidia/
H A Dnvidia.c1474 if (!strncmp(this_opt, "forceCRTC", 9)) {
1483 } else if (!strncmp(this_opt, "flatpanel", 9)) {
1485 } else if (!strncmp(this_opt, "hwcur", 5)) {
1487 } else if (!strncmp(this_opt, "noaccel", 6)) {
1489 } else if (!strncmp(this_opt, "noscale", 7)) {
1491 } else if (!strncmp(this_opt, "reverse_i2c", 11)) {
1493 } else if (!strncmp(this_opt, "paneltweak:", 11)) {
1495 } else if (!strncmp(this_opt, "vram:", 5)) {
1497 } else if (!strncmp(this_opt, "backlight:", 10)) {
1499 } else if (!strncmp(this_op
[all...]
/linux-master/sound/soc/intel/boards/
H A Dbxt_rt298.c608 !strncmp(card->dai_link[i].codecs->name, "i2c-INT343A:00",
610 if (!strncmp(card->name, "broxton-rt298",
614 } else if (!strncmp(card->name, "geminilake-rt298",
/linux-master/fs/openpromfs/
H A Dinode.c208 !strncmp(node_name, name, len)) {
221 if (len == n && !strncmp(prop->name, name, len)) {
254 !strncmp (name, "security-password", 17))
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrlfs.c559 if (!strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR)) ||
560 !strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR))) {
701 if (strncmp(line, str, slen))
/linux-master/drivers/mtd/nand/raw/
H A Dnand_hynix.c68 return !strncmp("JEDEC", jedecid, sizeof(jedecid));
714 if (!strncmp("H27UCG8T2ATR-BC", chip->parameters.model,
719 if (!strncmp("H27UCG8T2ETR-BC", chip->parameters.model,
/linux-master/crypto/asymmetric_keys/
H A Dpublic_key.c106 } else if (strncmp(pkey->pkey_algo, "ecdsa", 5) == 0) {
236 if (strncmp(pkey->pkey_algo, "ecdsa", 5) == 0) {
407 (strncmp(pkey->pkey_algo, "ecdsa-", 6) != 0 ||
/linux-master/fs/squashfs/
H A Dnamei.c199 if (len == size && !strncmp(name, dire->name, len)) {
/linux-master/tools/iio/
H A Dlsiio.c31 strncmp(str, prefix, strlen(prefix)) == 0;
/linux-master/drivers/power/reset/
H A Dreboot-mode.c73 if (strncmp(prop->name, PREFIX, len))
/linux-master/drivers/tty/vt/
H A Dconmakehash.c184 if (!strncmp(p, "idem", 4))
/linux-master/crypto/
H A Dsimd.c244 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2));
245 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2));
491 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2));
492 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2));
/linux-master/drivers/platform/x86/dell/
H A Ddell-wmi-descriptor.c137 if (strncmp(obj->string.pointer, "DELL WMI", 8) != 0) {
/linux-master/net/netfilter/
H A Dnfnetlink_acct.c76 if (strncmp(nfacct->name, acct_name, NFACCT_NAME_MAX) != 0)
300 if (strncmp(cur->name, acct_name, NFACCT_NAME_MAX)!= 0)
360 if (strncmp(cur->name, acct_name, NFACCT_NAME_MAX) != 0)
424 if (strncmp(cur->name, acct_name, NFACCT_NAME_MAX)!= 0)

Completed in 484 milliseconds

1234567891011>>