Home | History | Annotate | Download | only in libelf

Lines Matching refs:Elf

42 gelf_getphdr (Elf *elf, int ndx, GElf_Phdr *dst)
46 if (elf == NULL)
49 if (unlikely (elf->kind != ELF_K_ELF))
61 rwlock_rdlock (elf->lock);
63 if (elf->class == ELFCLASS32)
66 Elf32_Phdr *phdr = elf->state.elf32.phdr;
70 rwlock_unlock (elf->lock);
71 phdr = INTUSE(elf32_getphdr) (elf);
75 rwlock_rdlock (elf->lock);
80 if (__elf_getphdrnum_chk_rdlock (elf, &phnum) != 0
106 Elf64_Phdr *phdr = elf->state.elf64.phdr;
110 rwlock_unlock (elf->lock);
111 phdr = INTUSE(elf64_getphdr) (elf);
115 rwlock_rdlock (elf->lock);
120 if (__elf_getphdrnum_chk_rdlock (elf, &phnum) != 0
132 rwlock_unlock (elf->lock);