Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Dlinker.c115 int sec_sz; member
275 size_t sym_cnt = symtab->sec_sz / sizeof(*sym); in add_new_sym()
285 symtab->sec_sz += sizeof(*sym); in add_new_sym()
376 sec->shdr->sh_size = sec->sec_sz = 0; in init_output_elf()
1018 dst_sec->sec_sz = 0; in init_sec()
1105 if (dst_sec->sec_sz != src_sec->shdr->sh_size) in sec_content_is_same()
1107 if (memcmp(dst_sec->raw_data, src_sec->data->d_buf, dst_sec->sec_sz) != 0) in sec_content_is_same()
1144 dst_align_sz = (dst->sec_sz + dst_align - 1) / dst_align * dst_align; in extend_sec()
1168 memset(dst->raw_data + dst->sec_sz, 0, dst_align_sz - dst->sec_sz); in extend_sec()
1173 dst->sec_sz = dst_final_sz; in extend_sec()
[all …]
Dlibbpf.c863 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs() local
890 if (sec_off + prog_sz > sec_sz) { in bpf_object__add_programs()