Lines Matching defs:src
65 /* mapping of symbol indices from src to dst ELF */
67 /* mapping from the src BTF type IDs to dst ones */
1049 static bool secs_match(struct dst_sec *dst, struct src_sec *src)
1051 if (dst->ephemeral || src->ephemeral)
1054 if (dst->shdr->sh_type != src->shdr->sh_type) {
1058 if (dst->shdr->sh_flags != src->shdr->sh_flags) {
1062 if (dst->shdr->sh_entsize != src->shdr->sh_entsize) {
1079 static int extend_sec(struct bpf_linker *linker, struct dst_sec *dst, struct src_sec *src)
1089 if (src->ephemeral)
1099 err = init_sec(linker, dst, src);
1105 src_align = src->shdr->sh_addralign;
1114 dst_final_sz = dst_align_sz + src->shdr->sh_size;
1116 if (src->shdr->sh_type != SHT_NOBITS) {
1136 /* now copy src data at a properly aligned offset */
1137 memcpy(dst->raw_data + dst_align_sz, src->data->d_buf, src->shdr->sh_size);
1147 src->dst_off = dst_align_sz;