/kernel/liteos_m/tools/ |
H A D | mem_analysis.py | 231 strs = function_name.split()
232 function_name = strs[0]
234 address = int(strs[1], 16)
235 size = int(strs[2], 16)
236 obj_name = re.findall(pl, strs[3])
240 obj_name = strs[3]
241 char_temp = strs[3].split('(')
256 strs = line.strip().split()
257 address = int(strs[0], 16)
258 size = int(strs[ [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 57 if (strstr(name, sel->blacklist.strs[i])) in should_run() 62 if (strstr(name, sel->whitelist.strs[i])) in should_run() 427 free((void *)set->strs[i]); in free_str_set() 428 free(set->strs); in free_str_set() 433 char *input, *state = NULL, *next, **tmp, **strs = NULL; in parse_str_list() local 441 set->strs = NULL; in parse_str_list() 444 tmp = realloc(strs, sizeof(*strs) * (cnt + 1)); in parse_str_list() 447 strs = tmp; in parse_str_list() 449 strs[cn in parse_str_list() [all...] |
H A D | test_progs.h | 50 const char **strs; member
|
/kernel/linux/linux-5.10/drivers/base/test/ |
H A D | property-entry-test.c | 226 PROPERTY_ENTRY_STRING_ARRAY("strs", strings), in pe_test_strings() 232 const char *strs[10]; in pe_test_strings() local 242 error = fwnode_property_read_string_array(node, "str", strs, 1); in pe_test_strings() 244 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings() 247 error = fwnode_property_read_string_array(node, "str", strs, 2); in pe_test_strings() 249 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings() 254 error = fwnode_property_read_string_array(node, "no-str", strs, 1); in pe_test_strings() 261 error = fwnode_property_read_string_array(node, "strs", strs, 3); in pe_test_strings() 263 KUNIT_EXPECT_STREQ(test, strs[ in pe_test_strings() [all...] |
/kernel/linux/linux-6.6/drivers/base/test/ |
H A D | property-entry-test.c | 262 PROPERTY_ENTRY_STRING_ARRAY("strs", strings), in pe_test_strings() 268 const char *strs[10]; in pe_test_strings() local 281 error = fwnode_property_read_string_array(node, "str", strs, 1); in pe_test_strings() 283 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings() 286 error = fwnode_property_read_string_array(node, "str", strs, 2); in pe_test_strings() 288 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings() 293 error = fwnode_property_read_string_array(node, "no-str", strs, 1); in pe_test_strings() 300 error = fwnode_property_string_array_count(node, "strs"); in pe_test_strings() 303 error = fwnode_property_read_string_array(node, "strs", strs, in pe_test_strings() [all...] |
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | btf.c | 1409 void *hdr, *types, *strs, *strs_end, *s; in btf_ensure_modifiable() local 1423 strs = malloc(btf->hdr->str_len); in btf_ensure_modifiable() 1424 if (!hdr || !types || !strs) in btf_ensure_modifiable() 1429 memcpy(strs, btf->strs_data, btf->hdr->str_len); in btf_ensure_modifiable() 1439 strs_end = strs + btf->hdr->str_len; in btf_ensure_modifiable() 1440 for (off = 0, s = strs; s < strs_end; off += strlen(s) + 1, s = strs + off) { in btf_ensure_modifiable() 1455 btf->strs_data = strs; in btf_ensure_modifiable() 1472 free(strs); in btf_ensure_modifiable() 3142 struct btf_str_ptrs *strs; in btf_str_mark_as_used() local 3159 struct btf_str_ptrs *strs; btf_str_remap_offset() local 3190 struct btf_str_ptrs strs = { btf_dedup_strings() local [all...] |
H A D | libbpf_probes.c | 177 const char strs[] = "\0bpf_spin_lock\0val\0cnt\0l"; in load_local_storage_btf() local 199 strs, sizeof(strs)); in load_local_storage_btf()
|
H A D | libbpf.c | 3842 static const char strs[] = "\0int"; in probe_kern_btf() local 3849 strs, sizeof(strs))); in probe_kern_btf() 3854 static const char strs[] = "\0int\0x\0a"; in probe_kern_btf_func() local 3867 strs, sizeof(strs))); in probe_kern_btf_func() 3872 static const char strs[] = "\0int\0x\0a"; in probe_kern_btf_func_global() local 3885 strs, sizeof(strs))); in probe_kern_btf_func_global() 3890 static const char strs[] in probe_kern_btf_datasec() local [all...] |
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | libbpf_probes.c | 252 const char strs[] = "\0bpf_spin_lock\0val\0cnt\0l"; in load_local_storage_btf() local 274 strs, sizeof(strs)); in load_local_storage_btf()
|
H A D | libbpf.c | 4597 static const char strs[] = "\0int"; in probe_kern_btf() local 4604 strs, sizeof(strs))); in probe_kern_btf() 4609 static const char strs[] = "\0int\0x\0a"; in probe_kern_btf_func() local 4622 strs, sizeof(strs))); in probe_kern_btf_func() 4627 static const char strs[] = "\0int\0x\0a"; in probe_kern_btf_func_global() local 4640 strs, sizeof(strs))); in probe_kern_btf_func_global() 4645 static const char strs[] in probe_kern_btf_datasec() local 4664 static const char strs[] = "\\0float"; probe_kern_btf_float() local 4676 static const char strs[] = "\\0tag"; probe_kern_btf_decl_tag() local 4693 static const char strs[] = "\\0tag"; probe_kern_btf_type_tag() local 4784 static const char strs[] = "\\0int"; probe_module_btf() local 4884 static const char strs[] = "\\0enum64"; probe_kern_btf_enum64() local [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | of_regulator.c | 712 int strs, i; in is_supply_name() local 714 strs = strlen(name); in is_supply_name() 716 if (strs < 8) in is_supply_name() 718 for (i = strs - 6; i > 0; i--) { in is_supply_name()
|
/kernel/linux/linux-5.10/sound/firewire/dice/ |
H A D | dice-proc.c | 29 static const char *str_from_array(const char *const strs[], unsigned int count, in str_from_array() argument 33 return strs[i]; in str_from_array()
|
/kernel/linux/linux-6.6/sound/firewire/dice/ |
H A D | dice-proc.c | 29 static const char *str_from_array(const char *const strs[], unsigned int count, in str_from_array() argument 33 return strs[i]; in str_from_array()
|
/kernel/linux/linux-6.6/drivers/counter/ |
H A D | counter-sysfs.c | 210 return sysfs_emit(buf, "%s\n", avail->strs[data]); in counter_comp_u32_show() 261 err = __sysfs_match_string(avail->strs, avail->num_items, buf); in counter_comp_u32_store() 481 const char *const strs[], char *buf) in enums_available_show() 487 len += sysfs_emit_at(buf, len, "%s\n", strs[enums[index]]); in enums_available_show() 499 len += sysfs_emit_at(buf, len, "%s\n", avail->strs[index]); in strs_available_show() 479 enums_available_show(const u32 *const enums, const size_t num_enums, const char *const strs[], char *buf) enums_available_show() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | counter.h | 485 const char *const *strs; member 498 .strs = (_strs), \
|
H A D | cper.h | 563 const char * const strs[], unsigned int strs_size);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 1010 if (!arg->stat || !arg->info || !arg->strs) in vmw_mksstat_add_ioctl() 1057 pdesc->strsStartVA = arg->strs; in vmw_mksstat_add_ioctl() 1088 nr_pinned_strs = pin_user_pages_fast(arg->strs, num_pages_strs, FOLL_LONGTERM, pages_strs); in vmw_mksstat_add_ioctl()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | policy_unpack.c | 455 * @strs: str table to unpack to (NOT NULL) 459 static bool unpack_trans_table(struct aa_ext *e, struct aa_str_table *strs) in unpack_trans_table() argument 481 strs->table = table; in unpack_trans_table() 482 strs->size = size; in unpack_trans_table() 529 aa_free_str_table(strs); in unpack_trans_table()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | cper.c | 75 * @strs: string array, indexed by bit position 76 * @strs_size: size of the string array: @strs 78 * For each set bit in @bits, print the corresponding string in @strs. 83 const char * const strs[], unsigned int strs_size) in cper_print_bits() 92 str = strs[i]; in cper_print_bits() 82 cper_print_bits(const char *pfx, unsigned int bits, const char * const strs[], unsigned int strs_size) cper_print_bits() argument
|
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | cper.c | 76 * @strs: string array, indexed by bit position 77 * @strs_size: size of the string array: @strs 79 * For each set bit in @bits, print the corresponding string in @strs. 84 const char * const strs[], unsigned int strs_size) in cper_print_bits() 93 str = strs[i]; in cper_print_bits() 83 cper_print_bits(const char *pfx, unsigned int bits, const char * const strs[], unsigned int strs_size) cper_print_bits() argument
|
/kernel/linux/linux-6.6/include/uapi/drm/ |
H A D | vmwgfx_drm.h | 1255 * @strs: Pointer to user-space stat strings, page-aligned. 1268 __u64 strs; member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | cper.h | 562 const char * const strs[], unsigned int strs_size);
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | pcm.c | 1021 static const char *strs[SNDRV_PCM_CLASS_LAST + 1] = { in show_pcm_class() local 1031 str = strs[pcm->dev_class]; in show_pcm_class()
|
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_tool_test.py | 349 def line_stream_from_strs(strs: Iterable[str]) -> kunit_parser.LineStream: 350 return kunit_parser.LineStream(enumerate(strs, start=1))
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | pcm.c | 1025 static const char *strs[SNDRV_PCM_CLASS_LAST + 1] = { in pcm_class_show() local 1035 str = strs[pcm->dev_class]; in pcm_class_show()
|