Searched refs:strncmp (Results 426 - 450 of 1092) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/firmware/google/
H A Dcoreboot_table.c175 ret = strncmp(header->signature, "LBIO", sizeof(header->signature));
/linux-master/drivers/scsi/qedi/
H A Dqedi_debugfs.c109 if (!strncmp(lof->oper_str, buffer, strlen(lof->oper_str))) {
/linux-master/net/sched/
H A Dsch_fifo.c234 if (strncmp(q->ops->id + 1, "fifo", 4) != 0)
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_fdinfo_test.c190 if (strncmp(line, prefix, prefix_len))
/linux-master/tools/include/nolibc/
H A Dstring.h251 int strncmp(const char *a, const char *b, size_t size) function
/linux-master/sound/pci/hda/
H A Dhda_component.c116 if (strncmp(d, p->bus, n))
/linux-master/sound/soc/mediatek/common/
H A Dmtk-soundcard-driver.c294 if (adsp_node && !strncmp(dai_link->name, "AFE_SOF", strlen("AFE_SOF")))
/linux-master/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c50 TEST_ASSERT(!strncmp(id, "kvm", 3) && strlen(id) < header.name_size,
/linux-master/arch/loongarch/kernel/
H A Dmachine_kexec.c75 if (!strncmp(bootloader, (char __user *)kimage->segment[i].buf, strlen(bootloader))) {
/linux-master/tools/perf/tests/
H A Dvmlinux-kallsyms.c82 if (!strncmp(name, *p, strlen(*p)))
/linux-master/tools/perf/
H A Dbuiltin-annotate.c459 if (strncmp(ann->target_data_type, "struct ", 7) &&
460 !strncmp(type_name, "struct ", 7))
464 if (strncmp(ann->target_data_type, "union ", 6) &&
465 !strncmp(type_name, "union ", 6))
/linux-master/tools/testing/selftests/net/af_unix/
H A Dscm_rights.c84 if (strncmp(line, variant->name, len))
/linux-master/tools/perf/util/
H A Dparse-events.h278 (!strncmp(str, "sdt_", 4) &&
/linux-master/lib/
H A Dalloc_tag.c190 if (!strncmp(str, "never", 5)) {
/linux-master/drivers/media/pci/bt8xx/
H A Ddst.c459 if (!strncmp(state->fw_name, "DCTNEW", 6)) {
463 } else if (!strncmp(state->fw_name, "DCT-CI", 6)) {
493 if (!strncmp(state->fw_name, "DCTNEW", 6))
495 else if (!strncmp(state->fw_name, "DCT-CI", 6))
1037 if (!strncmp(state->fw_name, "DCT-CI", 6)) {
1084 if (!strncmp (&state->rxbuffer[p_dst_type->offset], p_dst_type->device_id, strlen (p_dst_type->device_id))) {
1113 if (!(strncmp(p_dst_type->device_id, p_tuner_list->fw_name, 7)) &&
/linux-master/drivers/video/fbdev/omap/
H A Domapfb_main.c1858 if (!strncmp(this_opt, "accel", 5))
1860 else if (!strncmp(this_opt, "vram:", 5)) {
1875 else if (!strncmp(this_opt, "vxres:", 6))
1877 else if (!strncmp(this_opt, "vyres:", 6))
1879 else if (!strncmp(this_opt, "rotate:", 7))
1881 else if (!strncmp(this_opt, "mirror:", 7))
1883 else if (!strncmp(this_opt, "manual_update", 13))
/linux-master/drivers/accel/habanalabs/common/
H A Ddebugfs.c506 if (strncmp(c+1, "0x", 2))
560 if (strncmp(kbuf, "0x", 2))
1234 if (strncmp("disable", data, strlen("disable")) == 0) {
1236 } else if (strncmp("enable", data, strlen("enable")) == 0) {
1238 } else if (strncmp("suspend", data, strlen("suspend")) == 0) {
1240 } else if (strncmp("resume", data, strlen("resume")) == 0) {
1242 } else if (strncmp("cpu_timeout", data, strlen("cpu_timeout")) == 0) {
/linux-master/drivers/video/fbdev/
H A Duvesafb.c1826 else if (!strncmp(this_opt, "mtrr:", 5))
1836 else if (!strncmp(this_opt, "vtotal:", 7))
1838 else if (!strncmp(this_opt, "vremap:", 7))
1840 else if (!strncmp(this_opt, "maxhf:", 6))
1842 else if (!strncmp(this_opt, "maxvf:", 6))
1844 else if (!strncmp(this_opt, "maxclk:", 7))
1846 else if (!strncmp(this_opt, "vbemode:", 8))
/linux-master/drivers/s390/net/
H A Dnetiucv.c522 if (strncmp(ipvmid, conn->userid, 8) ||
523 strncmp(ipuser, conn->userdata, 16))
1396 if (!strncmp(username, cp->userid, 9) &&
1397 !strncmp(userdata, cp->userdata, 17) && cp->netdev != ndev) {
1909 if (!strncmp(username, cp->userid, 9) &&
1910 !strncmp(userdata, cp->userdata, 17)) {
1985 if (strncmp(name, ndev->name, count))
/linux-master/drivers/hwmon/occ/
H A Dcommon.c1125 if (strncmp(block->header.eye_catcher, "TEMP", 4) == 0)
1127 else if (strncmp(block->header.eye_catcher, "FREQ", 4) == 0)
1129 else if (strncmp(block->header.eye_catcher, "POWR", 4) == 0)
1131 else if (strncmp(block->header.eye_catcher, "CAPS", 4) == 0)
1133 else if (strncmp(block->header.eye_catcher, "EXTN", 4) == 0)
/linux-master/drivers/of/
H A Dbase.c70 return (strlen(name) == len) && (strncmp(node_name, name, len) == 0);
79 return strncmp(kbasename(np->full_name), prefix, strlen(prefix)) == 0;
438 if (!strncmp(status, *strings, len))
786 if (strncmp(path, name, len) == 0 && (strlen(name) == len))
855 if (strlen(pp->name) == len && !strncmp(pp->name, path, len)) {
/linux-master/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c179 if (strncmp("battery", buf, strlen("battery")) == 0)
181 else if (strncmp("balanced", buf, strlen("balanced")) == 0)
183 else if (strncmp("performance", buf, strlen("performance")) == 0)
315 if (strncmp("low", buf, strlen("low")) == 0) {
317 } else if (strncmp("high", buf, strlen("high")) == 0) {
319 } else if (strncmp("auto", buf, strlen("auto")) == 0) {
321 } else if (strncmp("manual", buf, strlen("manual")) == 0) {
323 } else if (strncmp("profile_exit", buf, strlen("profile_exit")) == 0) {
325 } else if (strncmp("profile_standard", buf, strlen("profile_standard")) == 0) {
327 } else if (strncmp("profile_min_scl
[all...]
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c2168 if ((strncmp(pbuf, "reset", strlen("reset")) == 0) ||
2169 (strncmp(pbuf, "zero", strlen("zero")) == 0)) {
2624 if ((strncmp(pbuf, "clear", strlen("clear"))) == 0) {
2706 if ((strncmp(pbuf, "reset", strlen("reset")) == 0) ||
2707 (strncmp(pbuf, "zero", strlen("zero")) == 0)) {
2784 if ((strncmp(&mybuf[0], "reset", strlen("reset")) == 0) ||
2785 (strncmp(&mybuf[0], "zero", strlen("zero")) == 0)) {
2843 if ((strncmp(pbuf, "on", sizeof("on") - 1) == 0)) {
2879 } else if ((strncmp(pbuf, "off",
2883 } else if ((strncmp(pbu
[all...]
/linux-master/drivers/iommu/amd/
H A Dinit.c3463 if (strncmp(str, "legacy", 6) == 0) {
3467 if (strncmp(str, "vapic", 5) == 0) {
3481 if (strncmp(str, "fullflush", 9) == 0) {
3484 } else if (strncmp(str, "force_enable", 12) == 0) {
3486 } else if (strncmp(str, "off", 3) == 0) {
3488 } else if (strncmp(str, "force_isolation", 15) == 0) {
3490 } else if (strncmp(str, "pgtbl_v1", 8) == 0) {
3492 } else if (strncmp(str, "pgtbl_v2", 8) == 0) {
3494 } else if (strncmp(str, "irtcachedis", 11) == 0) {
/linux-master/tools/objtool/
H A Dcheck.c387 strncmp(sec->name, ".discard.", 9))
393 !strncmp(sec->name, ".text..__x86.", 13))
715 if (strncmp(key_name, STATIC_CALL_TRAMP_PREFIX_STR,
906 if (strncmp(sym->name, "__cfi_", 6))
922 if (strncmp(sym->name, "__cfi_", 6))
2517 if (!strncmp(name, "__sanitizer_cov_", 16))
2526 if (!strncmp(name, "__tsan_func_", 12) ||
2544 if (!strncmp(func->name, STATIC_CALL_TRAMP_PREFIX_STR,
2583 if (!strncmp(sec->name, ".rodata", 7) &&
3460 if (!strncmp(fun
[all...]

Completed in 316 milliseconds

<<11121314151617181920>>