Searched refs:strncmp (Results 76 - 100 of 1092) sorted by relevance

1234567891011>>

/linux-master/arch/riscv/purgatory/
H A DMakefile4 purgatory-y += strcmp.o strlen.o strncmp.o
27 $(obj)/strncmp.o: $(srctree)/arch/riscv/lib/strncmp.S FORCE
/linux-master/drivers/net/wireless/ath/ath5k/
H A Ddebug.c235 if (strncmp(buf, "disable", 7) == 0) {
238 } else if (strncmp(buf, "enable", 6) == 0) {
338 if (strncmp(buf, dbg_info[i].name,
442 if (strncmp(buf, "diversity", 9) == 0) {
445 } else if (strncmp(buf, "fixed-a", 7) == 0) {
448 } else if (strncmp(buf, "fixed-b", 7) == 0) {
451 } else if (strncmp(buf, "clear", 5) == 0) {
615 if (strncmp(buf, "clear", 5) == 0) {
764 if (strncmp(buf, "sens-low", 8) == 0) {
766 } else if (strncmp(bu
[all...]
/linux-master/tools/perf/util/
H A Dmap.h245 return strncmp(name, "bpf_trampoline_", sizeof("bpf_trampoline_") - 1) == 0 ||
246 strncmp(name, "bpf_dispatcher_", sizeof("bpf_dispatcher_") - 1) == 0;
252 !strncmp(filename, "/dev/zero", sizeof("/dev/zero") - 1) ||
253 !strncmp(filename, "/anon_hugepage", sizeof("/anon_hugepage") - 1);
258 return !strncmp(filename, "[stack", 6) ||
259 !strncmp(filename, "/SYSV", 5) ||
/linux-master/tools/usb/usbip/src/
H A Dusbip_bind.c89 if (!strncmp(bDevClass, "09", strlen(bDevClass))) {
101 if (!strncmp(USBIP_HOST_DRV_NAME, driver,
/linux-master/arch/x86/lib/
H A Dstring_32.c119 int strncmp(const char *cs, const char *ct, size_t count) function
140 EXPORT_SYMBOL(strncmp); variable
/linux-master/tools/perf/dlfilters/
H A Ddlfilter-show-cycles.c40 if (!strncmp(event, "instructions", 12))
42 if (!strncmp(event, "branches", 8))
/linux-master/drivers/misc/lkdtm/
H A Dfortify.c165 if (strncmp(dst, "foob", sizeof(dst)) != 0)
180 if (strncmp(dst, "foo", sizeof(dst)) != 0)
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dmetadata.c83 if (CHECK(strncmp(obj->rodata->bpf_metadata_a, "foo",
117 if (CHECK(strncmp(obj->rodata->bpf_metadata_a, "bar",
H A Dreference_tracking.c45 if (strncmp(name, "err_", sizeof("err_") - 1) == 0) {
/linux-master/arch/riscv/lib/
H A Dstrncmp.S8 /* int strncmp(const char *cs, const char *ct, size_t count) */
9 SYM_FUNC_START(strncmp)
15 * a0 - comparison result, value like strncmp
40 * strncmp only needs to return (< 0, 0, > 0) values
47 * Variant of strncmp using the ZBB extension if available
57 * a0 - comparison result, like strncmp
138 SYM_FUNC_END(strncmp)
/linux-master/drivers/hwmon/pmbus/
H A Dacbel-fsg032.c77 if (strncmp(buf, "ACBEL", 5)) {
89 if (strncmp(buf, "FSG032", 6)) {
/linux-master/arch/x86/kernel/apic/
H A Dapic_flat_64.c122 if (!strncmp(oem_id, "IBM", 3) && !strncmp(oem_table_id, "EXA", 3)) {
/linux-master/arch/x86/boot/compressed/
H A Dpgtable_64.c53 if (strncmp(signature, EFI32_LOADER_SIGNATURE, 4) &&
54 strncmp(signature, EFI64_LOADER_SIGNATURE, 4)) {
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_cpuid.c34 if (!strncmp(buf, "forceoff", 8) ||
35 !strncmp(buf, "notsupported", 12))
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrl_val.c424 if (!strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR)))
427 if (!strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR))) {
596 if (!strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR)))
713 if (!strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR)) ||
714 !strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR))) {
800 if (!strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR)) ||
801 !strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR))) {
808 } else if (!strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR)))
844 if (!strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR)) ||
845 !strncmp(resctrl_va
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_debugfs.c785 if (strncmp(cmd_buf, "add vsi", 7) == 0) {
813 } else if (strncmp(cmd_buf, "del vsi", 7) == 0) {
831 } else if (strncmp(cmd_buf, "add relay", 9) == 0) {
878 } else if (strncmp(cmd_buf, "del relay", 9) == 0) {
907 } else if (strncmp(cmd_buf, "add pvid", 8) == 0) {
937 } else if (strncmp(cmd_buf, "del pvid", 8) == 0) {
958 } else if (strncmp(cmd_buf, "dump", 4) == 0) {
959 if (strncmp(&cmd_buf[5], "switch", 6) == 0) {
961 } else if (strncmp(&cmd_buf[5], "vsi", 3) == 0) {
967 } else if (strncmp(
[all...]
/linux-master/include/linux/ceph/
H A Dstring_table.h46 return strncmp(cs->str, str, len);
/linux-master/arch/sh/mm/
H A Dconsistent.c27 if (!strncmp(name, p, k) && p[k] == '=') {
/linux-master/arch/s390/boot/
H A Dstring.c9 int strncmp(const char *cs, const char *ct, size_t count) function
/linux-master/tools/gpio/
H A Dgpio-utils.h24 strncmp(str, prefix, strlen(prefix)) == 0;
/linux-master/tools/iio/
H A Diio_utils.h56 strncmp(str+strlen(str)-strlen(suffix),
/linux-master/drivers/rtc/
H A Dproc.c30 return !strncmp(name, CONFIG_RTC_HCTOSYS_DEVICE, NAME_SIZE);
/linux-master/arch/x86/boot/
H A Dstring.h22 extern int strncmp(const char *cs, const char *ct, size_t count);
/linux-master/drivers/mtd/parsers/
H A Dofpart_bcm4908.c32 if (strncmp(s, BLPARAMS_FW_OFFSET, len) || s[len] != '=')
/linux-master/drivers/leds/
H A Dleds-max8997.c207 if (!strncmp(buf, "FLASH_PIN_CONTROL", 17))
209 else if (!strncmp(buf, "MOVIE_PIN_CONTROL", 17))
211 else if (!strncmp(buf, "FLASH", 5))
213 else if (!strncmp(buf, "MOVIE", 5))

Completed in 237 milliseconds

1234567891011>>