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

1234567891011>>

/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/kvm/x86_64/
H A Dhyperv_cpuid.c36 if (!strncmp(buf, "forceoff", 8) ||
37 !strncmp(buf, "notsupported", 12))
/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/resctrl/
H A Dresctrl_val.c423 if (!strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR)))
426 if (!strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR))) {
592 if (!strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR)))
709 if (!strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR)) ||
710 !strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR))) {
796 if (!strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR)) ||
797 !strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR))) {
804 } else if (!strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR)))
840 if (!strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR)) ||
841 !strncmp(resctrl_va
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_debugfs.c784 if (strncmp(cmd_buf, "add vsi", 7) == 0) {
811 } else if (strncmp(cmd_buf, "del vsi", 7) == 0) {
829 } else if (strncmp(cmd_buf, "add relay", 9) == 0) {
876 } else if (strncmp(cmd_buf, "del relay", 9) == 0) {
905 } else if (strncmp(cmd_buf, "add pvid", 8) == 0) {
935 } else if (strncmp(cmd_buf, "del pvid", 8) == 0) {
956 } else if (strncmp(cmd_buf, "dump", 4) == 0) {
957 if (strncmp(&cmd_buf[5], "switch", 6) == 0) {
959 } else if (strncmp(&cmd_buf[5], "vsi", 3) == 0) {
965 } 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/arm64/lib/
H A DMakefile5 memset.o memcmp.o strcmp.o strncmp.o strlen.o \
/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))
/linux-master/arch/mips/fw/lib/
H A Dcmdline.c68 if (strncmp(envname, fw_envp(index), i) == 0) {
/linux-master/arch/sparc/include/asm/
H A Dprom.h24 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l))

Completed in 849 milliseconds

1234567891011>>