/linux-master/arch/s390/tools/ |
H A D | gen_opcode_table.c | 251 if (group && (!strncmp(group->opcode, insn->opcode, 2) || group->type->byte == 0)) { 285 if (strncmp(opcode, insn->opcode, 2)) {
|
/linux-master/drivers/pcmcia/ |
H A D | socket_sysfs.c | 114 if (!strncmp(buf, "off", 3)) 117 if (!strncmp(buf, "on", 2))
|
/linux-master/scripts/gcc-plugins/ |
H A D | structleak_plugin.c | 224 if (strncmp(lang_hooks.name, "GNU C", 5) && !strncmp(lang_hooks.name, "GNU C+", 6)) {
|
/linux-master/tools/perf/tests/ |
H A D | perf-record.c | 264 found_libc_mmap = !strncmp(bname + 1, "libc", 4); 266 found_ld_mmap = !strncmp(bname + 1, "ld", 2);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | pseries_energy.c | 67 if (strncmp(drc.drc_type, "CPU", 3)) 136 if (strncmp(drc.drc_type, "CPU", 3))
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_ad7417_sensor.c | 249 if (!strncmp(loc, "CPU A", 5)) 251 else if (!strncmp(loc, "CPU B", 5))
|
/linux-master/drivers/usb/musb/ |
H A D | musb_debugfs.c | 277 if (!strncmp(buf, "0", 1)) { 288 } else if (!strncmp(buf, "1", 1)) {
|
/linux-master/drivers/platform/surface/ |
H A D | surface3-wmi.c | 122 if (!adev || strncmp(acpi_device_bid(adev), SPI_TS_OBJ_NAME, 153 if (strncmp(acpi_device_bid(adev), SPI_CTL_OBJ_NAME,
|
/linux-master/lib/kunit/ |
H A D | assert.c | 107 ret = strncmp(buffer, text, len) == 0; 179 return strncmp(text + 1, value, len - 2) == 0;
|
/linux-master/fs/ |
H A D | xattr.c | 128 if (!strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) || 129 !strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) 135 if (!strncmp(name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN)) { 146 if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) { 174 if (!strncmp(xattr_prefix(handler), XATTR_USER_PREFIX, 228 int issec = !strncmp(name, XATTR_SECURITY_PREFIX, 442 if (!strncmp(name, XATTR_SECURITY_PREFIX, 1285 return !strncmp(name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN);
|
/linux-master/drivers/s390/block/ |
H A D | dasd_proc.c | 269 if (strncmp(str, "set", 3) == 0 && isspace(str[3])) { 297 } else if (strncmp(str, "reset", 5) == 0) {
|
H A D | dasd_devmap.c | 136 if (strncmp(DASD_IPLDEV, str, strlen(DASD_IPLDEV)) == 0) { 192 if (len == 2 && !strncmp(str, "ro", 2)) 194 else if (len == 4 && !strncmp(str, "diag", 4)) 196 else if (len == 3 && !strncmp(str, "raw", 3)) 198 else if (len == 6 && !strncmp(str, "erplog", 6)) 200 else if (len == 8 && !strncmp(str, "failfast", 8)) 226 if (strncmp("autodetect", keyword, length) == 0) { 231 if (strncmp("probeonly", keyword, length) == 0) { 236 if (strncmp("nopav", keyword, length) == 0) { 245 if (strncmp("nofc [all...] |
/linux-master/arch/x86/boot/compressed/ |
H A D | acpi.c | 222 !strncmp(arg, "rsdt", 4)) && 279 !strncmp(arg, "off", 3))
|
/linux-master/samples/seccomp/ |
H A D | user-trap.c | 186 if (!strncmp(source, "/tmp/", 5) && !strncmp(target, "/tmp/", 5)) {
|
/linux-master/net/smc/ |
H A D | smc_pnet.c | 200 !strncmp(pnetelem->eth_name, ndev->name, IFNAMSIZ)) { 314 if (!strncmp(ibdev->ibdev->name, ib_name, 317 !strncmp(dev_name(ibdev->ibdev->dev.parent), ib_name, 335 if (!strncmp(dev_name(smcd_dev->ops->get_dev(smcd_dev)), 379 !strncmp(tmp_pe->eth_name, eth_name, IFNAMSIZ)) { 460 !strncmp(tmp_pe->ib_name, ib_name, IB_DEVICE_NAME_MAX)) { 1182 !strncmp(tmp_pe->ib_name, ib_name, IB_DEVICE_NAME_MAX) && 1211 !strncmp(tmp_pe->ib_name, ib_name, IB_DEVICE_NAME_MAX)) {
|
/linux-master/fs/ocfs2/ |
H A D | stack_user.c | 194 !strncmp(c->oc_conn->cc_name, name, len)) 266 if (strncmp(kbuf, OCFS2_CONTROL_PROTO, OCFS2_CONTROL_PROTO_LEN)) 370 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, 403 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, 450 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_DOWN_OP, 489 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, 493 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, 497 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_DOWN_OP,
|
/linux-master/arch/sparc/kernel/ |
H A D | setup_32.c | 151 if (!strncmp(commands, "mem=", 4)) { 276 if (!strncmp(&cputypval[0], "leon" , 4))
|
/linux-master/drivers/hid/ |
H A D | hid-sensor-custom.c | 299 if (!strncmp(name, "value", strlen("value"))) { 355 } else if (!strncmp(name, "units", strlen("units"))) 357 else if (!strncmp(name, "unit-expo", strlen("unit-expo"))) 359 else if (!strncmp(name, "size", strlen("size"))) 361 else if (!strncmp(name, "minimum", strlen("minimum"))) 364 else if (!strncmp(name, "maximum", strlen("maximum"))) 367 else if (!strncmp(name, "name", strlen("name"))) { 398 if (!strncmp(name, "value", strlen("value"))) {
|
/linux-master/fs/xfs/ |
H A D | xfs_xattr.c | 260 strncmp(name, SGI_ACL_FILE, 268 strncmp(name, SGI_ACL_DEFAULT,
|
/linux-master/drivers/tty/vt/ |
H A D | conmakehash.c | 106 if (abs_srctree && !strncmp(abs_srctree, tblname, strlen(abs_srctree))) 195 if (!strncmp(p, "idem", 4))
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | kprobe_multi_test.c | 430 if (!strncmp(name, "rcu_", 4)) 434 if (!strncmp(name, "__ftrace_invalid_address__", 452 return strncmp(name1, name2, len1); 454 return strncmp(name1, name2, len1) <= 0 ? -1 : 1; 455 return strncmp(name1, name2, len2) >= 0 ? 1 : -1;
|
/linux-master/kernel/ |
H A D | watchdog.c | 82 if (!strncmp(str, "panic", 5)) 84 else if (!strncmp(str, "nopanic", 7)) 86 else if (!strncmp(str, "0", 1)) 88 else if (!strncmp(str, "1", 1)) 90 else if (!strncmp(str, "r", 1))
|
/linux-master/tools/perf/util/ |
H A D | pmus.c | 177 int ret = strncmp(lhs_pmu_name, rhs_pmu_name, 310 !strncmp(last_pmu_name, pmu->name ?: "", pmu_name_len)) 322 !strncmp(last_pmu_name, pmu->name ?: "", pmu_name_len)) 338 if (!strncmp(pmu->name, "uncore_", 7)) { 343 if (!strncmp(pmu->name, "cpu_", 4)) {
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_main.c | 381 if (!strncmp(non_ioq_msix_names[i], "epf_mbox_rint", strlen("epf_mbox_rint"))) { 385 } else if (!strncmp(non_ioq_msix_names[i], "epf_oei_rint", 390 } else if (!strncmp(non_ioq_msix_names[i], "epf_ire_rint", 395 } else if (!strncmp(non_ioq_msix_names[i], "epf_ore_rint", 400 } else if (!strncmp(non_ioq_msix_names[i], "epf_vfire_rint", 405 } else if (!strncmp(non_ioq_msix_names[i], "epf_vfore_rint", 410 } else if (!strncmp(non_ioq_msix_names[i], "epf_dma_rint", 415 } else if (!strncmp(non_ioq_msix_names[i], "epf_dma_vf_rint", 420 } else if (!strncmp(non_ioq_msix_names[i], "epf_pp_vf_rint", 425 } else if (!strncmp(non_ioq_msix_name [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_modes.c | 2123 if (!strncmp(value, "normal", delim - value)) 2125 else if (!strncmp(value, "upside_down", delim - value)) 2127 else if (!strncmp(value, "left_side_up", delim - value)) 2129 else if (!strncmp(value, "right_side_up", delim - value)) 2179 if (!strncmp(option, "rotate", delim - option)) { 2203 } else if (!strncmp(option, "reflect_x", delim - option)) { 2205 } else if (!strncmp(option, "reflect_y", delim - option)) { 2207 } else if (!strncmp(option, "margin_right", delim - option)) { 2212 } else if (!strncmp(option, "margin_left", delim - option)) { 2217 } else if (!strncmp(optio [all...] |