Searched refs:elf_fd (Results 1 - 3 of 3) sorted by relevance

/external/elfutils/libdwfl/
H A Dlinux-pid-attach.c255 close (pid_arg->elf_fd);
354 int elf_fd = open (name, O_RDONLY); local
355 if (elf_fd >= 0)
357 elf = elf_begin (elf_fd, ELF_C_READ_MMAP, NULL);
363 close (elf_fd);
364 elf_fd = -1;
373 close (elf_fd);
380 pid_arg->elf_fd = elf_fd;
387 close (elf_fd);
[all...]
H A DlibdwflP.h418 int elf_fd; member in struct:__libdwfl_pid_arg
/external/iproute2/tc/
H A Dtc_bpf.c693 Elf *elf_fd; member in struct:bpf_elf_ctx
1163 sec_fd = elf_getscn(ctx->elf_fd, section);
1169 sec_name = elf_strptr(ctx->elf_fd, ctx->elf_hdr.e_shstrndx,
1618 ctx->elf_fd = elf_begin(ctx->obj_fd, ELF_C_READ, NULL);
1619 if (!ctx->elf_fd) {
1624 if (elf_kind(ctx->elf_fd) != ELF_K_ELF) {
1629 if (gelf_getehdr(ctx->elf_fd, &ctx->elf_hdr) !=
1651 elf_end(ctx->elf_fd);
1687 elf_end(ctx->elf_fd);

Completed in 806 milliseconds