Lines Matching defs:flags
34 elf_flagarhdr(Elf_Arhdr *a, Elf_Cmd c, unsigned int flags)
42 (flags & ~ELF_F_DIRTY) != 0) {
48 r = a->ar_flags |= flags;
50 r = a->ar_flags &= ~flags;
56 elf_flagdata(Elf_Data *d, Elf_Cmd c, unsigned int flags)
65 (flags & ~ELF_F_DIRTY) != 0) {
73 r = ld->d_flags |= flags;
75 r = ld->d_flags &= ~flags;
81 elf_flagehdr(Elf *e, Elf_Cmd c, unsigned int flags)
90 (e->e_kind != ELF_K_ELF) || (flags & ~ELF_F_DIRTY) != 0 ||
106 return (elf_flagelf(e, c, flags));
110 elf_flagelf(Elf *e, Elf_Cmd c, unsigned int flags)
119 (flags & ~(ELF_F_ARCHIVE | ELF_F_ARCHIVE_SYSV |
125 if ((flags & ELF_F_ARCHIVE_SYSV) && (flags & ELF_F_ARCHIVE) == 0) {
130 if ((flags & ELF_F_ARCHIVE) && e->e_cmd != ELF_C_WRITE) {
136 r = e->e_flags |= flags;
138 r = e->e_flags &= ~flags;
143 elf_flagphdr(Elf *e, Elf_Cmd c, unsigned int flags)
152 (e->e_kind != ELF_K_ELF) || (flags & ~ELF_F_DIRTY) != 0 ||
168 return (elf_flagelf(e, c, flags));
172 elf_flagscn(Elf_Scn *s, Elf_Cmd c, unsigned int flags)
180 (flags & ~ELF_F_DIRTY) != 0) {
186 r = s->s_flags |= flags;
188 r = s->s_flags &= ~flags;
193 elf_flagshdr(Elf_Scn *s, Elf_Cmd c, unsigned int flags)
195 return (elf_flagscn(s, c, flags));