Home
last modified time | relevance | path

Searched refs:str (Results 426 - 450 of 3536) sorted by relevance

1...<<11121314151617181920>>...142

/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
H A Ddelta-mjpeg-hdr.c16 char *str, in header_str()
19 char *cur = str; in header_str()
37 return str; in header_str()
89 unsigned char str[200]; in delta_mjpeg_read_header() local
138 header_str(header, str, sizeof(str))); in delta_mjpeg_read_header()
15 header_str(struct mjpeg_header *header, char *str, unsigned int len) header_str() argument
/kernel/linux/linux-5.10/net/ceph/
H A Dstring_table.c11 struct ceph_string *ceph_find_or_create_string(const char* str, size_t len) in ceph_find_or_create_string() argument
22 ret = ceph_compare_string(exist, str, len); in ceph_find_or_create_string()
46 memcpy(cs->str, str, len); in ceph_find_or_create_string()
47 cs->str[len] = 0; in ceph_find_or_create_string()
57 ret = ceph_compare_string(exist, str, len); in ceph_find_or_create_string()
/kernel/linux/linux-6.6/drivers/vdpa/solidrun/
H A Dsnet_hwmon.c129 int channel, const char **str) in snet_hwmon_read_string()
135 *str = "main_vin"; in snet_hwmon_read_string()
138 *str = "soc_pin"; in snet_hwmon_read_string()
141 *str = "soc_iin"; in snet_hwmon_read_string()
145 *str = "power_stage_temp"; in snet_hwmon_read_string()
147 *str = "ic_junction_temp"; in snet_hwmon_read_string()
127 snet_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) snet_hwmon_read_string() argument
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/
H A Ddelta-mjpeg-hdr.c16 char *str, in header_str()
19 char *cur = str; in header_str()
37 return str; in header_str()
89 unsigned char str[200]; in delta_mjpeg_read_header() local
138 header_str(header, str, sizeof(str))); in delta_mjpeg_read_header()
15 header_str(struct mjpeg_header *header, char *str, unsigned int len) header_str() argument
/kernel/linux/linux-6.6/net/ceph/
H A Dstring_table.c11 struct ceph_string *ceph_find_or_create_string(const char* str, size_t len) in ceph_find_or_create_string() argument
22 ret = ceph_compare_string(exist, str, len); in ceph_find_or_create_string()
46 memcpy(cs->str, str, len); in ceph_find_or_create_string()
47 cs->str[len] = 0; in ceph_find_or_create_string()
57 ret = ceph_compare_string(exist, str, len); in ceph_find_or_create_string()
/kernel/liteos_a/apps/perf/src/
H A Doption.c40 const char *str = NULL; in ParseOption() local
49 *opts->str = argv[++(*index)]; in ParseOption()
52 str = argv[++(*index)]; in ParseOption()
53 if ((*opts->cb)(str) != 0) { in ParseOption()
132 static inline const PerfEvent *StrToEvent(const char *str) in StrToEvent() argument
137 if (strcmp(str, evt->name) == 0) { in StrToEvent()
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_events_hist.c542 static int errpos(char *str) in errpos() argument
544 return err_pos(last_cmd, str); in errpos()
547 static void last_cmd_set(struct trace_event_file *file, char *str) in last_cmd_set() argument
552 if (!str) in last_cmd_set()
556 strncat(last_cmd, str, MAX_FILTER_STR_VAL - 1 - sizeof("hist:")); in last_cmd_set()
1159 static int parse_map_size(char *str) in parse_map_size() argument
1164 ret = kstrtoul(str, 0, &size); in parse_map_size()
1199 static int parse_action(char *str, struct hist_trigger_attrs *attrs) in parse_action() argument
1206 if ((str_has_prefix(str, "onmatch(")) || in parse_action()
1207 (str_has_prefix(str, "onma in parse_action()
1220 parse_assignment(struct trace_array *tr, char *str, struct hist_trigger_attrs *attrs) parse_assignment() argument
1301 char *str = strsep(&trigger_str, ":"); parse_hist_trigger_attrs() local
1535 contains_operator(char *str) contains_operator() argument
1954 char *field_name, *modifier, *str; parse_field() local
2040 parse_atom(struct hist_trigger_data *hist_data, struct trace_event_file *file, char *str, unsigned long *flags, char *var_name) parse_atom() argument
2106 parse_unary(struct hist_trigger_data *hist_data, struct trace_event_file *file, char *str, unsigned long flags, char *var_name, unsigned int level) parse_unary() argument
2219 parse_expr(struct hist_trigger_data *hist_data, struct trace_event_file *file, char *str, unsigned long flags, char *var_name, unsigned int level) parse_expr() argument
2638 char *str = elt_data->field_var_str[j++]; __update_field_vars() local
3160 action_parse(struct trace_array *tr, char *str, struct action_data *data, enum handler_id handler) action_parse() argument
3265 track_data_parse(struct hist_trigger_data *hist_data, char *str, enum handler_id handler) track_data_parse() argument
3628 onmatch_parse(struct trace_array *tr, char *str) onmatch_parse() argument
3924 char *s, *str, *var_name, *field_str; parse_var_defs() local
4002 is_descending(struct trace_array *tr, const char *str) is_descending() argument
4128 char *str; parse_actions() local
4490 char *str, *val_str; hist_trigger_elt_update() local
4620 char str[KSYM_SYMBOL_LEN]; hist_trigger_stacktrace_print() local
4640 char str[KSYM_SYMBOL_LEN]; hist_trigger_print_key() local
[all...]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dexport-to-postgresql.py207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_id))
227 def toserverstr(str):
228 return str
229 def toclientstr(str):
230 return str
233 def toserverstr(str):
234 return bytes(str, "UTF_8")
235 def toclientstr(str):
236 return bytes(str, "UTF_8")
765 raise Exception("COPY FROM STDIN PQputCopyData failed, error " + str(re
[all...]
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dexport-to-postgresql.py207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_id))
227 def toserverstr(str):
228 return str
229 def toclientstr(str):
230 return str
233 def toserverstr(str):
234 return bytes(str, "UTF_8")
235 def toclientstr(str):
236 return bytes(str, "UTF_8")
768 raise Exception("COPY FROM STDIN PQputCopyData failed, error " + str(re
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dparse-events.y75 %type <str> PE_RAW
76 %type <str> PE_NAME
77 %type <str> PE_LEGACY_CACHE
78 %type <str> PE_MODIFIER_EVENT
79 %type <str> PE_MODIFIER_BP
80 %type <str> PE_EVENT_NAME
81 %type <str> PE_DRV_CFG_TERM
82 %type <str> name_or_raw
83 %destructor { free ($$); } <str>
109 %destructor { free ($$.str); } <hardware_ter
[all...]
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_magn.c265 char *str; in inv_mpu_magn_set_orient() local
285 str = devm_kzalloc(regmap_get_device(st->map), in inv_mpu_magn_set_orient()
287 if (str == NULL) in inv_mpu_magn_set_orient()
290 strcpy(str, orient); in inv_mpu_magn_set_orient()
292 strcpy(str, &orient[1]); in inv_mpu_magn_set_orient()
294 str[0] = '-'; in inv_mpu_magn_set_orient()
295 strcpy(&str[1], orient); in inv_mpu_magn_set_orient()
297 st->magn_orient.rotation[6 + i] = str; in inv_mpu_magn_set_orient()
/kernel/linux/linux-5.10/mm/
H A Ddebug.c285 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument
293 if (*str++ != '=' || !*str) in setup_vm_debug()
297 if (*str == '-') in setup_vm_debug()
300 while (*str) { in setup_vm_debug()
301 switch (tolower(*str)) { in setup_vm_debug()
307 *str); in setup_vm_debug()
310 str++; in setup_vm_debug()
/kernel/linux/linux-5.10/kernel/power/
H A Dwakelock.c205 const char *str = buf; in pm_wake_lock() local
214 while (*str && !isspace(*str)) in pm_wake_lock()
215 str++; in pm_wake_lock()
217 len = str - buf; in pm_wake_lock()
221 if (*str && *str != '\n') { in pm_wake_lock()
223 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()
/kernel/linux/linux-6.6/mm/
H A Ddebug.c229 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument
237 if (*str++ != '=' || !*str) in setup_vm_debug()
241 if (*str == '-') in setup_vm_debug()
244 while (*str) { in setup_vm_debug()
245 switch (tolower(*str)) { in setup_vm_debug()
251 *str); in setup_vm_debug()
254 str++; in setup_vm_debug()
/kernel/linux/linux-6.6/kernel/power/
H A Dwakelock.c205 const char *str = buf; in pm_wake_lock() local
214 while (*str && !isspace(*str)) in pm_wake_lock()
215 str++; in pm_wake_lock()
217 len = str - buf; in pm_wake_lock()
221 if (*str && *str != '\n') { in pm_wake_lock()
223 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A Defi.c97 static int __init parse_efi_cmdline(char *str) in parse_efi_cmdline() argument
99 if (!str) { in parse_efi_cmdline()
104 if (parse_option_str(str, "debug")) in parse_efi_cmdline()
107 if (parse_option_str(str, "noruntime")) in parse_efi_cmdline()
110 if (parse_option_str(str, "runtime")) in parse_efi_cmdline()
113 if (parse_option_str(str, "nosoftreserve")) in parse_efi_cmdline()
131 char *str = buf; in systab_show() local
137 str += sprintf(str, "ACPI20=0x%lx\n", efi.acpi20); in systab_show()
139 str in systab_show()
237 efivar_ssdt_setup(char *str) efivar_ssdt_setup() argument
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dearly.c90 static inline void strim_all(char *str) in strim_all() argument
94 s = strim(str); in strim_all()
95 if (s != str) in strim_all()
96 memmove(str, s, strlen(s)); in strim_all()
97 while (*str) { in strim_all()
98 if (!isspace(*str++)) in strim_all()
100 if (isspace(*str)) { in strim_all()
101 s = skip_spaces(str); in strim_all()
102 memmove(str, s, strlen(s) + 1); in strim_all()
273 static int __init disable_vector_extension(char *str) in disable_vector_extension() argument
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dearly.c115 static inline void strim_all(char *str) in strim_all() argument
119 s = strim(str); in strim_all()
120 if (s != str) in strim_all()
121 memmove(str, s, strlen(s)); in strim_all()
122 while (*str) { in strim_all()
123 if (!isspace(*str++)) in strim_all()
125 if (isspace(*str)) { in strim_all()
126 s = skip_spaces(str); in strim_all()
127 memmove(str, s, strlen(s) + 1); in strim_all()
279 static int __init disable_vector_extension(char *str) in disable_vector_extension() argument
[all...]
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dblacklist.c101 static int parse_busid(char *str, unsigned int *cssid, unsigned int *ssid, in parse_busid() argument
109 if (*str == '\0') in parse_busid()
113 str_work = str; in parse_busid()
114 val = simple_strtoul(str, &str_work, 16); in parse_busid()
127 str_work = str; in parse_busid()
144 str); in parse_busid()
149 static int blacklist_parse_parameters(char *str, range_action action, in blacklist_parse_parameters() argument
159 while ((parm = strsep(&str, ","))) { in blacklist_parse_parameters()
227 blacklist_setup (char *str) in blacklist_setup() argument
230 if (blacklist_parse_parameters(str, ad in blacklist_setup()
[all...]
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dsclp_early_core.c84 static void sclp_early_print_lm(const char *str, unsigned int len) in sclp_early_print_lm() argument
101 ch = str[offset++]; in sclp_early_print_lm()
138 static void sclp_early_print_vt220(const char *str, unsigned int len) in sclp_early_print_vt220() argument
146 memcpy(&sccb->msg.data, str, len); in sclp_early_print_vt220()
217 void __sclp_early_printk(const char *str, unsigned int len) in __sclp_early_printk() argument
226 sclp_early_print_lm(str, len); in __sclp_early_printk()
228 sclp_early_print_vt220(str, len); in __sclp_early_printk()
232 void sclp_early_printk(const char *str) in sclp_early_printk() argument
234 __sclp_early_printk(str, strlen(str)); in sclp_early_printk()
[all...]
/kernel/linux/linux-5.10/sound/pci/ymfpci/
H A Dymfpci.c173 const char *str, *model; in snd_card_ymfpci_probe() local
190 case 0x0004: str = "YMF724"; model = "DS-1"; break; in snd_card_ymfpci_probe()
191 case 0x000d: str = "YMF724F"; model = "DS-1"; break; in snd_card_ymfpci_probe()
192 case 0x000a: str = "YMF740"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
193 case 0x000c: str = "YMF740C"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
194 case 0x0010: str = "YMF744"; model = "DS-1S"; break; in snd_card_ymfpci_probe()
195 case 0x0012: str = "YMF754"; model = "DS-1E"; break; in snd_card_ymfpci_probe()
196 default: model = str = "???"; break; in snd_card_ymfpci_probe()
272 strcpy(card->driver, str); in snd_card_ymfpci_probe()
273 sprintf(card->shortname, "Yamaha %s (%s)", model, str); in snd_card_ymfpci_probe()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_print.c57 void __drm_puts_coredump(struct drm_printer *p, const char *str) in __drm_puts_coredump() argument
68 len = strlen(str); in __drm_puts_coredump()
82 str + (iterator->start - iterator->offset), copy); in __drm_puts_coredump()
89 len = min_t(ssize_t, strlen(str), iterator->remain); in __drm_puts_coredump()
91 memcpy(iterator->data + pos, str, len); in __drm_puts_coredump()
145 void __drm_puts_seq_file(struct drm_printer *p, const char *str) in __drm_puts_seq_file() argument
147 seq_puts(p->arg, str); in __drm_puts_seq_file()
178 * @str: const string
183 void drm_puts(struct drm_printer *p, const char *str) in drm_puts() argument
186 p->puts(p, str); in drm_puts()
[all...]
/kernel/linux/linux-5.10/drivers/rapidio/
H A Drio-sysfs.c40 char *str = buf; in routes_show() local
47 str += in routes_show()
48 sprintf(str, "%04x %02x\n", i, in routes_show()
52 return (str - buf); in routes_show()
70 char *str = buf; in lnext_show() local
76 str += sprintf(str, "%s\n", in lnext_show()
79 str += sprintf(str, "null\n"); in lnext_show()
83 return str in lnext_show()
[all...]
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd_proc.c263 char *buffer, *str; in dasd_stats_proc_write() local
273 str = skip_spaces(buffer); in dasd_stats_proc_write()
274 if (strncmp(str, "set", 3) == 0 && isspace(str[3])) { in dasd_stats_proc_write()
276 str = skip_spaces(str + 4); in dasd_stats_proc_write()
277 if (strcmp(str, "on") == 0) { in dasd_stats_proc_write()
293 } else if (strcmp(str, "off") == 0) { in dasd_stats_proc_write()
302 } else if (strncmp(str, "reset", 5) == 0) { in dasd_stats_proc_write()
313 pr_warn("%s is not a supported value for /proc/dasd/statistics\n", str); in dasd_stats_proc_write()
[all...]
/kernel/linux/linux-6.6/fs/unicode/
H A Dutf8-norm.c85 utf8decode3(const char *str) in utf8decode3() argument
89 uc = *str++ & 0x0F; in utf8decode3()
91 uc |= *str++ & 0x3F; in utf8decode3()
93 uc |= *str++ & 0x3F; in utf8decode3()
102 utf8encode3(char *str, unsigned int val) in utf8encode3() argument
104 str[2] = (val & 0x3F) | 0x80; in utf8encode3()
106 str[1] = (val & 0x3F) | 0x80; in utf8encode3()
108 str[0] = val | 0xE0; in utf8encode3()
258 utf8hangul(const char *str, unsigned char *hangul) in utf8hangul() argument
267 si = utf8decode3(str) in utf8hangul()
[all...]

Completed in 17 milliseconds

1...<<11121314151617181920>>...142