Searched refs:strncmp (Results 201 - 225 of 1092) sorted by relevance

1234567891011>>

/linux-master/arch/s390/tools/
H A Dgen_opcode_table.c251 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 Dsocket_sysfs.c114 if (!strncmp(buf, "off", 3))
117 if (!strncmp(buf, "on", 2))
/linux-master/scripts/gcc-plugins/
H A Dstructleak_plugin.c224 if (strncmp(lang_hooks.name, "GNU C", 5) && !strncmp(lang_hooks.name, "GNU C+", 6)) {
/linux-master/tools/perf/tests/
H A Dperf-record.c264 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 Dpseries_energy.c67 if (strncmp(drc.drc_type, "CPU", 3))
136 if (strncmp(drc.drc_type, "CPU", 3))
/linux-master/drivers/macintosh/
H A Dwindfarm_ad7417_sensor.c249 if (!strncmp(loc, "CPU A", 5))
251 else if (!strncmp(loc, "CPU B", 5))
/linux-master/drivers/usb/musb/
H A Dmusb_debugfs.c277 if (!strncmp(buf, "0", 1)) {
288 } else if (!strncmp(buf, "1", 1)) {
/linux-master/drivers/platform/surface/
H A Dsurface3-wmi.c122 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 Dassert.c107 ret = strncmp(buffer, text, len) == 0;
179 return strncmp(text + 1, value, len - 2) == 0;
/linux-master/fs/
H A Dxattr.c128 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 Ddasd_proc.c269 if (strncmp(str, "set", 3) == 0 && isspace(str[3])) {
297 } else if (strncmp(str, "reset", 5) == 0) {
H A Ddasd_devmap.c136 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 Dacpi.c222 !strncmp(arg, "rsdt", 4)) &&
279 !strncmp(arg, "off", 3))
/linux-master/samples/seccomp/
H A Duser-trap.c186 if (!strncmp(source, "/tmp/", 5) && !strncmp(target, "/tmp/", 5)) {
/linux-master/net/smc/
H A Dsmc_pnet.c200 !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 Dstack_user.c194 !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 Dsetup_32.c151 if (!strncmp(commands, "mem=", 4)) {
276 if (!strncmp(&cputypval[0], "leon" , 4))
/linux-master/drivers/hid/
H A Dhid-sensor-custom.c299 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 Dxfs_xattr.c260 strncmp(name, SGI_ACL_FILE,
268 strncmp(name, SGI_ACL_DEFAULT,
/linux-master/drivers/tty/vt/
H A Dconmakehash.c106 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 Dkprobe_multi_test.c430 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 Dwatchdog.c82 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 Dpmus.c177 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 Doctep_main.c381 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 Ddrm_modes.c2123 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...]

Completed in 414 milliseconds

1234567891011>>