Searched refs:strs (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/tools/lib/bpf/ |
| D | btf.c | 1567 struct btf_str_ptrs *strs; in btf_str_mark_as_used() local 1573 strs = ctx; in btf_str_mark_as_used() 1574 s = bsearch(strs->data + *str_off_ptr, strs->ptrs, strs->cnt, in btf_str_mark_as_used() 1584 struct btf_str_ptrs *strs; in btf_str_remap_offset() local 1590 strs = ctx; in btf_str_remap_offset() 1591 s = bsearch(strs->data + *str_off_ptr, strs->ptrs, strs->cnt, in btf_str_remap_offset() 1616 struct btf_str_ptrs strs = { in btf_dedup_strings() local 1627 if (strs.cnt + 1 > strs.cap) { in btf_dedup_strings() 1630 strs.cap += max(strs.cnt / 2, 16); in btf_dedup_strings() 1631 new_ptrs = realloc(strs.ptrs, in btf_dedup_strings() [all …]
|
| D | libbpf_probes.c | 168 const char strs[] = "\0bpf_spin_lock\0val\0cnt\0l"; in load_sk_storage_btf() local 190 strs, sizeof(strs)); in load_sk_storage_btf()
|
| D | libbpf.c | 2033 const char strs[] = "\0int\0x\0a"; in bpf_object__probe_btf_func() local 2047 strs, sizeof(strs)); in bpf_object__probe_btf_func() 2059 const char strs[] = "\0x\0.data"; in bpf_object__probe_btf_datasec() local 2074 strs, sizeof(strs)); in bpf_object__probe_btf_datasec()
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/drivers/firmware/efi/ |
| D | cper.c | 85 const char * const strs[], unsigned int strs_size) in cper_print_bits() argument 94 str = strs[i]; in cper_print_bits()
|
| /Linux-v5.4/include/linux/ |
| D | cper.h | 533 const char * const strs[], unsigned int strs_size);
|
| /Linux-v5.4/sound/core/ |
| D | pcm.c | 1011 static const char *strs[SNDRV_PCM_CLASS_LAST + 1] = { in show_pcm_class() local 1021 str = strs[pcm->dev_class]; in show_pcm_class()
|
| /Linux-v5.4/tools/testing/selftests/bpf/ |
| D | test_btf.c | 6707 static void dump_btf_strings(const char *strs, __u32 len) in dump_btf_strings() argument 6709 const char *cur = strs; in dump_btf_strings() 6712 while (cur < strs + len) { in dump_btf_strings()
|
| /Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_main.c | 642 const struct hclge_comm_stats_str strs[], in hclge_comm_get_stats() argument 649 buf[i] = HCLGE_STATS_READ(comm_stats, strs[i].offset); in hclge_comm_get_stats() 655 const struct hclge_comm_stats_str strs[], in hclge_comm_get_strings() argument 665 snprintf(buff, ETH_GSTRING_LEN, "%s", strs[i].desc); in hclge_comm_get_strings()
|