Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dlinker.c2826 const char *sec_name, struct btf_ext_sec_data *sec_data) in emit_btf_ext_data() argument
2833 if (!sec_data->rec_cnt) in emit_btf_ext_data()
2842 sec_info->num_info = sec_data->rec_cnt; in emit_btf_ext_data()
2845 sz = sec_data->rec_cnt * sec_data->rec_sz; in emit_btf_ext_data()
2846 memcpy(cur, sec_data->recs, sz); in emit_btf_ext_data()
H A Dlibbpf.c860 bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data, in bpf_object__add_programs() argument
865 void *data = sec_data->d_buf; in bpf_object__add_programs()
866 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs()