Home
last modified time | relevance | path

Searched refs:psinfo_t (Results 1 – 25 of 93) sorted by relevance

1234

/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dgen_struct_layout.c257 START(psinfo, psinfo_t); in gen_psinfo()
259 SCALAR_FIELD(psinfo_t, pr_flag, 1); in gen_psinfo()
260 SCALAR_FIELD(psinfo_t, pr_nlwp, 1); in gen_psinfo()
261 SCALAR_FIELD(psinfo_t, pr_pid, 0); in gen_psinfo()
262 SCALAR_FIELD(psinfo_t, pr_ppid, 0); in gen_psinfo()
263 SCALAR_FIELD(psinfo_t, pr_pgid, 0); in gen_psinfo()
264 SCALAR_FIELD(psinfo_t, pr_sid, 0); in gen_psinfo()
265 SCALAR_FIELD(psinfo_t, pr_uid, 0); in gen_psinfo()
266 SCALAR_FIELD(psinfo_t, pr_euid, 0); in gen_psinfo()
267 SCALAR_FIELD(psinfo_t, pr_gid, 0); in gen_psinfo()
[all …]
H A Dgen_layout_obj.c47 psinfo_t psinfo;
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dprocfs.d.in217 * kthread_t-to-psinfo_t translator, below.
220 translator psinfo_t < proc_t *T > {
263 translator psinfo_t < kthread_t *T > {
264 pr_nlwp = xlate <psinfo_t> (T->t_procp).pr_nlwp;
265 pr_pid = xlate <psinfo_t> (T->t_procp).pr_pid;
266 pr_ppid = xlate <psinfo_t> (T->t_procp).pr_ppid;
267 pr_pgid = xlate <psinfo_t> (T->t_procp).pr_pgid;
268 pr_sid = xlate <psinfo_t> (T->t_procp).pr_sid;
269 pr_uid = xlate <psinfo_t> (T->t_procp).pr_uid;
271 pr_gid = xlate <psinfo_t> (T->t_procp).pr_gid;
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c132 int *perr, const char **lwps, psinfo_t *psp) in proc_grab_common()
134 psinfo_t psinfo; in proc_grab_common()
153 sizeof (psinfo_t)) == sizeof (psinfo_t)) { in proc_grab_common()
188 sizeof (psinfo_t)); in proc_grab_common()
201 if (read(fd, &psinfo, sizeof (psinfo_t)) == sizeof (psinfo_t)) { in proc_grab_common()
223 sizeof (psinfo_t)); in proc_grab_common()
257 proc_arg_psinfo(const char *arg, int oflag, psinfo_t *psp, int *perr) in proc_arg_psinfo()
259 psinfo_t psinfo; in proc_arg_psinfo()
274 psinfo_t psinfo; in proc_arg_xpsinfo()
290 proc_unctrl_psinfo(psinfo_t *psp) in proc_unctrl_psinfo()
[all …]
H A Dlibproc.h200 typedef const psinfo_t *(*pop_psinfo_t)(struct ps_prochandle *, psinfo_t *,
267 extern const psinfo_t *Ppsinfo(struct ps_prochandle *);
453 extern int Plwp_getspymaster(struct ps_prochandle *, lwpid_t, psinfo_t *);
474 typedef int proc_walk_f(psinfo_t *, lwpsinfo_t *, void *);
701 extern void proc_unctrl_psinfo(psinfo_t *);
716 extern pid_t proc_arg_psinfo(const char *, int, psinfo_t *, int *);
717 extern pid_t proc_arg_xpsinfo(const char *, int, psinfo_t *, int *,
728 extern int proc_get_psinfo(pid_t, psinfo_t *);
H A DP32ton.h63 extern void psinfo_32_to_n(const psinfo32_t *, psinfo_t *);
76 extern void psinfo_n_to_32(const psinfo_t *, psinfo32_t *);
H A DPcontrol.h213 psinfo_t psinfo; /* psinfo_t from last Ppsinfo() request */
243 psinfo_t spymaster; /* agent LWP's spymaster, if any */
/illumos-gate/usr/src/cmd/pgrep/
H A Dpgrep.c176 print_proc(psinfo_t *psinfo) in print_proc()
220 print_proc_long(psinfo_t *psinfo) in print_proc_long()
238 kill_proc(psinfo_t *psinfo) in kill_proc()
278 void (*funcp)(psinfo_t *)) in scan_proc_dir() argument
281 psinfo_t ps, ops; in scan_proc_dir()
305 if ((read(procfd, &ps, sizeof (ps)) == sizeof (psinfo_t)) && in scan_proc_dir()
313 sizeof (psinfo_t)); in scan_proc_dir()
319 sizeof (psinfo_t)); in scan_proc_dir()
595 void (*funcp)(psinfo_t *); in main()
H A Dpsexp.h62 extern int psexp_match(psexp_t *, psinfo_t *, int);
/illumos-gate/usr/src/cmd/ps/
H A Ducbps.c79 psinfo_t *psinfo;
134 static void przom(psinfo_t *psinfo);
136 static int preadargs(int, psinfo_t *, char *);
137 static int preadenvs(int, psinfo_t *, char *);
138 static int prcom(int, psinfo_t *, char *);
506 if ((psent[nent].psinfo = malloc(sizeof (psinfo_t))) in ucbmain()
564 preadargs(int pfd, psinfo_t *psinfo, char *psargs) in preadargs()
645 preadenvs(int pfd, psinfo_t *psinfo, char *psargs) in preadenvs()
807 gettty(psinfo_t *psinfo) in gettty()
845 prcom(int found, psinfo_t *psinfo, char *psargs) in prcom()
[all …]
H A Dps.c312 static char *gettty(psinfo_t *);
313 static int prfind(int, psinfo_t *, char **);
314 static void prcom(psinfo_t *, char *);
319 static void pr_fields(psinfo_t *, const char *,
327 static void przom(psinfo_t *);
738 psinfo_t info; in stdmain()
1269 gettty(psinfo_t *psinfo) in gettty()
1294 prfind(int found, psinfo_t *psinfo, char **tpp) in prfind()
1359 prcom(psinfo_t *psinfo, char *ttyp) in prcom()
2100 pr_fields(psinfo_t *psinfo, const char *ttyp, in pr_fields()
[all …]
/illumos-gate/usr/src/cmd/ptools/psig/
H A Dpsig.c48 static uintptr_t deinterpose(int, void *, psinfo_t *, struct sigaction *);
180 psinfo_t psinfo; in look()
181 const psinfo_t *psinfop; in look()
197 (void) memcpy(&psinfo, psinfop, sizeof (psinfo_t)); in look()
408 deinterpose(int sig, void *aharr, psinfo_t *psinfo, struct sigaction *sp) in deinterpose()
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c601 get_nscd_psinfo(pid_t pid, psinfo_t *info) in get_nscd_psinfo()
603 psinfo_t pinfo; in get_nscd_psinfo()
610 ret = read(fd, &pinfo, sizeof (psinfo_t)); in get_nscd_psinfo()
612 if ((ret == sizeof (psinfo_t)) && in get_nscd_psinfo()
629 psinfo_t pinfo; in is_peruser_nscd()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dwait.c280 psinfo_t psi; in wait_thread()
283 read(fd, &psi, sizeof (psinfo_t)) != in wait_thread()
284 sizeof (psinfo_t)) { in wait_thread()
H A Dcontract.c81 psinfo_t psi; in contract_init()
98 if (read(psfd, &psi, sizeof (psinfo_t)) != sizeof (psinfo_t)) { in contract_init()
H A Dproc.c44 psinfo_t psinfo; in proc_get_ctid()
/illumos-gate/usr/src/cmd/ptools/pldd/
H A Dpldd.c100 psinfo_t psinfo; in main()
114 (void) memcpy(&psinfo, Ppsinfo(Pr), sizeof (psinfo_t)); in main()
/illumos-gate/usr/src/cmd/latencytop/
H A Dutil.c140 psinfo_t psinfo; in lt_get_proc_field()
149 ret = read(fd, (char *)&psinfo, sizeof (psinfo_t)); in lt_get_proc_field()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/inline/
H A Derr.D_OP_INCOMPAT.badxlate.d39 inline vfs_t *invalid = xlate<psinfo_t>(curthread->t_procp);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/translators/
H A Dtst.ProcModelTrans.d43 mypr_addr = xlate < psinfo_t > (T).pr_addr;
/illumos-gate/usr/src/cmd/ptools/psecflags/
H A Dpsecflags.c282 psinfo_t psinfo; in main()
294 (void) memcpy(&psinfo, Ppsinfo(Pr), sizeof (psinfo_t)); in main()
/illumos-gate/usr/src/cmd/ptools/pwdx/
H A Dpwdx.c40 psinfo_t p; in show_cwd()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c100 + roundup(sizeof (psinfo_t), sizeof (Word)) in setup_note_header()
117 roundup(sizeof (psinfo_t), sizeof (Word)); in setup_note_header()
182 psinfo_t psinfo; in write_elfnotes()
603 sizeof (psinfo_t), psaddr, rlimit, credp); in write_elfnotes()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetxby_door.c699 psinfo_t pinfo; in _nsc_proc_is_cache()
720 ret = read(fd, &pinfo, sizeof (psinfo_t)); in _nsc_proc_is_cache()
722 if (ret == sizeof (psinfo_t) && in _nsc_proc_is_cache()
/illumos-gate/usr/src/cmd/ptools/pflags/
H A Dpflags.c131 psinfo_t psinfo; in look()
158 (void) memcpy(&psinfo, Ppsinfo(Pr), sizeof (psinfo_t)); in look()
262 psinfo_t ps; in lwplook()

1234