Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_global_data.c48 static char str1[32] = "abcdefghijklmnopqrstuvwxyz"; variable
88 test_reloc(string, 1, str1); in load_static_data()
90 str1[5] = 'x'; in load_static_data()
91 test_reloc(string, 3, str1); in load_static_data()
Dtest_snprintf.c43 static const char str1[] = "str1"; in handler() local
64 str1, 'a', 'b', 'c', 'd', 'e', longstr); in handler()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dprobe_read_user_str.c5 static const char str1[] = "mestring"; variable
62 if (test_one_str(skel, str1, sizeof(str1))) in test_probe_read_user_str()
Dvarlen.c18 const char str1[] = "Hello, "; in test_varlen() local
21 const int size1 = sizeof(str1); in test_varlen()
37 memcpy(bss->buf_in1, str1, size1); in test_varlen()
/linux-6.6.21/arch/arm64/lib/
Dcopy_template.S67 str1 tmp1w, dst, #4
71 str1 tmp1, dst, #8
112 str1 tmp1, dst, #8
116 str1 tmp1w, dst, #4
Dcopy_from_user.S43 .macro str1 reg, ptr, val macro
Dcopy_to_user.S42 .macro str1 reg, ptr, val macro
/linux-6.6.21/drivers/md/
Dmd-autodetect.c64 char *str1; in md_setup() local
75 str1 = str; in md_setup()
107 str = str1; in md_setup()
/linux-6.6.21/tools/lib/bpf/
Dstrset.c33 const char *str1 = s->strs_data + key1; in strset_equal_fn() local
36 return strcmp(str1, str2) == 0; in strset_equal_fn()
/linux-6.6.21/arch/powerpc/platforms/cell/
Dcbe_thermal.c299 union spe_reg str1; in init_default_values() local
321 str1.val = 0x1010101010101010ull; in init_default_values()
354 out_be64(&pmd_regs->tm_str1.val, str1.val); in init_default_values()
/linux-6.6.21/arch/x86/boot/
Dstring.c48 int strcmp(const char *str1, const char *str2) in strcmp() argument
50 const unsigned char *s1 = (const unsigned char *)str1; in strcmp()
Dstring.h21 extern int strcmp(const char *str1, const char *str2);
Dboot.h305 int strcmp(const char *str1, const char *str2);
/linux-6.6.21/tools/testing/selftests/arm64/fp/
Dassembler.h60 .pushsection .rodata.str1.1, "aMS", @progbits, 1
/linux-6.6.21/arch/arc/lib/
Dstrcmp-archs.S21 ;; Detect NULL char in str1
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Dhal_com.h148 bool eqNByte(u8 *str1, u8 *str2, u32 num);
/linux-6.6.21/tools/power/x86/intel-speed-select/
Disst-display.c320 unsigned int val, char *str0, char *str1) in isst_ctdp_display_core_info() argument
329 else if (str1 && val) in isst_ctdp_display_core_info()
330 snprintf(value, sizeof(value), "%s", str1); in isst_ctdp_display_core_info()
/linux-6.6.21/drivers/gpu/drm/sti/
Dsti_hdmi.c600 #define DBGFS_PRINT_STR(str1, str2) seq_printf(s, "%-24s %s\n", str1, str2) argument
601 #define DBGFS_PRINT_INT(str1, int2) seq_printf(s, "%-24s %d\n", str1, int2) argument
/linux-6.6.21/tools/perf/util/
Dannotate.c3364 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type() argument
3368 if (!strcmp("period", str1)) { in parse_percent_type()
3375 if (!strcmp("hits", str1)) { in parse_percent_type()
3390 char *str1, *str2; in annotate_parse_percent_type() local
3393 str1 = strdup(_str); in annotate_parse_percent_type()
3394 if (!str1) in annotate_parse_percent_type()
3397 str2 = strchr(str1, '-'); in annotate_parse_percent_type()
3403 type = parse_percent_type(str1, str2); in annotate_parse_percent_type()
3405 type = parse_percent_type(str2, str1); in annotate_parse_percent_type()
3412 free(str1); in annotate_parse_percent_type()
/linux-6.6.21/tools/usb/
Dffs-test.c314 const char str1[sizeof STR_INTERFACE_]; member
329 #define STR_INTERFACE strings.lang0.str1
/linux-6.6.21/drivers/ata/
Dahci_imx.c333 u32 str1, str2, str3, str4; in __sata_ahci_read_temperature() local
365 str1 = (mpll_test_reg >> 2) & 0x7FF; in __sata_ahci_read_temperature()
395 mpll_test_reg = (mpll_test_reg & 0xE03) | (str1) << 2; in __sata_ahci_read_temperature()
/linux-6.6.21/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c142 const char str1[sizeof(STR_INTERFACE)]; member
/linux-6.6.21/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c126 const char str1[sizeof(STR_INTERFACE)]; member
/linux-6.6.21/scripts/kconfig/
Dexpr.c1033 const char *str1, *str2; in expr_calc_value() local
1070 str1 = sym_get_string_value(e->left.sym); in expr_calc_value()
1074 k1 = expr_parse_string(str1, e->left.sym->type, &lval); in expr_calc_value()
1079 res = strcmp(str1, str2); in expr_calc_value()
/linux-6.6.21/tools/testing/selftests/net/openvswitch/
Dovs-dpctl.py67 def strcspn(str1, str2): argument
69 for char in str1:
76 def strspn(str1, str2): argument
78 for char in str1:

12