Home
last modified time | relevance | path

Searched refs:sec_data (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/lib/bpf/
Dlinker.c2771 const char *sec_name, struct btf_ext_sec_data *sec_data) in emit_btf_ext_data() argument
2778 if (!sec_data->rec_cnt) in emit_btf_ext_data()
2787 sec_info->num_info = sec_data->rec_cnt; in emit_btf_ext_data()
2790 sz = sec_data->rec_cnt * sec_data->rec_sz; in emit_btf_ext_data()
2791 memcpy(cur, sec_data->recs, sz); in emit_btf_ext_data()
Dlibbpf.c857 bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data, in bpf_object__add_programs() argument
862 void *data = sec_data->d_buf; in bpf_object__add_programs()
863 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs()