Searched refs:string (Results 301 - 325 of 3843) sorted by relevance

<<11121314151617181920>>

/linux-master/scripts/genksyms/
H A Dparse.y16 #include <string.h>
58 add_symbol(i->string, type, b, is_extern);
297 current_name = (*$1)->string;
306 current_name = (*$1)->string;
475 const char *name = strdup((*$1)->string);
480 const char *name = strdup((*$1)->string);
496 { export_symbol((*$3)->string); $$ = $5; }
/linux-master/sound/soc/sof/
H A Dsof-client-ipc-flood-test.c135 /* format output string and save test results */
163 char *string; local
169 string = kzalloc(count + 1, GFP_KERNEL);
170 if (!string)
173 if (copy_from_user(string, buffer, count)) {
197 ret = kstrtoul(string, 0, &ipc_duration_ms);
199 ret = kstrtoul(string, 0, &ipc_count);
243 kfree(string);
/linux-master/security/apparmor/
H A Dpolicy_unpack_test.c232 const char *string = NULL; local
236 size = aa_unpack_str(puf->e, &string, NULL);
239 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA);
245 const char *string = NULL; local
248 size = aa_unpack_str(puf->e, &string, TEST_STRING_NAME);
251 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA);
257 const char *string = NULL; local
264 size = aa_unpack_str(puf->e, &string, TEST_STRING_NAME);
273 char *string = NULL; local
277 size = aa_unpack_strdup(puf->e, &string, NUL
289 char *string = NULL; local
305 char *string = NULL; local
[all...]
/linux-master/tools/perf/scripts/python/
H A Dgecko.py20 import string namespace
101 stringTable: interned string ID -> string.
102 stringMap: interned string -> string ID.
105 frameMap: Stack Frame string -> interned Frame ID.
140 def _intern_string(self, string: str) -> int:
141 """Gets a matching string, or saves the new string. Returns a String ID."""
142 string_id = self.stringMap.get(string)
[all...]
/linux-master/drivers/acpi/
H A Dosi.c26 char string[OSI_STRING_LENGTH_MAX]; member in struct:acpi_osi_entry
108 if (!strcmp(osi->string, str)) {
111 } else if (osi->string[0] == '\0') {
113 strscpy(osi->string, str, OSI_STRING_LENGTH_MAX);
146 * OSI(Linux) in their example code, quickly exposing this string as
160 * So "Linux" turned out to be a really poor chose of OSI string, and from
188 * empty string disables _OSI
189 * string starting with '!' disables that string
190 * otherwise string i
[all...]
/linux-master/scripts/gdb/linux/
H A Dinterrupts.py57 name = chip['name'].string()
72 text += "-%-8s" % (desc['name'].string())
79 text += " %s" % (action['name'].string())
85 text += ", %s" % (action['name'].string())
181 text += " %s" % (ipi_types[ipi].string())
/linux-master/drivers/hwmon/
H A Dhp-wmi-sensors.c205 * [read] string Name;
206 * [read] string Description;
212 * [read] string OtherSensorType;
223 * [read] string PossibleStates[];
224 * [read] string CurrentState;
253 * [read] string Name;
254 * [read] string Description;
256 * [read] string OtherSensorType;
258 * [read] string CurrentState;
259 * [read] string PossibleState
821 char *string; local
938 char *string; local
1011 char *string; local
1090 char *string; local
[all...]
/linux-master/fs/smb/client/
H A Dfs_context.c159 /* Mount options which take string value */
584 /* now go until next delimiter or end of string */
723 cifs_errorf(fc, "CIFS mount error: No usable UNC path provided in device string!\n");
960 * fs_parse can not handle string options with an empty value so
963 if (param->type == fs_value_is_string && param->string[0] == 0) {
1266 switch (smb3_parse_devname(param->string, ctx)) {
1282 cifs_errorf(fc, "OOM when copying UNC string\n");
1287 cifs_errorf(fc, "OOM when copying UNC string\n");
1296 if (strlen(param->string) == 0) {
1302 if (strnlen(param->string, CIFS_MAX_USERNAME_LE
[all...]
/linux-master/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dpassobj-attributes.c165 po_obj[ATTR_NAME].string.pointer);
169 (uintptr_t)po_obj[MIN_PASS_LEN].string.pointer;
173 (uintptr_t) po_obj[MAX_PASS_LEN].string.pointer;
/linux-master/arch/um/drivers/
H A Dstdio_console.c13 #include <linux/string.h>
112 static void uml_console_write(struct console *console, const char *string, argument
119 console_write_chan(line->chan_out, string, len);
/linux-master/include/linux/iio/
H A Dsysfs.h41 * @string: attribute string
45 const char *string; member in struct:iio_const_attr
92 = { .string = _string, \
97 = { .string = _string, \
132 * @_string: frequency string for the attribute
147 * @_string: frequency string for the attribute
/linux-master/drivers/acpi/acpica/
H A Dexdebug.c62 if ((source_desc->string.length == 1) &&
63 (*source_desc->string.pointer == '\n')) {
159 acpi_os_printf("\"%s\"\n", source_desc->string.pointer);
H A Dacdebug.h101 acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object);
105 char *string, union acpi_object *object);
250 char *acpi_db_get_next_token(char *string,
H A Ddsobject.c69 op->common.value.string,
83 string, status);
182 * individual bytes or a string initializer. In either case, a
449 obj_desc->string.pointer = op->common.value.string;
450 obj_desc->string.length = (u32)strlen(op->common.value.string);
453 * The string is contained in the ACPI table, don't ever try
/linux-master/arch/riscv/purgatory/
H A DMakefile3 purgatory-y := purgatory.o sha256.o entry.o string.o ctype.o memcpy.o memset.o
9 $(obj)/string.o: $(srctree)/lib/string.c FORCE
/linux-master/drivers/mmc/core/
H A Dsdio_cis.c30 char **buffer, *string; local
59 string = (char*)(buffer + nr_strings);
62 buffer[i] = string;
63 strcpy(string, buf);
64 string += strlen(string) + 1;
/linux-master/drivers/platform/x86/hp/hp-bioscfg/
H A Denum-attributes.c148 ret = hp_convert_hexstr_to_str(enum_obj[elem].string.pointer,
149 enum_obj[elem].string.length,
218 ret = hp_convert_hexstr_to_str(enum_obj[elem + reqs].string.pointer,
219 enum_obj[elem + reqs].string.length,
269 ret = hp_convert_hexstr_to_str(enum_obj[elem + pos_values].string.pointer,
270 enum_obj[elem + pos_values].string.length,
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_macro_scan.l52 #include <string.h>
/linux-master/drivers/usb/gadget/
H A Du_os_desc.h103 static inline int usb_ext_prop_put_unicode(u8 *buf, int pnl, const char *string, argument
108 result = utf8s_to_utf16s(string, data_len >> 1, UTF16_LITTLE_ENDIAN,
/linux-master/tools/lib/
H A Dstring.c3 * linux/tools/lib/string.c
5 * Copied from linux/lib/string.c, where it is:
17 #include <string.h>
19 #include <linux/string.h>
41 * @s: input string
86 * strlcpy - Copy a C-string into a sized buffer
87 * @dest: Where to copy the string to
88 * @src: Where to copy the string from
92 * NUL-terminated string that fits in the buffer (unless,
120 * @str: The string t
[all...]
/linux-master/net/batman-adv/
H A Dbat_algo.c16 #include <linux/string.h>
143 .string = batadv_routing_algo,
/linux-master/tools/perf/util/
H A Dtarget.c13 #include <string.h>
15 #include <linux/string.h>
/linux-master/include/linux/greybus/
H A Dgreybus_manifest.h96 * The string in a string descriptor is not NUL-terminated. The
98 * bytes, by padding the string with 0x00 bytes if necessary.
103 __u8 string[]; member in struct:greybus_descriptor_string
163 struct greybus_descriptor_string string; member in union:greybus_descriptor::__anon3460
/linux-master/security/apparmor/include/
H A Dapparmorfs.h33 char *string; member in union:aa_sfs_entry::__anon77
48 .v_type = AA_SFS_TYPE_STRING, .v.string = (_value), \
H A Dpolicy_unpack.h56 * which has a name (AA_NAME typecode followed by name string) followed by
67 AA_NAME, /* same as string except it is items name */
177 int aa_unpack_str(struct aa_ext *e, const char **string, const char *name);
178 int aa_unpack_strdup(struct aa_ext *e, char **string, const char *name);

Completed in 489 milliseconds

<<11121314151617181920>>