Home
last modified time | relevance | path

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

1234

/titanic_44/usr/src/cmd/sgs/elfdump/common/
H A Dgen_struct_layout.c255 START(psinfo, psinfo_t); in gen_psinfo()
257 SCALAR_FIELD(psinfo_t, pr_flag, 1); in gen_psinfo()
258 SCALAR_FIELD(psinfo_t, pr_nlwp, 1); in gen_psinfo()
259 SCALAR_FIELD(psinfo_t, pr_pid, 0); in gen_psinfo()
260 SCALAR_FIELD(psinfo_t, pr_ppid, 0); in gen_psinfo()
261 SCALAR_FIELD(psinfo_t, pr_pgid, 0); in gen_psinfo()
262 SCALAR_FIELD(psinfo_t, pr_sid, 0); in gen_psinfo()
263 SCALAR_FIELD(psinfo_t, pr_uid, 0); in gen_psinfo()
264 SCALAR_FIELD(psinfo_t, pr_euid, 0); in gen_psinfo()
265 SCALAR_FIELD(psinfo_t, pr_gid, 0); in gen_psinfo()
[all …]
H A Dgen_layout_obj.c44 psinfo_t psinfo;
/titanic_44/usr/src/lib/libdtrace/common/
H A Dprocfs.d.in210 * Translate from the kernel's proc_t structure to a proc(4) psinfo_t struct.
217 * kthread_t-to-psinfo_t translator, below.
220 translator psinfo_t < proc_t *T > {
255 * Translate from the kernel's kthread_t structure to a proc(4) psinfo_t
257 * another, we explicitly define each member by using the proc_t-to-psinfo_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;
[all …]
/titanic_44/usr/src/lib/libproc/common/
H A Dproc_arg.c131 int *perr, const char **lwps, psinfo_t *psp) in proc_grab_common()
133 psinfo_t psinfo; in proc_grab_common()
152 sizeof (psinfo_t)) == sizeof (psinfo_t)) { in proc_grab_common()
187 sizeof (psinfo_t)); in proc_grab_common()
200 if (read(fd, &psinfo, sizeof (psinfo_t)) == sizeof (psinfo_t)) { in proc_grab_common()
222 sizeof (psinfo_t)); in proc_grab_common()
256 proc_arg_psinfo(const char *arg, int oflag, psinfo_t *psp, int *perr) in proc_arg_psinfo()
258 psinfo_t psinfo; in proc_arg_psinfo()
270 proc_arg_xpsinfo(const char *arg, int oflag, psinfo_t *psp, int *perr, in proc_arg_xpsinfo()
273 psinfo_t psinfo; in proc_arg_xpsinfo()
[all …]
H A Dlibproc.h206 typedef const psinfo_t *(*pop_psinfo_t)(struct ps_prochandle *, psinfo_t *,
272 extern const psinfo_t *Ppsinfo(struct ps_prochandle *);
445 extern int Plwp_getspymaster(struct ps_prochandle *, lwpid_t, psinfo_t *);
466 typedef int proc_walk_f(psinfo_t *, lwpsinfo_t *, void *);
680 extern void proc_unctrl_psinfo(psinfo_t *);
695 extern pid_t proc_arg_psinfo(const char *, int, psinfo_t *, int *);
696 extern pid_t proc_arg_xpsinfo(const char *, int, psinfo_t *, int *,
706 extern int proc_get_psinfo(pid_t, psinfo_t *);
H A DP32ton.h65 extern void psinfo_32_to_n(const psinfo32_t *, psinfo_t *);
78 extern void psinfo_n_to_32(const psinfo_t *, psinfo32_t *);
H A DPcontrol.h203 psinfo_t psinfo; /* psinfo_t from last Ppsinfo() request */
234 psinfo_t spymaster; /* agent LWP's spymaster, if any */
H A DPlwpregs.c356 Plwp_getspymaster(struct ps_prochandle *P, lwpid_t lwpid, psinfo_t *ps) in Plwp_getspymaster()
375 ps, sizeof (psinfo_t))); in Plwp_getspymaster()
379 (void) memcpy(ps, &P->spymaster, sizeof (psinfo_t)); in Plwp_getspymaster()
/titanic_44/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.h64 extern int psexp_match(psexp_t *, psinfo_t *, int);
/titanic_44/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 *);
148 psinfo_t info; /* process information structure from /proc */ in ucbmain()
504 if ((psent[nent].psinfo = malloc(sizeof (psinfo_t))) in ucbmain()
562 preadargs(int pfd, psinfo_t *psinfo, char *psargs) in preadargs()
643 preadenvs(int pfd, psinfo_t *psinfo, char *psargs) in preadenvs()
805 gettty(psinfo_t *psinfo) in gettty()
[all …]
H A Dps.c310 static char *gettty(psinfo_t *);
311 static int prfind(int, psinfo_t *, char **);
312 static void prcom(psinfo_t *, char *);
315 static void print_field(psinfo_t *, struct field *, const char *);
316 static void print_zombie_field(psinfo_t *, struct field *, const char *);
317 static void pr_fields(psinfo_t *, const char *,
318 void (*print_fld)(psinfo_t *, struct field *, const char *));
325 static void przom(psinfo_t *);
736 psinfo_t info; in stdmain()
935 psinfo_t info; /* process information from /proc */ in print_proc()
[all …]
/titanic_44/usr/src/cmd/ptools/psig/
H A Dpsig.c50 static uintptr_t deinterpose(int, void *, psinfo_t *, struct sigaction *);
182 psinfo_t psinfo; in look()
183 const psinfo_t *psinfop; in look()
199 (void) memcpy(&psinfo, psinfop, sizeof (psinfo_t)); in look()
410 deinterpose(int sig, void *aharr, psinfo_t *psinfo, struct sigaction *sp) in deinterpose()
/titanic_44/usr/src/cmd/svc/startd/
H A Dwait.c277 psinfo_t psi; in wait_thread()
280 read(fd, &psi, sizeof (psinfo_t)) != in wait_thread()
281 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.c46 psinfo_t psinfo; in proc_get_ctid()
/titanic_44/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c596 get_nscd_psinfo(pid_t pid, psinfo_t *info) in get_nscd_psinfo()
598 psinfo_t pinfo; in get_nscd_psinfo()
605 ret = read(fd, &pinfo, sizeof (psinfo_t)); in get_nscd_psinfo()
607 if ((ret == sizeof (psinfo_t)) && in get_nscd_psinfo()
624 psinfo_t pinfo; in is_peruser_nscd()
/titanic_44/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()
/titanic_44/usr/src/cmd/dtrace/test/tst/common/inline/
H A Derr.D_OP_INCOMPAT.badxlate.d41 inline vfs_t *invalid = xlate<psinfo_t>(curthread->t_procp);
/titanic_44/usr/src/cmd/latencytop/common/
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()
/titanic_44/usr/src/cmd/dtrace/test/tst/common/translators/
H A Dtst.ProcModelTrans.d45 mypr_addr = xlate < psinfo_t > (T).pr_addr;
/titanic_44/usr/src/cmd/ptools/pwdx/
H A Dpwdx.c42 psinfo_t p; in show_cwd()
/titanic_44/usr/src/uts/common/exec/elf/
H A Delf_notes.c98 + roundup(sizeof (psinfo_t), sizeof (Word)) in setup_note_header()
113 roundup(sizeof (psinfo_t), sizeof (Word)); in setup_note_header()
171 psinfo_t psinfo; in write_elfnotes()
570 sizeof (psinfo_t), psaddr, rlimit, credp); in write_elfnotes()
H A Delf_impl.h93 #define psinfo_t psinfo32_t macro
/titanic_44/usr/src/lib/libc/port/gen/
H A Dgetxby_door.c701 psinfo_t pinfo; in _nsc_proc_is_cache()
722 ret = read(fd, &pinfo, sizeof (psinfo_t)); in _nsc_proc_is_cache()
724 if (ret == sizeof (psinfo_t) && in _nsc_proc_is_cache()

1234