Home
last modified time | relevance | path

Searched refs:e_type (Results 1 – 25 of 92) sorted by relevance

1234

/titanic_41/usr/src/cmd/file/
H A Dmagicutils.c86 uint32_t e_type; /* BYTE, SHORT, STR, et al */ member
336 ep->e_type = LONG; in f_mkmtab()
342 ep->e_type = BYTE; in f_mkmtab()
347 ep->e_type = SHORT; in f_mkmtab()
353 ep->e_type = LONG; in f_mkmtab()
357 ep->e_type = LLONG; in f_mkmtab()
360 ep->e_type = LONG; in f_mkmtab()
367 ep->e_type = LLONG; in f_mkmtab()
369 ep->e_type = LONG; in f_mkmtab()
375 ep->e_type = SHORT; in f_mkmtab()
[all …]
H A Delf_read.c224 EI->type = ehdr->e_type; in elf_read()
237 if (ehdr->e_type != ET_CORE) in elf_read()
329 EI_Ehdr.e_type == ET_CORE) { in process_phdr()
/titanic_41/usr/src/tools/elfextract/
H A Delfextract.c63 if (eh->e_type != ET_EXEC) { in extract32()
65 pname, eh->e_type); in extract32()
133 if (eh->e_type != ET_EXEC) { in extract64()
135 pname, eh->e_type); in extract64()
/titanic_41/usr/src/uts/common/os/
H A Dmmapobj.c548 ushort_t e_type) in mmapobj_unmap() argument
555 if (e_type == ET_EXEC) { in mmapobj_unmap()
559 if (e_type == 0) { in mmapobj_unmap()
583 ASSERT(e_type != ET_DYN); in mmapobj_unmap()
603 ASSERT(e_type == ET_DYN); in mmapobj_unmap()
1199 int num_elements, cred_t *fcred, ushort_t e_type) in mmapobj_map_elf() argument
1235 mmapobj_unmap(mrp, i, num_elements, e_type); in mmapobj_map_elf()
1249 if (e_type == ET_EXEC) { in mmapobj_map_elf()
1301 ushort_t e_type = ehdrp->e_type; /* same offset 32 and 64 bit */ in calc_loadable() local
1368 if (e_type == ET_DYN && in calc_loadable()
[all …]
H A Dbrand.c446 dst->e_type = src->e_type; in Ehdr32to64()
765 if (ehdr.e_type == ET_DYN) { in brand_solaris_elfexec()
826 if (ehdr.e_type == ET_EXEC) { in brand_solaris_elfexec()
852 if (ehdr.e_type == ET_DYN) { in brand_solaris_elfexec()
/titanic_41/usr/src/cmd/backup/restore/
H A Drestore.c169 if (ep->e_type == LEAF) { in removeoldleaves()
294 (((key & INOFND) && ip->e_type != type) ||
295 ((key & NAMEFND) && np->e_type != type)))
386 if (ip->e_type == NODE) {
435 if (ip->e_type == LEAF) {
546 if (ep == NIL || ep->e_type == LEAF || BIT(i, dumpmap) == 0) in findunreflinks()
563 if (np->e_type == LEAF) { in findunreflinks()
879 if (ep->e_type == NODE) { in createlinks()
915 if (ep->e_type == NODE) { in checkrestore()
954 if (ep->e_type == LEAF && type != LEAF)
[all …]
H A Dutilities.c152 if (np->e_type != NODE) in newnode()
192 if (ep->e_type != NODE) in removenode()
235 if (ep->e_type != LEAF) in removeleaf()
349 if (ep == NIL || ep->e_type == NODE) in lowerbnd()
367 if (ep == NIL || ep->e_type == NODE) in upperbnd()
402 ep->e_type == NODE ? gettext("NODE") : gettext("LEAF")); in badentry()
/titanic_41/usr/src/uts/common/c2/
H A Daudit_io.c104 au_close(au_kcontext_t *kctx, caddr_t *d, int flag, au_event_t e_type, in au_close() argument
125 au_close_defer(dchain, flag, e_type, e_mod, e_time); in au_close()
128 au_close_time(kctx, dchain, flag, e_type, e_mod, e_time); in au_close()
137 au_close_defer(token_t *dchain, int flag, au_event_t e_type, au_emod_t e_mod, in au_close_defer() argument
160 attr->audi_e_type = e_type; in au_close_defer()
231 au_close_time(au_kcontext_t *kctx, token_t *dchain, int flag, au_event_t e_type, in au_close_time() argument
262 if (e_type != AUE_SYSTEMBOOT) { in au_close_time()
300 record = au_to_header_ex(byte_count, e_type, e_mod); in au_close_time()
302 record = au_to_header(byte_count, e_type, e_mod); in au_close_time()
/titanic_41/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c260 if (ehdr->e_type == ET_DYN) in fake_elf64()
356 if (ehdr->e_type == ET_DYN) in fake_elf64()
514 if (ehdr->e_type == ET_DYN) in fake_elf64()
542 if (ehdr->e_type == ET_DYN) in fake_elf64()
568 if (ehdr->e_type == ET_DYN) in fake_elf64()
592 if (ehdr->e_type == ET_DYN) in fake_elf64()
624 if (ehdr->e_type == ET_DYN) { in fake_elf64()
688 if (ehdr->e_type == ET_DYN) in fake_elf64()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dresolve.c150 (ifl->ifl_ehdr->e_type == ET_DYN)) { in sym_visibility()
158 (ifl->ifl_ehdr->e_type == ET_REL)) { in sym_visibility()
329 (ifl->ifl_ehdr->e_type == ET_REL)) { in sym_promote()
383 (ifl->ifl_ehdr->e_type == ET_DYN)) in sym_override()
412 if (ifl->ifl_ehdr->e_type == ET_REL) { in sym_override()
559 Half ofile = sdp->sd_file->ifl_ehdr->e_type; in sym_tworeals()
560 Half nfile = ifl->ifl_ehdr->e_type; in sym_tworeals()
662 Half ofile = sdp->sd_file->ifl_ehdr->e_type; in sym_realtent()
663 Half nfile = ifl->ifl_ehdr->e_type; in sym_realtent()
836 Half ofile = sdp->sd_file->ifl_ehdr->e_type;
[all …]
/titanic_41/usr/src/uts/i86pc/dboot/
H A Ddboot_elfload.c92 if (eh->e_type != ET_EXEC) in dboot_elfload64()
93 dboot_panic("not ET_EXEC, e_type = 0x%x", eh->e_type); in dboot_elfload64()
/titanic_41/usr/src/cmd/sgs/ldd/common/
H A Dldd.c464 if ((ehdr.e_type != ET_EXEC) && (ehdr.e_type != ET_DYN) && in elf_check()
465 (ehdr.e_type != ET_REL)) { in elf_check()
478 if (ehdr.e_type == ET_EXEC) { in elf_check()
573 if ((ehdr.e_type == ET_EXEC) && interp) in elf_check()
/titanic_41/usr/src/lib/libtnfctl/
H A Dtraverse.c82 if ((ehdr->e_type != ET_EXEC) && (ehdr->e_type != ET_DYN)) { in _tnfctl_traverse_object()
90 if (ehdr->e_type == ET_EXEC) in _tnfctl_traverse_object()
/titanic_41/usr/src/tools/mbh_patch/
H A Dmbh_patch.c66 if (eh->e_type != ET_EXEC) { in patch64()
68 pname, fname, eh->e_type); in patch64()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h68 Elf32_Half e_type; /* file types */ member
99 & (h.e_ident[EI_VERSION] == EV_CURRENT) & (h.e_type == ET_EXEC) \
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Delf.h167 Elf32_Half e_type; /* File type. */ member
184 Elf64_Half e_type; /* File type. */ member
/titanic_41/usr/src/cmd/abi/spectrans/spec2trace/
H A Dsymtab.c48 char *e_type; /* where kind == PRIMITIVE */ member
670 return (e->e_type); in x_type_of()
687 p = e->e_type; in type_of()
808 e->e_type = strset(e->e_type, type); in set_entry()
/titanic_41/usr/src/lib/libbsm/common/
H A Dau_open.c140 au_close(int d, int right, au_event_t e_type) in au_close() argument
242 adr_ushort(&adr, &e_type, 1); in au_close()
H A Dau_to.c78 au_to_header(au_event_t e_type, au_emod_t e_mod) in au_to_header() argument
103 adr_ushort(&adr, &e_type, 1); /* event ID */ in au_to_header()
119 au_to_header_ex(au_event_t e_type, au_emod_t e_mod) in au_to_header_ex() argument
138 return (au_to_header(e_type, e_mod)); in au_to_header_ex()
142 return (au_to_header(e_type, e_mod)); in au_to_header_ex()
145 return (au_to_header(e_type, e_mod)); in au_to_header_ex()
162 adr_ushort(&adr, &e_type, 1); /* event ID */ in au_to_header_ex()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_pid.c524 GElf_Half e_type; in dt_pid_usdt_mapping() local
548 if (Pread(P, &e_type, sizeof (e_type), pmp->pr_vaddr + in dt_pid_usdt_mapping()
549 offsetof(Elf64_Ehdr, e_type)) != sizeof (e_type)) { in dt_pid_usdt_mapping()
555 dh.dofhp_addr = (e_type == ET_EXEC) ? 0 : pmp->pr_vaddr; in dt_pid_usdt_mapping()
H A Ddlink_common.c127 dh.dofhp_addr = elf->e_type == ET_DYN ? addr : 0; in dtrace_link_dof()
/titanic_41/usr/src/cmd/stat/fsstat/
H A Dfsstat.c105 int e_type; /* type of entity */ member
780 ep->e_type = ENTYPE_FSTYPE; in set_ksnames()
818 ep->e_type = ENTYPE_MNTPT; in set_ksnames()
1090 if (ent->e_type == ENTYPE_MNTPT) { in main()
1094 } else if (ent->e_type == ENTYPE_FSTYPE) { in main()
/titanic_41/usr/src/uts/common/exec/elf/
H A Delf.c234 if (ehdr->e_type == ET_EXEC && *interp == 0) in mapexec_brand()
396 if (ehdrp->e_type != ET_EXEC) { in elfexec()
533 if (ehdrp->e_type == ET_DYN) in elfexec()
644 if (ehdrp->e_type == ET_DYN) { in elfexec()
896 if (ehdrp->e_type == ET_DYN) { in elfexec()
1022 if ((ehdr->e_type != ET_EXEC && ehdr->e_type != ET_DYN) || in getelfhead()
1227 if (ehdr->e_type == ET_DYN) { in mapelfexec()
1657 if (ehdr.e_type == ET_DYN || in process_scns()
1678 if (ehdr.e_type == ET_DYN || in process_scns()
1824 ehdr->e_type = ET_CORE; in elfcore()
/titanic_41/usr/src/uts/common/rpc/
H A Dclnt_clts.c117 endpnt_type_t *e_type; /* back pointer to endpoint type */ member
1574 new->e_type = np; in endpnt_get()
1739 mutex_enter(&sp->e_type->e_ilock); in endpnt_rele()
1740 endpnt_reap_settimer(sp->e_type); in endpnt_rele()
1741 mutex_exit(&sp->e_type->e_ilock); in endpnt_rele()
1747 mutex_enter(&sp->e_type->e_ilock); in endpnt_rele()
1748 list_insert_tail(&sp->e_type->e_ilist, sp); in endpnt_rele()
1749 endpnt_reap_settimer(sp->e_type); in endpnt_rele()
1750 mutex_exit(&sp->e_type->e_ilock); in endpnt_rele()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c100 if (gf->gf_ehdr.e_type == ET_REL && npbit != 0) { in gelf_sect_init()
181 dst->e_type = src->e_type; in mdb_gelf_ehdr_to_gehdr()
534 if (gf->gf_ehdr.e_type == ET_EXEC && gf->gf_npload != 0) in gelf_dyns_init()
589 gf->gf_ehdr.e_type = ehdr->e_type; in gelf32_init()
752 if (etype != ET_NONE && ehp->e_type != etype) { in mdb_gelf_check()
976 if (gst->gst_ehdr->e_type == ET_REL && gst->gst_file != NULL) { in gelf32_symtab_init()
1073 if (gst->gst_ehdr->e_type == ET_REL && gst->gst_file != NULL) { in gelf64_symtab_init()
1286 if (gf->gf_ehdr.e_type == ET_EXEC && gf->gf_npload != 0) in mdb_gelf_symtab_create_dynamic()
1378 ehdr.e_type = ET_NONE; in mdb_gelf_symtab_create_mutable()

1234