Searched refs:sec_sz (Results 1 – 2 of 2) sorted by relevance
115 int sec_sz; member275 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()1135 memset(dst->raw_data + dst->sec_sz, 0, dst_align_sz - dst->sec_sz); in extend_sec()1140 dst->sec_sz = dst_final_sz; in extend_sec()[all …]
813 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs() local840 if (sec_off + prog_sz > sec_sz) { in bpf_object__add_programs()