Home
last modified time | relevance | path

Searched refs:Elf_Scn (Results 1 – 25 of 86) sorted by relevance

1234

/titanic_41/usr/src/cmd/sgs/libelf/common/
H A Ddecl.h109 Elf_Scn *db_scn; /* section parent */
134 struct Elf_Scn struct
137 Elf_Scn *s_next; /* next section */ argument
150 NOTE(MUTEX_PROTECTS_DATA(Elf_Scn::s_mutex, Elf_Scn Dnode Elf_Data)) argument
153 NOTE(READ_ONLY_DATA(Elf_Scn::s_elf))
164 #define SCNLOCK(x) (void) mutex_lock(&((Elf_Scn *)x)->s_mutex);
168 (void) mutex_lock(&((Elf_Scn *)x)->s_mutex);
172 #define SCNUNLOCK(x) (void) mutex_unlock(&((Elf_Scn *)x)->s_mutex);
176 (void) mutex_unlock(&((Elf_Scn *)x)->s_mutex);
181 (void) mutex_unlock(&((Elf_Scn *)s)->s_mutex); \
[all …]
H A Dllib-lelf43 Elf32_Shdr * elf32_getshdr(Elf_Scn *);
56 Elf64_Shdr * elf64_getshdr(Elf_Scn *);
74 GElf_Shdr * gelf_getshdr(Elf_Scn *, GElf_Shdr *);
75 int gelf_update_shdr(Elf_Scn *, GElf_Shdr *);
112 uint_t elf_flagscn(Elf_Scn *, Elf_Cmd, uint_t);
113 uint_t elf_flagshdr(Elf_Scn *, Elf_Cmd, uint_t);
117 Elf_Data * elf_getdata(Elf_Scn *, Elf_Data *);
122 Elf_Scn * elf_getscn(Elf *elf, size_t);
126 size_t elf_ndxscn(Elf_Scn *);
127 Elf_Data * elf_newdata(Elf_Scn *);
[all …]
H A Dnextscn.c36 Elf_Scn *
37 elf_nextscn(Elf * elf, Elf_Scn * scn) in elf_nextscn()
39 Elf_Scn * ret_scn = 0; in elf_nextscn()
H A Dgetshdr.c38 getshdr(Elf_Scn * scn, int class) in getshdr()
58 elf32_getshdr(Elf_Scn * scn) in elf32_getshdr()
64 elf64_getshdr(Elf_Scn * scn) in elf64_getshdr()
H A Dgetscn.c37 Elf_Scn *
40 Elf_Scn * s; in elf_getscn()
41 Elf_Scn * prev_s; in elf_getscn()
H A Dflag.c42 Elf_Scn * scn; in elf_flagdata()
134 elf_flagscn(Elf_Scn * scn, Elf_Cmd cmd, unsigned flags) in elf_flagscn()
161 elf_flagshdr(Elf_Scn * scn, Elf_Cmd cmd, unsigned flags) in elf_flagshdr()
H A Dchecksum.c106 Elf_Scn * scn; in elf_checksum()
107 Elf_Data * data, * (* getdata)(Elf_Scn *, Elf_Data *); in elf_checksum()
H A Dnewscn.c37 Elf_Scn *
40 Elf_Scn * tl; in elf_newscn()
H A Dclscook.c95 Elf_Scn * s; in _elf_prepscn()
96 Elf_Scn * end; in _elf_prepscn()
101 if ((s = malloc(cnt * sizeof (Elf_Scn))) == 0) { in _elf_prepscn()
145 _elf_cookscn(Elf_Scn * s) in _elf_cookscn()
H A Dndxscn.c37 elf_ndxscn(Elf_Scn * scn) in elf_ndxscn()
H A Dgetshstrndx.c48 Elf_Scn *scn; in elf_getshdrstrndx()
H A Dgetshnum.c54 Elf_Scn *scn; in elf_getshdrnum()
H A Dgetphnum.c50 Elf_Scn *scn; in elf_getphdrnum()
/titanic_41/usr/src/head/
H A Dlibelf.h116 typedef struct Elf_Scn Elf_Scn; typedef
169 unsigned elf_flagscn(Elf_Scn *, Elf_Cmd, unsigned);
170 unsigned elf_flagshdr(Elf_Scn *, Elf_Cmd, unsigned);
175 Elf_Data *elf_getdata(Elf_Scn *, Elf_Data *);
179 Elf_Scn *elf_getscn(Elf *elf, size_t);
180 Elf32_Shdr *elf32_getshdr(Elf_Scn *);
192 size_t elf_ndxscn(Elf_Scn *);
193 Elf_Data *elf_newdata(Elf_Scn *);
196 Elf_Scn *elf_newscn(Elf *);
197 Elf_Scn *elf_nextscn(Elf *, Elf_Scn *);
[all …]
H A Dgelf.h118 GElf_Shdr * gelf_getshdr(Elf_Scn *, GElf_Shdr *);
119 int gelf_update_shdr(Elf_Scn *, GElf_Shdr *);
/titanic_41/usr/src/lib/libtnfctl/
H A Dtraverse.c100 Elf_Scn *scn; in _tnfctl_traverse_object()
141 _tnfctl_traverse_rela(Elf * elf, char *strs, Elf_Scn * rel_scn, in _tnfctl_traverse_rela()
145 Elf_Scn *sym_scn; in _tnfctl_traverse_rela()
149 Elf_Scn *str_scn; in _tnfctl_traverse_rela()
277 Elf_Scn * scn, in _tnfctl_traverse_dynsym()
H A Dtnfctl_int.h196 (*tnfctl_traverse_section_func_t) (Elf * elf, char *strs, Elf_Scn * scn,
216 tnfctl_errcode_t _tnfctl_traverse_rela(Elf * elf, char *strs, Elf_Scn * rel_scn,
221 Elf_Scn * scn, GElf_Shdr * shdr, Elf_Data * data, uintptr_t baseaddr,
H A Delf.c49 static tnfctl_errcode_t elf_dynmatch(Elf *elf, char *strs, Elf_Scn *dyn_scn,
224 Elf_Scn * dyn_scn, in elf_dynmatch()
/titanic_41/usr/src/cmd/sgs/nm/common/
H A Dnm.c142 static Elf_Scn * get_scnfd(Elf *, int, int);
150 static void print_symtab(Elf *, unsigned int, Elf_Scn *, GElf_Shdr *, char *);
508 static Elf_Scn *
511 Elf_Scn *fd_scn; in get_scnfd()
536 Elf_Scn *scn, *scnfd; in get_symtab()
669 Elf_Scn *p_sd, GElf_Shdr *shdr, char *filename) in print_symtab()
764 Elf_Scn *scn = elf_getscn(elf_file, shndx); in is_bss_section()
830 Elf_Scn *_scn; in readsyms()
1278 Elf_Scn *scn = elf_getscn(elf_file, sym_data->shndx); in print_with_otherflags()
/titanic_41/usr/src/cmd/sgs/libelf/demo/
H A Ddcom.c87 Elf_Scn *scn = NULL; in delete_comment()
197 Elf_Scn *tscn; in delete_comment()
270 Elf_Scn *_scn; in delete_comment()
/titanic_41/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c53 Elf_Scn *stab = NULL; in walk_symtab()
54 Elf_Scn *text = NULL; in walk_symtab()
/titanic_41/usr/src/tools/chk4ubin/
H A Dchk4ubin.c129 Elf_Scn *symscn; in chk4ubin()
130 Elf_Scn *strscn; in chk4ubin()
/titanic_41/usr/src/cmd/sgs/dump/common/
H A Ddump.h48 Elf_Scn *p_sd;
/titanic_41/usr/src/cmd/sgs/mcs/common/
H A Dfile.c65 static uint64_t scn_location(Elf_Scn *, Elf *, file_state_t *);
316 Elf_Scn * scn; in traverse_file()
317 Elf_Scn * temp_scn; in traverse_file()
491 sinfo->scn = (Elf_Scn *) -1; in traverse_file()
676 Elf_Scn *src_scn; in build_file()
677 Elf_Scn *dst_scn; in build_file()
771 while ((src_scn = state->sec_table[scn_no].scn) != (Elf_Scn *) -1) { in build_file()
1148 Elf_Scn *_scn; in build_file()
1198 Elf_Scn * notescn; in build_file()
1496 scn_location(Elf_Scn * scn, Elf * elf, file_state_t *state) in scn_location()
[all …]
/titanic_41/usr/src/cmd/mdb/tools/common/
H A Dfindscn.c38 Elf_Scn *scn = NULL; in findelfsecidx()

1234