| /onnv/onnv-gate/usr/src/cmd/mdb/tools/common/ |
| findscn.c | 38 Elf_Scn *scn = NULL; local 45 while ((scn = elf_nextscn(elf, scn)) != NULL) { 48 if (gelf_getshdr(scn, &shdr) == NULL || 54 return (elf_ndxscn(scn));
|
| /onnv/onnv-gate/usr/src/cmd/sgs/libelf/common/ |
| getphnum.c | 50 Elf_Scn *scn; local 61 if ((scn = elf_getscn(elf, 0)) == NULL || 62 gelf_getshdr(scn, &shdr0) == NULL)
|
| getshnum.c | 54 Elf_Scn *scn; local 67 if ((scn = elf_getscn(elf, 0)) == 0) 69 if (gelf_getshdr(scn, &shdr0) == 0)
|
| getshstrndx.c | 48 Elf_Scn *scn; local 57 if ((scn = elf_getscn(elf, 0)) == 0) 59 if (gelf_getshdr(scn, &shdr0) == 0)
|
| checksum.c | 81 Elf_Scn * scn; local 108 if ((scn = elf_getscn(elf, shnum)) == 0) 110 if ((shdr = elf32_getshdr(scn)) == 0) 121 while ((data = (*getdata)(scn, data)) != 0) 134 Elf_Scn * scn; local 142 if ((scn = elf_getscn(elf, shnum)) == 0) 144 if ((shdr = elf64_getshdr(scn)) == 0) 163 while ((data = elf_getdata(scn, data)) != 0)
|
| flag.c | 42 Elf_Scn * scn; local 48 scn = d->db_scn; 49 elf = scn->s_elf; 51 READLOCKS(elf, scn) 59 READUNLOCKS(elf, scn) 134 elf_flagscn(Elf_Scn * scn, Elf_Cmd cmd, unsigned flags) 139 if (scn == 0) 142 elf = scn->s_elf; 144 READLOCKS(elf, scn) 145 rc = scn->s_uflags |= flags [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/tools/findfp/common/ |
| findsym.c | 42 Elf_Scn *scn; local 48 if ((scn = elf_getscn(elf, symtabidx)) == NULL || 49 gelf_getshdr(scn, &shdr) == NULL || 50 (symtab = elf_getdata(scn, NULL)) == NULL)
|
| /onnv/onnv-gate/usr/src/cmd/boot/symdef/ |
| symdef.c | 63 Elf_Scn *scn = NULL; local 93 while ((scn = elf_nextscn(elfp, scn)) != NULL) { 94 if ((gelf_getshdr(scn, &shdr) == NULL) || 97 ((symdata = elf_getdata(scn, NULL)) == NULL))
|
| /onnv/onnv-gate/usr/src/cmd/sgs/libelf/demo/ |
| acom.c | 49 Elf_Scn *scn = 0; local 60 while ((scn = elf_nextscn(elf, scn)) != 0) { 66 if (gelf_getshdr(scn, &shdr) == 0) { 76 if (scn == 0) { 84 if ((scn = elf_getscn(elf, shstrndx)) == 0) { 89 if ((data = elf_getdata(scn, 0)) == 0) { 95 if ((data = elf_newdata(scn)) == 0) { 109 if ((scn = elf_newscn(elf)) == 0) { 114 if (gelf_getshdr(scn, &shdr) == 0) [all...] |
| pcom.c | 50 Elf_Scn *scn = 0; local 64 while ((scn = elf_nextscn(elf, scn)) != 0) { 70 if (gelf_getshdr(scn, &shdr) == 0) { 84 if ((data = elf_getdata(scn, 0)) == 0) {
|
| tpcom.c | 71 Elf_Scn * scn = 0; local 82 while ((scn = elf_nextscn(elf, scn)) != 0) { 88 if (gelf_getshdr(scn, &shdr) == 0) { 106 if ((data = elf_getdata(scn, 0)) == 0) {
|
| dcom.c | 93 Elf_Scn *scn = 0; local 138 while ((scn = elf_nextscn(elf, scn)) != 0) { 146 if (gelf_getshdr(scn, &shdr) == 0) { 206 scn = 0; 208 while ((scn = elf_nextscn(elf, scn)) != 0) { 224 if (gelf_getshdr(scn, &shdr) == 0) { 264 if ((data = elf_getdata(scn, 0)) == 0) {
|
| /onnv/onnv-gate/usr/src/cmd/mdb/tools/setdynflag/common/ |
| setdynflag.c | 88 Elf_Scn *scn; local 105 if ((scn = elf_getscn(elf, secidx)) == NULL) 108 if (gelf_getshdr(scn, &shdr) == NULL) 111 if ((data = elf_getdata(scn, NULL)) == NULL)
|
| /onnv/onnv-gate/usr/src/tools/ctf/cvt/ |
| util.c | 66 Elf_Scn *scn = NULL; local 73 while ((scn = elf_nextscn(elf, scn)) != NULL) { 76 if (gelf_getshdr(scn, &shdr) == NULL) { 79 elf_ndxscn(scn)); 86 elf_ndxscn(scn)); 90 return (elf_ndxscn(scn));
|
| stabs.c | 179 Elf_Scn *scn; local 208 scn = elf_getscn(elf, stabidx); 209 data = elf_rawdata(scn, NULL);
|
| /onnv/onnv-gate/usr/src/cmd/sgs/size/common/ |
| process.c | 92 Elf_Scn *scn; local 128 scn = 0; 136 if ((scn = elf_nextscn(elf, scn)) == 0) { 139 if (gelf_getshdr(scn, &shdr) == 0) {
|
| /onnv/onnv-gate/usr/src/cmd/isns/isnsd/ |
| isns_scn.h | 34 /* raw scn data type */ 49 /* scn context data type */ 62 /* portal data type stroed in scn registry */ 84 /* scn trigger uint */ 85 typedef struct scn { struct 91 struct scn *next; 94 /* scn registry list */ 104 scn_t *scn; member in struct:scn_registry
|
| /onnv/onnv-gate/usr/src/cmd/lockstat/ |
| sym.c | 142 Elf_Scn *scn = NULL; local 157 for (cnt = 1; (scn = elf_nextscn(elf, scn)) != NULL; cnt++) { 158 Shdr *shdr = elf_getshdr(scn); 160 symtab = (Sym *)elf_getdata(scn, NULL)->d_buf; 166 for (cnt = 1; (scn = elf_nextscn(elf, scn)) != NULL; cnt++) { 168 strtab = (char *)elf_getdata(scn, NULL)->d_buf;
|
| /onnv/onnv-gate/usr/src/cmd/mdb/tools/findfp/sparc/ |
| findfp.c | 83 Elf_Scn *scn; local 125 if ((scn = elf_getscn(elf, textidx)) == NULL || 126 gelf_getshdr(scn, &shdr) == NULL || 127 (text = elf_rawdata(scn, NULL)) == NULL)
|
| /onnv/onnv-gate/usr/src/cmd/sgs/elfwrap/common/ |
| elfwrap.c | 288 Elf_Scn *scn; local 292 if ((scn = elf_newscn(oelf)) == NULL) { 297 if ((shdr = elf_getshdr(scn)) == NULL) { 309 if ((data = elf_newdata(scn)) == NULL) { 388 Elf_Scn *scn; local 391 if ((scn = elf_getscn(melf, outsec->os_ndx)) == NULL) { 396 if ((outsec->os_shdr = shdr = elf_getshdr(scn)) == NULL) { 401 if ((outsec->os_data = elf_getdata(scn, NULL)) == NULL) {
|
| /onnv/onnv-gate/usr/src/cmd/sgs/librtld_db/rdb_demo/common/ |
| maps.c | 207 Elf_Scn *scn = NULL; local 298 while ((scn = elf_nextscn(mp->mi_elf, scn)) != NULL) { 303 if (gelf_getshdr(scn, &shdr) == NULL) { 311 dp = elf_getdata(scn, 0); 320 dp = elf_getdata(scn, 0); 327 dp = elf_getdata(scn, 0);
|
| /onnv/onnv-gate/usr/src/cmd/sgs/link_audit/common/ |
| who.c | 160 Elf_Scn * scn; local 177 scn = 0; 178 while ((scn = elf_nextscn(elf, scn)) != 0) { 181 shdr = elf_getshdr(scn); 184 data = elf_getdata(scn, 0); 188 scn = elf_getscn(elf, shdr->sh_link); 189 data = elf_getdata(scn, 0);
|
| /onnv/onnv-gate/usr/src/cmd/sgs/prof/common/ |
| rdelf.c | 161 Elf_Scn *scn; local 201 scn = elf_getscn(elf, sym->st_shndx); 202 (void) gelf_getshdr(scn, &shdr); 213 Elf_Scn *scn = NULL, *sym_pri = NULL, *sym_aux = NULL; local 230 while ((symtab_found == 0) && ((scn = elf_nextscn(elf, scn)) != NULL)) { 234 if (gelf_getshdr(scn, &shdr) == NULL) 241 sym_pri = scn; 253 sym_pri = scn; 259 sym_aux = scn; [all...] |
| /onnv/onnv-gate/usr/src/lib/libtnfctl/ |
| traverse.c | 100 Elf_Scn *scn; local 102 if ((scn = elf_getscn(elf, idx)) == NULL) { 108 if ((shdr = gelf_getshdr(scn, &shdr_obj)) == NULL) { 115 if ((data = elf_getdata(scn, NULL)) == NULL) { 123 strs, scn, shdr, data, addr, search_info_p); 277 Elf_Scn * scn,
|
| /onnv/onnv-gate/usr/src/cmd/sgs/elfedit/common/ |
| elfedit_machelf.c | 127 Elf_Scn *scn; local 168 LIBELF((scn = elf_getscn(tstate.os_elf, tstate.os_shstrndx)), 170 LIBELF((data = elf_getdata(scn, NULL)), MSG_ORIG(MSG_ELF_GETDATA)) 178 for (ndx = 1, scn = NULL; scn = elf_nextscn(tstate.os_elf, scn); 182 LIBELF(shdr = elf_getshdr(scn), MSG_ORIG(MSG_ELF_GETSHDR)); 249 LIBELF(scn = elf_getscn(tstate.os_elf, 0), 251 _cache->sec_scn = scn; 252 LIBELF(_cache->sec_shdr = elf_getshdr(scn), MSG_ORIG(MSG_ELF_GETSHDR)) [all...] |