Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 1253) sorted by relevance

12345678910>>...51

/linux-6.6.21/drivers/acpi/acpica/
Dutstrsuppt.c40 acpi_status acpi_ut_convert_octal_string(char *string, u64 *return_value_ptr) in acpi_ut_convert_octal_string() argument
47 while (*string) { in acpi_ut_convert_octal_string()
53 if (!(ACPI_IS_OCTAL_DIGIT(*string))) { in acpi_ut_convert_octal_string()
62 status = acpi_ut_insert_digit(&accumulated_value, 8, *string); in acpi_ut_convert_octal_string()
68 string++; in acpi_ut_convert_octal_string()
94 acpi_status acpi_ut_convert_decimal_string(char *string, u64 *return_value_ptr) in acpi_ut_convert_decimal_string() argument
101 while (*string) { in acpi_ut_convert_decimal_string()
107 if (!isdigit((int)*string)) { in acpi_ut_convert_decimal_string()
116 status = acpi_ut_insert_digit(&accumulated_value, 10, *string); in acpi_ut_convert_decimal_string()
122 string++; in acpi_ut_convert_decimal_string()
[all …]
Dutstrtoul64.c80 acpi_status acpi_ut_strtoul64(char *string, u64 *return_value) in acpi_ut_strtoul64() argument
86 ACPI_FUNCTION_TRACE_STR(ut_strtoul64, string); in acpi_ut_strtoul64()
92 if (*string == 0) { in acpi_ut_strtoul64()
96 if (!acpi_ut_remove_whitespace(&string)) { in acpi_ut_strtoul64()
103 if (acpi_ut_detect_hex_prefix(&string)) { in acpi_ut_strtoul64()
111 else if (acpi_ut_detect_octal_prefix(&string)) { in acpi_ut_strtoul64()
115 if (!acpi_ut_remove_leading_zeros(&string)) { in acpi_ut_strtoul64()
133 status = acpi_ut_convert_octal_string(string, return_value); in acpi_ut_strtoul64()
137 status = acpi_ut_convert_decimal_string(string, return_value); in acpi_ut_strtoul64()
142 status = acpi_ut_convert_hex_string(string, return_value); in acpi_ut_strtoul64()
[all …]
Dutprint.c25 acpi_ut_bound_string_length(const char *string, acpi_size count);
27 static char *acpi_ut_bound_string_output(char *string, const char *end, char c);
29 static char *acpi_ut_format_number(char *string,
34 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper);
50 acpi_ut_bound_string_length(const char *string, acpi_size count) in acpi_ut_bound_string_length() argument
54 while (*string && count) { in acpi_ut_bound_string_length()
56 string++; in acpi_ut_bound_string_length()
77 static char *acpi_ut_bound_string_output(char *string, const char *end, char c) in acpi_ut_bound_string_output() argument
80 if (string < end) { in acpi_ut_bound_string_output()
81 *string = c; in acpi_ut_bound_string_output()
[all …]
Ddbinput.c464 char *acpi_db_get_next_token(char *string, in acpi_db_get_next_token() argument
473 if (!string || !(*string)) { in acpi_db_get_next_token()
479 while (*string && isspace((int)*string)) { in acpi_db_get_next_token()
480 string++; in acpi_db_get_next_token()
483 if (!(*string)) { in acpi_db_get_next_token()
487 switch (*string) { in acpi_db_get_next_token()
492 string++; in acpi_db_get_next_token()
493 start = string; in acpi_db_get_next_token()
498 while (*string && (*string != '"')) { in acpi_db_get_next_token()
499 string++; in acpi_db_get_next_token()
[all …]
Dutnonansi.c31 char *string; in acpi_ut_strlwr() local
41 for (string = src_string; *string; string++) { in acpi_ut_strlwr()
42 *string = (char)tolower((int)*string); in acpi_ut_strlwr()
60 char *string; in acpi_ut_strupr() local
70 for (string = src_string; *string; string++) { in acpi_ut_strupr()
71 *string = (char)toupper((int)*string); in acpi_ut_strupr()
Dexstorob.c143 buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); in acpi_ex_store_string_to_string()
144 length = source_desc->string.length; in acpi_ex_store_string_to_string()
150 if ((length < target_desc->string.length) && in acpi_ex_store_string_to_string()
156 memset(target_desc->string.pointer, 0, in acpi_ex_store_string_to_string()
157 (acpi_size)target_desc->string.length + 1); in acpi_ex_store_string_to_string()
158 memcpy(target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string()
164 if (target_desc->string.pointer && in acpi_ex_store_string_to_string()
169 ACPI_FREE(target_desc->string.pointer); in acpi_ex_store_string_to_string()
172 target_desc->string.pointer = in acpi_ex_store_string_to_string()
175 if (!target_desc->string.pointer) { in acpi_ex_store_string_to_string()
[all …]
Dutstring.c29 void acpi_ut_print_string(char *string, u16 max_length) in acpi_ut_print_string() argument
33 if (!string) { in acpi_ut_print_string()
39 for (i = 0; (i < max_length) && string[i]; i++) { in acpi_ut_print_string()
43 switch (string[i]) { in acpi_ut_print_string()
83 acpi_os_printf("\\%c", (int)string[i]); in acpi_ut_print_string()
90 if (isprint((int)string[i])) { in acpi_ut_print_string()
93 acpi_os_printf("%c", (int)string[i]); in acpi_ut_print_string()
97 acpi_os_printf("\\x%2.2X", (s32)string[i]); in acpi_ut_print_string()
105 if (i == max_length && string[i]) { in acpi_ut_print_string()
Ddbconvert.c101 acpi_db_convert_to_buffer(char *string, union acpi_object *object) in acpi_db_convert_to_buffer() argument
111 acpi_ut_remove_whitespace(&string); in acpi_db_convert_to_buffer()
115 for (i = 0, length = 0; string[i];) { in acpi_db_convert_to_buffer()
119 while (string[i] && ((string[i] == ',') || (string[i] == ' '))) { in acpi_db_convert_to_buffer()
131 for (i = 0, j = 0; string[i];) { in acpi_db_convert_to_buffer()
132 status = acpi_db_hex_byte_to_binary(&string[i], &buffer[j]); in acpi_db_convert_to_buffer()
140 while (string[i] && ((string[i] == ',') || (string[i] == ' '))) { in acpi_db_convert_to_buffer()
165 acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object) in acpi_db_convert_to_package() argument
178 this = string; in acpi_db_convert_to_package()
223 char *string, union acpi_object *object) in acpi_db_convert_to_object() argument
[all …]
Dutids.c57 length = obj_desc->string.length + 1; in acpi_ut_execute_HID()
72 hid->string = in acpi_ut_execute_HID()
78 acpi_ex_eisa_id_to_string(hid->string, obj_desc->integer.value); in acpi_ut_execute_HID()
80 strcpy(hid->string, obj_desc->string.pointer); in acpi_ut_execute_HID()
135 length = obj_desc->string.length + 1; in acpi_ut_execute_UID()
150 uid->string = in acpi_ut_execute_UID()
156 acpi_ex_integer_to_string(uid->string, obj_desc->integer.value); in acpi_ut_execute_UID()
158 strcpy(uid->string, obj_desc->string.pointer); in acpi_ut_execute_UID()
249 string_area_size += cid_objects[i]->string.length + 1; in acpi_ut_execute_CID()
292 strcpy(next_id_string, cid_objects[i]->string.pointer); in acpi_ut_execute_CID()
[all …]
/linux-6.6.21/Documentation/firmware-guide/acpi/apei/
Doutput_format.rst12 severity: <integer>, <severity string>
13 section: <integer>, severity: <integer>, <severity string>
16 fru_id: <uuid string>
17 fru_text: <string>
18 section_type: <section type string>
21 <severity string>* := recoverable | fatal | corrected | info
27 <section type string> := generic processor error | memory error | \
28 PCIe error | unknown, <uuid string>
35 [processor_type: <integer>, <proc type string>]
36 [processor_isa: <integer>, <proc isa string>]
[all …]
/linux-6.6.21/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py31 string = ""
37 string += flag_fields[event_name][field_name]['values'][idx]
41 string += " " + flag_fields[event_name][field_name]['delim'] + " "
42 string += flag_fields[event_name][field_name]['values'][idx]
46 return string
49 string = ""
54 string = symbolic_fields[event_name][field_name]['values'][idx]
57 string = symbolic_fields[event_name][field_name]['values'][idx]
60 return string
70 string = ""
[all …]
/linux-6.6.21/arch/m68k/hp300/
Dhp300map.map157 string F1 = "\033[[A"
158 string F2 = "\033[[B"
159 string F3 = "\033[[C"
160 string F4 = "\033[[D"
161 string F5 = "\033[[E"
162 string F6 = "\033[17~"
163 string F7 = "\033[18~"
164 string F8 = "\033[19~"
165 string F9 = "\033[20~"
166 string F10 = "\033[21~"
[all …]
/linux-6.6.21/Documentation/netlink/
Dgenetlink-c.yaml13 type: [ string, integer ]
26 type: string
28 type: string
38 type: string
42 type: string
45 type: string
60 type: string
63 type: string
67 type: string
71 type: [ string, integer ]
[all …]
Dgenetlink-legacy.yaml13 type: [ string, integer ]
26 type: string
28 type: string
38 type: string
42 type: string
45 type: string
67 type: string
70 type: string
74 type: string
78 type: [ string, integer ]
[all …]
Dgenetlink.yaml13 type: [ string, integer ]
26 type: string
28 type: string
38 type: string
49 type: string
52 type: string
56 type: string
60 type: [ string, integer ]
64 type: [ string, integer ]
70 - type: string
[all …]
Dnetlink-raw.yaml13 type: [ string, integer ]
26 type: string
28 type: string
39 type: string
43 type: string
46 type: string
68 type: string
71 type: string
75 type: string
79 type: [ string, integer ]
[all …]
/linux-6.6.21/drivers/s390/char/
Ddefkeymap.map165 string F1 = "\033[[A"
166 string F2 = "\033[[B"
167 string F3 = "\033[[C"
168 string F4 = "\033[[D"
169 string F5 = "\033[[E"
170 string F6 = "\033[17~"
171 string F7 = "\033[18~"
172 string F8 = "\033[19~"
173 string F9 = "\033[20~"
174 string F10 = "\033[21~"
[all …]
/linux-6.6.21/scripts/genksyms/
Dgenksyms.c59 static struct string_list *mk_node(const char *string);
178 strcmp(defn->string, "}") == 0 && in is_unknown_symbol()
180 strcmp(defn->string, "UNKNOWN") == 0 && in is_unknown_symbol()
182 strcmp(defn->string, "{") == 0); in is_unknown_symbol()
325 free(node->string); in free_node()
338 static struct string_list *mk_node(const char *string) in mk_node() argument
343 newnode->string = xstrdup(string); in mk_node()
372 newnode->string = xstrdup(node->string); in copy_node()
397 if (a->tag != b->tag || strcmp(a->string, b->string)) in equal_list()
412 .string = buffer, in read_node()
[all …]
/linux-6.6.21/drivers/acpi/x86/
Dapple.c79 newsize += key->string.length + 1; in acpi_extract_apple_properties()
83 newsize += val->string.length + 1; in acpi_extract_apple_properties()
117 newprops[k].string.length = key->string.length; in acpi_extract_apple_properties()
118 newprops[k].string.pointer = free_space; in acpi_extract_apple_properties()
119 memcpy(free_space, key->string.pointer, key->string.length); in acpi_extract_apple_properties()
120 free_space += key->string.length + 1; in acpi_extract_apple_properties()
126 newprops[v].string.length = val->string.length; in acpi_extract_apple_properties()
127 newprops[v].string.pointer = free_space; in acpi_extract_apple_properties()
128 memcpy(free_space, val->string.pointer, in acpi_extract_apple_properties()
129 val->string.length); in acpi_extract_apple_properties()
[all …]
/linux-6.6.21/arch/arm/mm/
Dproc-arm7tdmi.S62 string cpu_arch_name, "armv4t"
63 string cpu_elf_name, "v4"
64 string cpu_arm7tdmi_name, "ARM7TDMI"
65 string cpu_triscenda7_name, "Triscend-A7x"
66 string cpu_at91_name, "Atmel-AT91M40xxx"
67 string cpu_s3c3410_name, "Samsung-S3C3410"
68 string cpu_s3c44b0x_name, "Samsung-S3C44B0x"
69 string cpu_s3c4510b_name, "Samsung-S3C4510B"
70 string cpu_s3c4530_name, "Samsung-S3C4530"
71 string cpu_netarm_name, "NETARM"
/linux-6.6.21/security/smack/
Dsmack_access.c286 static inline void smack_str_from_perm(char *string, int access) in smack_str_from_perm() argument
291 string[i++] = 'r'; in smack_str_from_perm()
293 string[i++] = 'w'; in smack_str_from_perm()
295 string[i++] = 'x'; in smack_str_from_perm()
297 string[i++] = 'a'; in smack_str_from_perm()
299 string[i++] = 't'; in smack_str_from_perm()
301 string[i++] = 'l'; in smack_str_from_perm()
302 string[i] = '\0'; in smack_str_from_perm()
421 struct smack_known *smk_find_entry(const char *string) in smk_find_entry() argument
427 hash = full_name_hash(NULL, string, strlen(string)); in smk_find_entry()
[all …]
/linux-6.6.21/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c535 static void bnad_get_txf_strings(u8 **string, int f_num) in bnad_get_txf_strings() argument
537 ethtool_sprintf(string, "txf%d_ucast_octets", f_num); in bnad_get_txf_strings()
538 ethtool_sprintf(string, "txf%d_ucast", f_num); in bnad_get_txf_strings()
539 ethtool_sprintf(string, "txf%d_ucast_vlan", f_num); in bnad_get_txf_strings()
540 ethtool_sprintf(string, "txf%d_mcast_octets", f_num); in bnad_get_txf_strings()
541 ethtool_sprintf(string, "txf%d_mcast", f_num); in bnad_get_txf_strings()
542 ethtool_sprintf(string, "txf%d_mcast_vlan", f_num); in bnad_get_txf_strings()
543 ethtool_sprintf(string, "txf%d_bcast_octets", f_num); in bnad_get_txf_strings()
544 ethtool_sprintf(string, "txf%d_bcast", f_num); in bnad_get_txf_strings()
545 ethtool_sprintf(string, "txf%d_bcast_vlan", f_num); in bnad_get_txf_strings()
[all …]
/linux-6.6.21/drivers/pci/hotplug/
Dacpi_pcihp.c41 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_run_oshp() local
43 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp()
50 __func__, (char *)string.pointer, status); in acpi_run_oshp()
53 __func__, (char *)string.pointer); in acpi_run_oshp()
56 (char *)string.pointer); in acpi_run_oshp()
58 kfree(string.pointer); in acpi_run_oshp()
74 struct acpi_buffer string = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_get_hp_hw_control_from_firmware() local
120 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware()
122 (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware()
135 kfree(string.pointer); in acpi_get_hp_hw_control_from_firmware()
[all …]
/linux-6.6.21/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DCore.pm35 my $string;
41 $string .= "NONE";
47 $string .= " | ";
49 $string .= "$trace_flags{$idx}";
55 return $string;
65 my $string;
71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
76 $string .= " $flag_fields{$event_name}{$field_name}{'delim'} ";
78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
85 return $string;
/linux-6.6.21/drivers/tty/vt/
Ddefkeymap.map263 string F1 = "\033[[A"
264 string F2 = "\033[[B"
265 string F3 = "\033[[C"
266 string F4 = "\033[[D"
267 string F5 = "\033[[E"
268 string F6 = "\033[17~"
269 string F7 = "\033[18~"
270 string F8 = "\033[19~"
271 string F9 = "\033[20~"
272 string F10 = "\033[21~"
[all …]

12345678910>>...51