Searched refs:sec_data (Results 1 – 3 of 3) sorted by relevance
/third_party/elfutils/tests/ |
D | fillfile.c | 126 static char sec_data[] = { 1, 2, 3, 4, 5 }; variable 171 data->d_buf = sec_data; in add_data_section() 330 check_data (".data3", data, sec_data); in check_elf() 398 check_data (".data1", data, sec_data); in check_elf() 406 check_data (".data2", data, sec_data); in check_elf() 422 check_data (".data4", data, sec_data); in check_elf()
|
/third_party/libbpf/src/ |
D | linker.c | 2726 const char *sec_name, struct btf_ext_sec_data *sec_data) in emit_btf_ext_data() argument 2733 if (!sec_data->rec_cnt) in emit_btf_ext_data() 2742 sec_info->num_info = sec_data->rec_cnt; in emit_btf_ext_data() 2745 sz = sec_data->rec_cnt * sec_data->rec_sz; in emit_btf_ext_data() 2746 memcpy(cur, sec_data->recs, sz); in emit_btf_ext_data()
|
D | libbpf.c | 842 bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data, in bpf_object__add_programs() argument 847 void *data = sec_data->d_buf; in bpf_object__add_programs() 848 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs()
|