Home
last modified time | relevance | path

Searched refs:auxv_t (Results 1 – 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetauxv.c46 static auxv_t *
49 static auxv_t *auxb = NULL; in _getaux()
61 auxv_t *buf = NULL; in _getaux()
67 statb.st_size + sizeof (auxv_t)); in _getaux()
72 nauxv = i / sizeof (auxv_t); in _getaux()
100 return ((auxv_t *)0); in _getaux()
110 auxv_t *auxp; in ___getauxval()
112 if ((auxp = _getaux(type)) != (auxv_t *)0) in ___getauxval()
120 auxv_t *auxp; in ___getauxptr()
122 if ((auxp = _getaux(type)) != (auxv_t *)0) in ___getauxptr()
/illumos-gate/usr/src/lib/libproc/common/
H A DP32ton.h51 extern void auxv_32_to_n(const auxv32_t *, auxv_t *);
69 extern void auxv_n_to_32(const auxv_t *, auxv32_t *);
H A Dproc_get_info.c206 proc_get_auxv(pid_t pid, auxv_t *pauxv, int naux) in proc_get_auxv()
215 if ((rv = read(fd, pauxv, naux * sizeof (auxv_t))) >= 0) in proc_get_auxv()
216 rv /= sizeof (auxv_t); in proc_get_auxv()
H A DPservice.c363 ps_pauxv(struct ps_prochandle *P, const auxv_t **aux) in ps_pauxv()
371 *aux = (const auxv_t *)P->auxv; in ps_pauxv()
H A Dlibproc.h194 typedef void (*pop_read_aux_t)(struct ps_prochandle *, auxv_t **, int *,
586 extern const auxv_t *Pgetauxvec(struct ps_prochandle *);
724 extern int proc_get_auxv(pid_t, auxv_t *, int);
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A D_setup.c71 auxv_t *auxv, *_auxv; in _setup()
92 _auxv = (auxv_t *)ebp->eb_un.eb_ptr; in _setup()
228 if ((lmp = setup((char **)_envp, (auxv_t *)_auxv, _flags, _platform, in _setup()
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A D_setup.c71 auxv_t *auxv, *_auxv; in _setup()
94 _auxv = (auxv_t *)ebp->eb_un.eb_ptr; in _setup()
231 if ((lmp = setup((char **)_envp, (auxv_t *)_auxv, _flags, _platform, in _setup()
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A D_setup.c72 auxv_t *auxv, *_auxv; in _setup()
93 _auxv = (auxv_t *)ebp->eb_un.eb_ptr; in _setup()
241 if ((lmp = setup((char **)_envp, (auxv_t *)_auxv, _flags, _platform, in _setup()
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A D_setup.c129 auxv_t *auxv, *_auxv; in _setup()
151 _auxv = (auxv_t *)ebp->eb_un.eb_ptr; in _setup()
316 if ((lmp = setup((char **)_envp, (auxv_t *)_auxv, _flags, _platform, in _setup()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_pservice.c95 const auxv_t **);
228 ps_pauxv(struct ps_prochandle *P, const auxv_t **auxvp) in ps_pauxv()
245 const auxv_t *auxv; in ps_pbrandname()
H A Dmdb_target_impl.h137 int (*t_auxv)(mdb_tgt_t *, const auxv_t **auxvp);
335 extern int mdb_tgt_auxv(mdb_tgt_t *, const auxv_t **);
H A Dmdb_ks.h167 extern int mdb_kproc_auxv(uintptr_t, auxv_t *);
H A Dmdb_kproc.c120 auxv_t *kp_auxv; /* Auxv array from u-area */
154 auxv_t *auxp; in kp_getauxval()
423 mdb_free(kp->kp_auxv, kp->kp_nauxv * sizeof (auxv_t)); in kp_destroy()
881 kp_auxv(mdb_tgt_t *t, const auxv_t **auxvp) in kp_auxv()
952 int (*f_auxv)(uintptr_t, auxv_t *); in mdb_kproc_tgt_create()
1016 kp->kp_auxv = mdb_alloc(sizeof (auxv_t) * kp->kp_nauxv, UM_SLEEP); in mdb_kproc_tgt_create()
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dps.c74 auxv_t *auxvp; in get_ldbase()
99 entsize = sizeof (auxv_t); in get_ldbase()
241 ps_pauxv(struct ps_prochandle *ph, const auxv_t **auxvp) in ps_pauxv()
/illumos-gate/usr/src/lib/mpss/common/
H A Dmpss.c108 static auxv_t auxb; in mygetexecname()
117 while (read(fd, &auxb, sizeof (auxv_t)) == sizeof (auxv_t)) { in mygetexecname()
/illumos-gate/usr/src/lib/brand/shared/brand/common/
H A Dbrand_util.c333 auxv_t *ap; in brand_post_init()
400 for (ap = (auxv_t *)p; ap->a_type != AT_NULL; ap++) { in brand_post_init()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dgen_layout_obj.c42 auxv_t auxv;
H A Dgen_struct_layout.c111 START(auxv, auxv_t); in gen_auxv()
113 SCALAR_FIELD(auxv_t, a_type, 1); in gen_auxv()
114 SCALAR_FIELD(auxv_t, a_un.a_val, 1); in gen_auxv()
115 SCALAR_FIELD(auxv_t, a_un.a_ptr, 0); in gen_auxv()
116 SCALAR_FIELD(auxv_t, a_un.a_fcn, 0); in gen_auxv()
/illumos-gate/usr/src/uts/common/sys/
H A Dauxv.h54 } auxv_t; typedef
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c96 auxv_t *ap; /* working aux pointer */ in __rtld()
108 for (ap = (auxv_t *)ebp->eb_un.eb_ptr; in __rtld()
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c95 auxv_t *ap; /* working aux pointer */ in __rtld()
107 for (ap = (auxv_t *)ebp->eb_un.eb_ptr; in __rtld()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_impl.h54 typedef auxv_t aux_entry_t;
/illumos-gate/usr/src/lib/madv/common/
H A Dmadv.c164 static auxv_t auxb; in mygetexecname()
173 while (read(fd, &auxb, sizeof (auxv_t)) == sizeof (auxv_t)) { in mygetexecname()
/illumos-gate/usr/src/head/
H A Ddlfcn.h73 auxv_t *dla_auxv; /* process auxv vectors */
H A Dproc_service.h130 extern ps_err_e ps_pauxv(struct ps_prochandle *, const auxv_t **);

123