/kernel/liteos_m/tools/ |
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[1], 16) [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
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[cnt] = strdup(next); in parse_str_list() 450 if (!strs[cnt]) in parse_str_list() [all …]
|
D | test_progs.h | 51 const char **strs; member
|
/kernel/linux/linux-5.10/drivers/base/test/ |
D | property-entry-test.c | 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[0], "string-a"); in pe_test_strings() 264 KUNIT_EXPECT_STREQ(test, strs[1], "string-b"); in pe_test_strings() 266 error = fwnode_property_read_string_array(node, "strs", strs, 1); in pe_test_strings() [all …]
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | btf.c | 1396 void *hdr, *types, *strs, *strs_end, *s; in btf_ensure_modifiable() local 1410 strs = malloc(btf->hdr->str_len); in btf_ensure_modifiable() 1411 if (!hdr || !types || !strs) in btf_ensure_modifiable() 1416 memcpy(strs, btf->strs_data, btf->hdr->str_len); in btf_ensure_modifiable() 1426 strs_end = strs + btf->hdr->str_len; in btf_ensure_modifiable() 1427 for (off = 0, s = strs; s < strs_end; off += strlen(s) + 1, s = strs + off) { in btf_ensure_modifiable() 1442 btf->strs_data = strs; in btf_ensure_modifiable() 1459 free(strs); in btf_ensure_modifiable() 3129 struct btf_str_ptrs *strs; in btf_str_mark_as_used() local 3135 strs = ctx; in btf_str_mark_as_used() [all …]
|
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()
|
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[] = "\0x\0.data"; in probe_kern_btf_datasec() local 3904 strs, sizeof(strs))); in probe_kern_btf_datasec()
|
/kernel/linux/linux-5.10/sound/firewire/dice/ |
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-5.10/drivers/firmware/efi/ |
D | cper.c | 83 const char * const strs[], unsigned int strs_size) in cper_print_bits() argument 92 str = strs[i]; in cper_print_bits()
|
/kernel/linux/linux-5.10/include/linux/ |
D | cper.h | 562 const char * const strs[], unsigned int strs_size);
|
/kernel/linux/linux-5.10/sound/core/ |
D | pcm.c | 1020 static const char *strs[SNDRV_PCM_CLASS_LAST + 1] = { in show_pcm_class() local 1030 str = strs[pcm->dev_class]; in show_pcm_class()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 6634 static void dump_btf_strings(const char *strs, __u32 len) in dump_btf_strings() argument 6636 const char *cur = strs; in dump_btf_strings() 6639 while (cur < strs + len) { in dump_btf_strings()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 648 const struct hclge_comm_stats_str strs[], in hclge_comm_get_stats() argument 655 buf[i] = HCLGE_STATS_READ(comm_stats, strs[i].offset); in hclge_comm_get_stats() 661 const struct hclge_comm_stats_str strs[], in hclge_comm_get_strings() argument 671 snprintf(buff, ETH_GSTRING_LEN, "%s", strs[i].desc); in hclge_comm_get_strings()
|