Home
last modified time | relevance | path

Searched refs:elf_fd (Results 1 – 4 of 4) sorted by relevance

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