Home
last modified time | relevance | path

Searched refs:str2 (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.10/sound/soc/sof/
Dipc.c54 u8 *str2 = NULL; in ipc_log_header() local
71 str2 = "COMP_NEW"; break; in ipc_log_header()
73 str2 = "COMP_FREE"; break; in ipc_log_header()
75 str2 = "COMP_CONNECT"; break; in ipc_log_header()
77 str2 = "PIPE_NEW"; break; in ipc_log_header()
79 str2 = "PIPE_FREE"; break; in ipc_log_header()
81 str2 = "PIPE_CONNECT"; break; in ipc_log_header()
83 str2 = "PIPE_COMPLETE"; break; in ipc_log_header()
85 str2 = "BUFFER_NEW"; break; in ipc_log_header()
87 str2 = "BUFFER_FREE"; break; in ipc_log_header()
[all …]
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_global_data.c49 static char str2[32]; variable
89 test_reloc(string, 2, str2); in load_static_data()
92 __builtin_memcpy(&str2[2], "hello", sizeof("hello")); in load_static_data()
93 test_reloc(string, 4, str2); in load_static_data()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dprobe_read_user_str.c6 static const char str2[] = "mestringalittlebigger"; variable
64 if (test_one_str(skel, str2, sizeof(str2))) in test_probe_read_user_str()
Dvarlen.c19 const char str2[] = "World!"; in test_varlen() local
22 const int size2 = sizeof(str2); in test_varlen()
38 memcpy(bss->buf_in2, str2, size2); in test_varlen()
/Linux-v5.10/arch/powerpc/platforms/cell/
Dcbe_thermal.c301 u64 str2; in init_default_values() local
326 str2 = 0x10; in init_default_values()
354 out_be64(&pmd_regs->tm_str2, str2); in init_default_values()
/Linux-v5.10/arch/x86/boot/
Dstring.c48 int strcmp(const char *str1, const char *str2) in strcmp() argument
51 const unsigned char *s2 = (const unsigned char *)str2; in strcmp()
Dstring.h19 extern int strcmp(const char *str1, const char *str2);
Dboot.h326 int strcmp(const char *str1, const char *str2);
/Linux-v5.10/drivers/target/iscsi/
Discsi_target_configfs.c161 char *str, *str2, *ip_str, *port_str; in lio_target_call_addnptotpg() local
176 str2 = strstr(str, "]"); in lio_target_call_addnptotpg()
177 if (!str2) { in lio_target_call_addnptotpg()
184 *str2 = '\0'; /* Terminate the unbracketed IPv6 address */ in lio_target_call_addnptotpg()
185 str2++; /* Skip over the \0 */ in lio_target_call_addnptotpg()
187 port_str = strstr(str2, ":"); in lio_target_call_addnptotpg()
/Linux-v5.10/tools/perf/util/
Dannotate.c3143 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type() argument
3148 if (!strcmp("local", str2)) in parse_percent_type()
3150 else if (!strcmp("global", str2)) in parse_percent_type()
3155 if (!strcmp("local", str2)) in parse_percent_type()
3157 else if (!strcmp("global", str2)) in parse_percent_type()
3169 char *str1, *str2; in annotate_parse_percent_type() local
3176 str2 = strchr(str1, '-'); in annotate_parse_percent_type()
3177 if (!str2) in annotate_parse_percent_type()
3180 *str2++ = 0; in annotate_parse_percent_type()
3182 type = parse_percent_type(str1, str2); in annotate_parse_percent_type()
[all …]
/Linux-v5.10/tools/lib/traceevent/
Dparse-filter.c2238 char *str1, *str2; in tep_filter_compare() local
2261 str2 = arg_to_str(filter2, filter_type2->filter); in tep_filter_compare()
2262 if (str1 && str2) in tep_filter_compare()
2263 result = strcmp(str1, str2) != 0; in tep_filter_compare()
2269 free(str2); in tep_filter_compare()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Dhal_com.h249 bool eqNByte(u8 *str1, u8 *str2, u32 num);
/Linux-v5.10/drivers/ata/
Dahci_imx.c333 u32 str1, str2, str3, str4; in sata_ahci_read_temperature() local
367 str2 = (rtune_ctl_reg) & 0x3; in sata_ahci_read_temperature()
397 rtune_ctl_reg = (rtune_ctl_reg & 0xFFC) | (str2); in sata_ahci_read_temperature()
/Linux-v5.10/scripts/kconfig/
Dexpr.c1033 const char *str1, *str2; in expr_calc_value() local
1071 str2 = sym_get_string_value(e->right.sym); in expr_calc_value()
1075 k2 = expr_parse_string(str2, e->right.sym->type, &rval); in expr_calc_value()
1079 res = strcmp(str1, str2); in expr_calc_value()
/Linux-v5.10/drivers/target/
Dtarget_core_configfs.c3410 char *se_plugin_str, *str, *str2; in target_core_call_addhbatotarget() local
3435 str2 = strstr(str+1, "_"); in target_core_call_addhbatotarget()
3436 if (str2) { in target_core_call_addhbatotarget()
3437 *str2 = '\0'; /* Terminate for *se_plugin_str */ in target_core_call_addhbatotarget()
3438 str2++; /* Skip to start of plugin dependent ID */ in target_core_call_addhbatotarget()
3439 str = str2; in target_core_call_addhbatotarget()
/Linux-v5.10/tools/testing/selftests/vm/
Duserfaultfd.c330 static int my_bcmp(char *str1, char *str2, size_t n) in my_bcmp() argument
334 if (str1[i] != str2[i]) in my_bcmp()
/Linux-v5.10/drivers/gpu/drm/sti/
Dsti_hdmi.c592 #define DBGFS_PRINT_STR(str1, str2) seq_printf(s, "%-24s %s\n", str1, str2) argument
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Dhal_com.c1341 bool eqNByte(u8 *str1, u8 *str2, u32 num) in eqNByte() argument
1347 if (str1[num] != str2[num]) in eqNByte()
/Linux-v5.10/drivers/media/platform/sti/delta/
Ddelta-v4l2.c1318 unsigned char str2[100] = ""; in delta_vb2_au_start_streaming() local
1382 delta_frameinfo_str(frameinfo, str2, sizeof(str2))); in delta_vb2_au_start_streaming()
/Linux-v5.10/tools/lib/bpf/
Dbtf.c1376 const char *str2 = btf->strs_data + (long)key2; in strs_hash_equal_fn() local
1378 return strcmp(str1, str2) == 0; in strs_hash_equal_fn()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c1602 static bool _rtl8812ae_eq_n_byte(u8 *str1, u8 *str2, u32 num) in _rtl8812ae_eq_n_byte() argument
1608 if (str1[num] != str2[num]) in _rtl8812ae_eq_n_byte()