Home
last modified time | relevance | path

Searched refs:str (Results 676 - 700 of 3536) sorted by relevance

1...<<21222324252627282930>>...142

/kernel/linux/linux-5.10/scripts/dtc/
H A Dchecks.c67 char *str = NULL; in check_msg() local
81 xasprintf(&str, "%s", file_str); in check_msg()
84 xasprintf(&str, "<stdout>"); in check_msg()
86 xasprintf(&str, "%s", dti->outname); in check_msg()
89 xasprintf_append(&str, ": %s (%s): ", in check_msg()
94 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); in check_msg()
96 xasprintf_append(&str, "%s: ", node->fullpath); in check_msg()
100 xavsprintf_append(&str, fmt, ap); in check_msg()
103 xasprintf_append(&str, "\n"); in check_msg()
111 xasprintf_append(&str, " als in check_msg()
222 char *str; check_is_string_list() local
932 const char *str, *end; node_is_compatible() local
1224 char *str = prop->val.val; node_is_disabled() local
1476 char *str; prop_is_gpio() local
1528 char *str; check_deprecated_gpio_property() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Devlist.c911 static long parse_pages_arg(const char *str, unsigned long min, in parse_pages_arg() argument
923 if (str == NULL) in parse_pages_arg()
926 val = parse_tag_value(str, tags); in parse_pages_arg()
933 pages = strtoul(str, &eptr, 10); in parse_pages_arg()
959 int __evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str) in __evlist__parse_mmap_pages() argument
967 pages = parse_pages_arg(str, 1, max); in __evlist__parse_mmap_pages()
977 int evlist__parse_mmap_pages(const struct option *opt, const char *str, int unset __maybe_unused) in evlist__parse_mmap_pages() argument
979 return __evlist__parse_mmap_pages(opt->value, str); in evlist__parse_mmap_pages()
1705 struct evsel *evlist__find_evsel_by_str(struct evlist *evlist, const char *str) in evlist__find_evsel_by_str() argument
1712 if (evsel__name_is(evsel, str)) in evlist__find_evsel_by_str()
1843 evlist__parse_control_fifo(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) evlist__parse_control_fifo() argument
1892 evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) evlist__parse_control() argument
2199 parse_event_enable_time(const char *str, struct event_enable_time *range, bool first) parse_event_enable_time() argument
2214 parse_event_enable_times(const char *str, struct event_enable_time *range) parse_event_enable_times() argument
2257 str_to_delay(const char *str) str_to_delay() argument
2268 evlist__parse_event_enable_time(struct evlist *evlist, struct record_opts *opts, const char *str, int unset) evlist__parse_event_enable_time() argument
[all...]
/kernel/linux/linux-5.10/drivers/base/test/
H A Dproperty-entry-test.c224 PROPERTY_ENTRY_STRING("str", "single"), in pe_test_strings()
231 const char *str; in pe_test_strings() local
238 error = fwnode_property_read_string(node, "str", &str); in pe_test_strings()
240 KUNIT_EXPECT_STREQ(test, str, "single"); in pe_test_strings()
242 error = fwnode_property_read_string_array(node, "str", strs, 1); in pe_test_strings()
247 error = fwnode_property_read_string_array(node, "str", strs, 2); in pe_test_strings()
251 error = fwnode_property_read_string(node, "no-str", &str); in pe_test_strings()
254 error = fwnode_property_read_string_array(node, "no-str", str in pe_test_strings()
[all...]
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
H A Dkaslr.c117 char *skip_spaces(const char *str) in skip_spaces() argument
119 while (isspace(*str)) in skip_spaces()
120 ++str; in skip_spaces()
121 return (char *)str; in skip_spaces()
192 static void mem_avoid_memmap(enum parse_mode mode, char *str) in mem_avoid_memmap() argument
199 while (str && (i < MAX_MEMMAP_REGIONS)) { in mem_avoid_memmap()
202 char *k = strchr(str, ','); in mem_avoid_memmap()
207 rc = parse_memmap(str, &start, &size, mode); in mem_avoid_memmap()
210 str = k; in mem_avoid_memmap()
226 if ((i >= MAX_MEMMAP_REGIONS) && str) in mem_avoid_memmap()
[all...]
/kernel/linux/linux-5.10/drivers/char/
H A Dapm-emulation.c687 static int __init apm_setup(char *str) in apm_setup() argument
689 while ((str != NULL) && (*str != '\0')) { in apm_setup()
690 if (strncmp(str, "off", 3) == 0) in apm_setup()
692 if (strncmp(str, "on", 2) == 0) in apm_setup()
694 str = strchr(str, ','); in apm_setup()
695 if (str != NULL) in apm_setup()
696 str += strspn(str, ", \ in apm_setup()
[all...]
/kernel/linux/linux-6.6/arch/x86/boot/compressed/
H A Dkaslr.c113 char *skip_spaces(const char *str) in skip_spaces() argument
115 while (isspace(*str)) in skip_spaces()
116 ++str; in skip_spaces()
117 return (char *)str; in skip_spaces()
188 static void mem_avoid_memmap(enum parse_mode mode, char *str) in mem_avoid_memmap() argument
195 while (str && (i < MAX_MEMMAP_REGIONS)) { in mem_avoid_memmap()
198 char *k = strchr(str, ','); in mem_avoid_memmap()
203 rc = parse_memmap(str, &start, &size, mode); in mem_avoid_memmap()
206 str = k; in mem_avoid_memmap()
222 if ((i >= MAX_MEMMAP_REGIONS) && str) in mem_avoid_memmap()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
H A Dwlan_cfg.c94 static int wilc_wlan_cfg_set_str(u8 *frame, u32 offset, u16 id, u8 *str, in wilc_wlan_cfg_set_str() argument
102 if (str && size != 0) in wilc_wlan_cfg_set_str()
103 memcpy(&frame[offset + 4], str, size); in wilc_wlan_cfg_set_str()
182 memcpy(cfg->s[i].str, &info[2], info[2] + 2); in wilc_wlan_parse_response_frame()
303 u16 size = get_unaligned_le16(cfg->s[i].str); in wilc_wlan_cfg_get_val()
306 memcpy(buffer, &cfg->s[i].str[2], size); in wilc_wlan_cfg_get_val()
383 wl->cfg.s[i].str = str_vals->firmware_version; in wilc_wlan_cfg_init()
386 wl->cfg.s[i].str = str_vals->mac_address; in wilc_wlan_cfg_init()
389 wl->cfg.s[i].str = str_vals->assoc_rsp; in wilc_wlan_cfg_init()
392 wl->cfg.s[i].str in wilc_wlan_cfg_init()
[all...]
/kernel/linux/linux-5.10/scripts/dtc/libfdt/
H A Dlibfdt.h1072 * @str: String to search for
1080 int fdt_stringlist_contains(const char *strlist, int listlen, const char *str);
1473 #define fdt_property_string(fdt, name, str) \
1474 fdt_property(fdt, name, str, strlen(str)+1)
1708 * @str: string value for the property
1731 #define fdt_setprop_string(fdt, nodeoffset, name, str) \
1732 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1880 * @str
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dauxtrace.h378 const char *str);
402 * @str: allocated string that contains the other string members
416 char *str; member
556 const char *str);
559 struct record_opts *opts, const char *str);
595 int itrace_parse_synth_opts(const struct option *opt, const char *str,
711 const char *str __maybe_unused, in itrace_parse_synth_opts()
721 const char *str) in auxtrace_parse_snapshot_options()
723 if (!str) in auxtrace_parse_snapshot_options()
733 const char *str) in auxtrace_parse_sample_options()
719 auxtrace_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, struct record_opts *opts __maybe_unused, const char *str) auxtrace_parse_snapshot_options() argument
730 auxtrace_parse_sample_options(struct auxtrace_record *itr __maybe_unused, struct evlist *evlist __maybe_unused, struct record_opts *opts __maybe_unused, const char *str) auxtrace_parse_sample_options() argument
[all...]
H A Dtarget.c73 const char *str = target->uid_str; in target__parse_uid() local
76 if (str == NULL) in target__parse_uid()
80 getpwnam_r(str, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
87 int uid = strtol(str, &endptr, 10); in target__parse_uid()
/kernel/linux/linux-5.10/fs/unicode/
H A Dutf8-norm.c102 utf8decode3(const char *str) in utf8decode3() argument
106 uc = *str++ & 0x0F; in utf8decode3()
108 uc |= *str++ & 0x3F; in utf8decode3()
110 uc |= *str++ & 0x3F; in utf8decode3()
119 utf8encode3(char *str, unsigned int val) in utf8encode3() argument
121 str[2] = (val & 0x3F) | 0x80; in utf8encode3()
123 str[1] = (val & 0x3F) | 0x80; in utf8encode3()
125 str[0] = val | 0xE0; in utf8encode3()
275 utf8hangul(const char *str, unsigned char *hangul) in utf8hangul() argument
284 si = utf8decode3(str) in utf8hangul()
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
H A Dvimc-sensor.c201 char str[100]; in vimc_sen_process_frame() local
211 snprintf(str, sizeof(str), in vimc_sen_process_frame()
217 tpg_gen_text(&vsen->tpg, basep, line++ * line_height, 16, str); in vimc_sen_process_frame()
218 snprintf(str, sizeof(str), "sensor size: %dx%d", in vimc_sen_process_frame()
221 tpg_gen_text(&vsen->tpg, basep, line++ * line_height, 16, str); in vimc_sen_process_frame()
228 snprintf(str, sizeof(str), "%02d:%02d:%02d:%03d", in vimc_sen_process_frame()
233 tpg_gen_text(&vsen->tpg, basep, line++ * line_height, 16, str); in vimc_sen_process_frame()
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/
H A Dvimc-sensor.c202 char str[100]; in vimc_sensor_process_frame() local
212 snprintf(str, sizeof(str), in vimc_sensor_process_frame()
218 tpg_gen_text(&vsensor->tpg, basep, line++ * line_height, 16, str); in vimc_sensor_process_frame()
219 snprintf(str, sizeof(str), "sensor size: %dx%d", in vimc_sensor_process_frame()
222 tpg_gen_text(&vsensor->tpg, basep, line++ * line_height, 16, str); in vimc_sensor_process_frame()
229 snprintf(str, sizeof(str), "%02d:%02d:%02d:%03d", in vimc_sensor_process_frame()
234 tpg_gen_text(&vsensor->tpg, basep, line++ * line_height, 16, str); in vimc_sensor_process_frame()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_ethtool.c25 #define STAT_BCMASP_SOFT_MIB(str) { \
26 .stat_string = str, \
30 #define STAT_BCMASP_OFFSET(str, _type, offset) { \
31 .stat_string = str, \
36 #define STAT_BCMASP_RX_EDPKT(str, offset) \
37 STAT_BCMASP_OFFSET(str, BCMASP_STAT_RX_EDPKT, offset)
38 #define STAT_BCMASP_RX_CTRL(str, offset) \
39 STAT_BCMASP_OFFSET(str, BCMASP_STAT_RX_CTRL, offset)
40 #define STAT_BCMASP_RX_CTRL_PER_INTF(str, offset) \
41 STAT_BCMASP_OFFSET(str, BCMASP_STAT_RX_CTRL_PER_INT
[all...]
/kernel/linux/linux-6.6/drivers/char/
H A Dapm-emulation.c687 static int __init apm_setup(char *str) in apm_setup() argument
689 while ((str != NULL) && (*str != '\0')) { in apm_setup()
690 if (strncmp(str, "off", 3) == 0) in apm_setup()
692 if (strncmp(str, "on", 2) == 0) in apm_setup()
694 str = strchr(str, ','); in apm_setup()
695 if (str != NULL) in apm_setup()
696 str += strspn(str, ", \ in apm_setup()
[all...]
/kernel/linux/linux-6.6/drivers/base/test/
H A Dproperty-entry-test.c260 PROPERTY_ENTRY_STRING("str", "single"), in pe_test_strings()
267 const char *str; in pe_test_strings() local
274 error = fwnode_property_read_string(node, "str", &str); in pe_test_strings()
276 KUNIT_EXPECT_STREQ(test, str, "single"); in pe_test_strings()
278 error = fwnode_property_string_array_count(node, "str"); in pe_test_strings()
281 error = fwnode_property_read_string_array(node, "str", strs, 1); in pe_test_strings()
286 error = fwnode_property_read_string_array(node, "str", strs, 2); in pe_test_strings()
290 error = fwnode_property_read_string(node, "no-str", &str); in pe_test_strings()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/
H A Dwlan_cfg.c96 static int wilc_wlan_cfg_set_str(u8 *frame, u32 offset, u16 id, u8 *str, in wilc_wlan_cfg_set_str() argument
104 if (str && size != 0) in wilc_wlan_cfg_set_str()
105 memcpy(&frame[offset + 4], str, size); in wilc_wlan_cfg_set_str()
184 memcpy(cfg->s[i].str, &info[2], in wilc_wlan_parse_response_frame()
306 u16 size = get_unaligned_le16(cfg->s[i].str); in wilc_wlan_cfg_get_val()
309 memcpy(buffer, &cfg->s[i].str[2], size); in wilc_wlan_cfg_get_val()
386 wl->cfg.s[i].str = str_vals->firmware_version; in wilc_wlan_cfg_init()
389 wl->cfg.s[i].str = str_vals->mac_address; in wilc_wlan_cfg_init()
392 wl->cfg.s[i].str = str_vals->assoc_rsp; in wilc_wlan_cfg_init()
395 wl->cfg.s[i].str in wilc_wlan_cfg_init()
[all...]
/kernel/linux/linux-6.6/scripts/dtc/libfdt/
H A Dlibfdt.h1104 * @str: String to search for
1112 int fdt_stringlist_contains(const char *strlist, int listlen, const char *str);
1513 #define fdt_property_string(fdt, name, str) \
1514 fdt_property(fdt, name, str, strlen(str)+1)
1755 * @str: string value for the property
1778 #define fdt_setprop_string(fdt, nodeoffset, name, str) \
1779 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1933 * @str
[all...]
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Duaccess-asm.h89 str \tmp2, [\tsk, #TI_ADDR_LIMIT]
91 DACR( str \tmp0, [sp, #SVC_DACR])
92 str \tmp1, [sp, #SVC_ADDR_LIMIT]
111 str \tmp1, [\tsk, #TI_ADDR_LIMIT]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dinst.h127 static inline char *__ppc_inst_as_str(char str[PPC_INST_STR_LEN], struct ppc_inst x) in __ppc_inst_as_str() argument
130 sprintf(str, "%08x %08x", ppc_inst_val(x), ppc_inst_suffix(x)); in __ppc_inst_as_str()
132 sprintf(str, "%08x", ppc_inst_val(x)); in __ppc_inst_as_str()
134 return str; in __ppc_inst_as_str()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dresolve_btfids.c69 const char *str; in __resolve_symbol() local
85 str = btf__name_by_offset(btf, type->name_off); in __resolve_symbol()
86 if (!str) { in __resolve_symbol()
91 if (!strcmp(str, test_symbols[i].name)) in __resolve_symbol()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
H A Dodm_debug.h136 #define ODM_dbg_trace(str) { DbgPrint("%s:%s\n", __func__, str); }
160 #define ODM_dbg_trace(str) no_printk("%s", str)
/kernel/linux/linux-5.10/samples/bpf/
H A Dlathist_user.c23 static void stars(char *str, long val, long max, int width) in stars() argument
28 str[i] = '*'; in stars()
30 str[i - 1] = '+'; in stars()
31 str[i] = '\0'; in stars()
/kernel/linux/linux-5.10/sound/core/
H A Dinfo_oss.c54 char *str; in snd_sndstat_show_strings() local
59 str = snd_sndstat_strings[idx][dev]; in snd_sndstat_show_strings()
60 if (str) { in snd_sndstat_show_strings()
65 snd_iprintf(buf, "%i: %s\n", idx, str); in snd_sndstat_show_strings()
/kernel/linux/linux-5.10/tools/lib/
H A Dstring.c119 * skip_spaces - Removes leading whitespace from @str.
120 * @str: The string to be stripped.
122 * Returns a pointer to the first non-whitespace character in @str.
124 char *skip_spaces(const char *str) in skip_spaces() argument
126 while (isspace(*str)) in skip_spaces()
127 ++str; in skip_spaces()
128 return (char *)str; in skip_spaces()

Completed in 30 milliseconds

1...<<21222324252627282930>>...142