Home
last modified time | relevance | path

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

/linux-6.1.9/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()
985 dst_sec->sec_sz = 0; in init_sec()
1072 if (dst_sec->sec_sz != src_sec->shdr->sh_size) in sec_content_is_same()
1074 if (memcmp(dst_sec->raw_data, src_sec->data->d_buf, dst_sec->sec_sz) != 0) in sec_content_is_same()
1111 dst_align_sz = (dst->sec_sz + dst_align - 1) / dst_align * dst_align; in extend_sec()
1123 memset(dst->raw_data + dst->sec_sz, 0, dst_align_sz - dst->sec_sz); in extend_sec()
1128 dst->sec_sz = dst_final_sz; in extend_sec()
[all …]
Dlibbpf.c792 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs() local
820 if (sec_off + prog_sz > sec_sz) { in bpf_object__add_programs()