Home
last modified time | relevance | path

Searched refs:Pstatus (Results 1 – 25 of 49) sorted by relevance

12

/titanic_41/usr/src/lib/libproc/common/
H A Dpr_stat.c83 if (Pstatus(Pr)->pr_dmodel != PR_MODEL_NATIVE) { in pr_stat()
108 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_stat()
134 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_stat()
158 if (Pstatus(Pr)->pr_dmodel != PR_MODEL_NATIVE) { in pr_lstat()
183 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_lstat()
209 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_lstat()
233 if (Pstatus(Pr)->pr_dmodel != PR_MODEL_NATIVE) { in pr_fstat()
258 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_fstat()
284 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_fstat()
308 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_stat64()
[all …]
H A Dpr_statvfs.c89 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_statvfs()
108 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_statvfs()
142 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_fstatvfs()
161 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_fstatvfs()
H A Dpr_sigaction.c77 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_sigaction()
102 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_sigaction()
122 if (oact != NULL && Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_sigaction()
H A Dpr_getrlimit.c68 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_getrlimit()
116 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_setrlimit()
164 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_getrlimit64()
212 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_setrlimit64()
H A Dpr_lseek.c64 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_NATIVE) { in pr_lseek()
103 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_NATIVE) in pr_lseek()
139 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_LP64) { in pr_llseek()
178 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_LP64) in pr_llseek()
H A Dpr_waitid.c78 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_waitid()
104 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_waitid()
H A Dpr_getitimer.c46 int victim32 = (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32); in pr_getitimer()
103 int victim32 = (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32); in pr_setitimer()
H A Dpr_fcntl.c59 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) { in pr_fcntl()
H A Dpr_memcntl.c80 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_memcntl()
/titanic_41/usr/src/cmd/plimit/
H A Dplimit.c481 command, Pstatus(Pr)->pr_pid, strerror(errno)); in set_one_limit()
499 new_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid); in set_one_limit()
503 " %d: %s\n", command, Pstatus(Pr)->pr_pid, in set_one_limit()
522 old_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid); in set_one_limit()
528 Pstatus(Pr)->pr_pid, strerror(errno)); in set_one_limit()
540 Pstatus(Pr)->pr_pid, strerror(errno)); in set_one_limit()
552 command, Pstatus(Pr)->pr_pid, strerror(errno)); in set_one_limit()
568 command, Pstatus(Pr)->pr_pid); in set_one_limit()
575 command, Pstatus(Pr)->pr_pid); in set_one_limit()
/titanic_41/usr/src/cmd/ptools/prun/
H A Dprun.c87 (void) kill(Pstatus(P)->pr_pid, SIGCONT); in start()
93 if (Pstatus(P)->pr_lwp.pr_flags & PR_AGENT) { in start()
161 command, (int)Pstatus(P)->pr_pid, in lwpstart()
/titanic_41/usr/src/lib/libdtrace/i386/
H A Ddt_isadep.c85 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_has_jump_table()
86 char dmodel = Pstatus(P)->pr_dmodel; in dt_pid_has_jump_table()
130 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_return_probe()
131 char dmodel = Pstatus(P)->pr_dmodel; in dt_pid_create_return_probe()
282 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_offset_probe()
283 char dmodel = Pstatus(P)->pr_dmodel; in dt_pid_create_offset_probe()
356 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_glob_offset_probes()
357 char dmodel = Pstatus(P)->pr_dmodel; in dt_pid_create_glob_offset_probes()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_proc.c142 const lwpstatus_t *psp = &Pstatus(dpr->dpr_proc)->pr_lwp; in dt_proc_bpmatch()
333 const pstatus_t *psp = Pstatus(dpr->dpr_proc); in dt_proc_attach()
394 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; in dt_proc_waitrun()
423 psp = &Pstatus(P)->pr_lwp; in dt_proc_waitrun()
522 if (Pstatus(P)->pr_flags & PR_KLC) in dt_proc_control()
558 psp = &Pstatus(P)->pr_lwp; in dt_proc_control()
674 pid_t pid = Pstatus(P)->pr_pid; in dt_proc_lookup()
708 if (!(Pstatus(dpr->dpr_proc)->pr_flags & (PR_KLC | PR_RLC))) { in dt_proc_destroy()
711 } else if (Pstatus(dpr->dpr_proc)->pr_flags & PR_KLC) { in dt_proc_destroy()
884 dpr->dpr_pid = Pstatus(dpr->dpr_proc)->pr_pid; in dt_proc_create()
[all …]
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c409 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; in pt_post_attach()
438 psp->pr_why == PR_JOBCONTROL && getsid(0) == Pstatus(P)->pr_sid) in pt_post_attach()
532 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; in pt_pre_detach()
554 (void) waitpid(Pstatus(t->t_pshandle)->pr_pid, NULL, WNOHANG); in pt_pre_detach()
586 (int)Pstatus(vfp->p_pshandle)->pr_pid); in pt_release_parents()
614 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; in pt_fork()
673 if (Pstatus(C)->pr_lwp.pr_why != PR_SYSEXIT) in pt_fork()
676 csp = &Pstatus(C)->pr_lwp; in pt_fork()
801 const pstatus_t *psp = Pstatus(P); in pt_exec()
1132 mdb_printf("%s\n", proc_sigset2str(&Pstatus(P)->pr_sigtrace, " ", in pt_ignored()
[all …]
/titanic_41/usr/src/cmd/nohup/
H A Dnohup.c226 (void) sprintf(file, "/proc/%d/fd", (int)Pstatus(P)->pr_pid); in Pfd_iter()
291 Pstatus(g_proc)->pr_pid, file, strerror(errno)); in fd_cb()
395 lsp->pr_lwpid, lsp->pr_syscall, Pstatus(g_proc)->pr_pid); in lwp_restart()
416 psp = Pstatus(P); in do_pnohup()
767 psp = Pstatus(P); in pnohup()
/titanic_41/usr/src/cmd/prctl/
H A Dprctl.c1754 new_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid); in prctl_setrctl()
1757 "for pid %d: %s"), Pstatus(Pr)->pr_pid, in prctl_setrctl()
1775 old_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid); in prctl_setrctl()
1779 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl()
1789 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl()
1806 proc_get_psinfo(Pstatus(Pr)->pr_pid, &psinfo) == 0 && in prctl_setrctl()
1819 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl()
1844 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl()
1852 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl()
1861 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl()
[all …]
/titanic_41/usr/src/cmd/ppgsz/
H A Dppgsz.c291 if ((rc = setpgsz(Pr, Pstatus(Pr)->pr_dmodel, pgsz)) != 0) { in main()
344 rc = setpgsz(Pr, Pstatus(Pr)->pr_dmodel, pgsz); in main()
421 strerror(errno), (int)Pstatus(Pr)->pr_pid); in setpgsz()
458 if ((pstatus = Pstatus(Pr)) == NULL) in setpgsz_anon()
/titanic_41/usr/src/cmd/mdb/sparc/mdb/
H A Dproc_isadep.c118 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; in pt_read_instr()
172 if (Pstatus(t->t_pshandle)->pr_dmodel == PR_MODEL_LP64) in pt_regs()
316 is_v9 = Pstatus(t->t_pshandle)->pr_dmodel == PR_MODEL_LP64; in pt_fpregs()
544 uint_t model = P ? Pstatus(P)->pr_dmodel : PR_MODEL_UNKNOWN; in pt_addfpregs()
686 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; in pt_step_out()
719 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; in pt_next()
/titanic_41/usr/src/cmd/ptools/pmap/
H A Dpmap.c354 addr_width = (Pstatus(Pr)->pr_dmodel == PR_MODEL_LP64) ? 16 : 8; in main()
355 size_width = (Pstatus(Pr)->pr_dmodel == PR_MODEL_LP64) ? 11 : 8; in main()
397 if (!(Pstatus(Pr)->pr_flags & PR_ISSYS)) { in main()
594 "/proc/%d/rmap", (int)Pstatus(Pr)->pr_pid); in rmapping_iter()
635 "/proc/%d/xmap", (int)Pstatus(Pr)->pr_pid); in xmapping_iter()
685 const pstatus_t *Psp = Pstatus(Pr); in look_map()
822 const pstatus_t *Psp = Pstatus(Pr); in look_smap()
932 const pstatus_t *Psp = Pstatus(Pr); in look_xmap()
981 const pstatus_t *Psp = Pstatus(Pr); in look_xmap_nopgsz()
/titanic_41/usr/src/cmd/truss/
H A Dmain.c218 command, who, (int)Pstatus(Proc)->pr_pid, in grab_lwp()
237 if (lwptrace(Pstatus(Proc)->pr_pid, Lsp->pr_lwpid)) in create_thread()
505 Psp = Pstatus(Proc); in main()
613 Psp = Pstatus(Proc); in main()
641 Psp = Pstatus(Proc); in main()
802 Pstatus(Proc)->pr_lwp.pr_lwpid : 0; in main_thread()
866 const pstatus_t *Psp = Pstatus(Proc); in worker_thread()
1100 (Pstatus(Proc))->pr_sysentry; in worker_thread()
1111 (Pstatus(Proc))->pr_sysentry; in worker_thread()
1539 const pstatus_t *Psp = Pstatus(Proc); in setup_basetime()
[all …]
/titanic_41/usr/src/cmd/newtask/
H A Dnewtask.c527 old_prpriv = proc_get_priv(Pstatus(p)->pr_pid); in set_ids()
585 passwd_entry->pw_name, 0, Pstatus(p)->pr_pid, p, project)) != 0) { in set_ids()
608 Pstatus(p)->pr_pid); in set_ids()
614 Pstatus(p)->pr_pid); in set_ids()
/titanic_41/usr/src/cmd/ptools/pcred/
H A Dpcred.c199 (void) printf("core of %d:\t", (int)Pstatus(Pr)->pr_pid); in look()
201 (void) printf("%d:\t", (int)Pstatus(Pr)->pr_pid); in look()
/titanic_41/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c561 const pstatus_t *Psp = Pstatus(Pr); in create_maplist()
1056 (Pstatus(Pr)->pr_dmodel == PR_MODEL_LP64) ? 16 : 8; in main()
1058 (Pstatus(Pr)->pr_dmodel == PR_MODEL_LP64) ? 11 : 8; in main()
1070 if (!(Pstatus(Pr)->pr_flags & PR_ISSYS)) { in main()
/titanic_41/usr/src/cmd/ptools/pstop/
H A Dpstop.c132 command, (int)Pstatus(P)->pr_pid, in lwpstop()
/titanic_41/usr/src/cmd/ptools/pstack/
H A Dpstack.c434 pstatus_t status = *Pstatus(Pr); in all_call_stacks()
683 if (Pstatus(Pr)->pr_dmodel != PR_MODEL_NATIVE) { in jvm_object_iter()
778 if (Pstatus(Pr)->pr_dmodel != PR_MODEL_NATIVE) { in python_object_iter()

12