/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sigsendset.c | 47 sigsendsys(procset_t *psp, int sig) argument 62 if (copyin((caddr_t)psp, (caddr_t)&set, sizeof (procset_t)))
|
H A D | psecflags.c | 92 psecflags(procset_t *psp, psecflagwhich_t which, secflagdelta_t *ap) argument 105 if (copyin(psp, &procset, sizeof (procset)) != 0)
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | procset.c | 52 procset_t *psp = &procset; local 54 if (Pread(Proc, psp, sizeof (*psp), offset) == sizeof (*psp)) { 56 pri->pname, idop_enum(pri, psp->p_op)); 58 idtype_enum(pri, psp->p_lidtype), (long)psp->p_lid); 60 idtype_enum(pri, psp->p_ridtype), (long)psp->p_rid);
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | text.c | 22 int psp; variable 61 for (csp = psp = 0; (c = p1[psp++]) != '\0'; ) { 119 if (p1[psp] == '=') { /* look ahead for == <= >= */ 121 psp++; 129 if (p1[psp] == '>') { 130 name4('-', '>'); psp++; 147 cs[csp++] = c; cs[csp++] = c = p1[psp++]; cs[csp++] = p1[psp++]; 148 if (c == '(') cs[csp++] = p1[psp [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pstack.c | 170 load_uclist(uclist_t *ucl, const lwpstatus_t *psp) argument 173 uintptr_t addr = psp->pr_oldcontext; 207 (int)psp->pr_lwpid, (void *)addr);
|
H A D | proc_get_info.c | 165 proc_get_psinfo(pid_t pid, psinfo_t *psp) argument 174 if (read(fd, psp, sizeof (*psp)) == sizeof (*psp)) 182 proc_get_status(pid_t pid, pstatus_t *psp) argument 191 if (read(fd, psp, sizeof (*psp)) == sizeof (*psp))
|
H A D | proc_arg.c | 131 int *perr, const char **lwps, psinfo_t *psp) 160 if (psp) { 161 *psp = psinfo; 162 return (psp); 185 if (psp) { 186 (void) memcpy(psp, Ppsinfo(Pr), 189 return (psp); 202 if (psp) { 203 *psp = psinfo; 204 return (psp); 130 proc_grab_common(const char *arg, const char *path, int oflag, int gflag, int *perr, const char **lwps, psinfo_t *psp) argument 256 proc_arg_psinfo(const char *arg, int oflag, psinfo_t *psp, int *perr) argument 270 proc_arg_xpsinfo(const char *arg, int oflag, psinfo_t *psp, int *perr, const char **lwps) argument 289 proc_unctrl_psinfo(psinfo_t *psp) argument [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rpc.c | 243 const priv_set_t *psp; local 254 (psp = ucred_getprivset(ucp, PRIV_EFFECTIVE)) == NULL) 263 return (!priv_isfullset(psp)); 265 return (!priv_ismember(psp, PRIV_SYS_ADMIN));
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | procset.c | 69 * by the procset structure pointed to by psp. funcp points to a 84 dotoprocs(procset_t *psp, int (*funcp)(), char *arg) argument 96 error = checkprocset(psp); 107 if (psp->p_lid == P_MYID) { 108 psp->p_lid = getmyid(psp->p_lidtype); 110 if (psp->p_rid == P_MYID) { 111 psp->p_rid = getmyid(psp->p_ridtype); 115 * If psp onl 213 checkprocset(procset_t *psp) argument 281 procinset(proc_t *pp, procset_t *psp) argument 519 lwpinset(proc_t *pp, procset_t *psp, kthread_t *tp, int *done) argument 756 cur_inset_only(procset_t *psp) argument 881 dotolwp(procset_t *psp, int (*funcp)(), char *arg) argument [all...] |
/illumos-gate/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 137 find_gwin(gwin_query_t *gqp, const lwpstatus_t *psp) argument 147 (int)gqp->gq_proc->pid, (int)psp->pr_lwpid);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libproc/ |
H A D | libproc.c | 181 ps_prochandle_t psp; local 193 if (mdb_vread(&psp, sizeof (ps_prochandle_t), addr) == -1) { 199 hi = psp.map_count; 202 mp = &psp.mappings[mid]; 206 mappings) + (mp - psp.mappings) * 234 ps_prochandle_t psp; local 242 if (mdb_vread(&psp, sizeof (ps_prochandle_t), wsp->walk_addr) == -1) { 249 fiw->fiw_next = (uintptr_t)psp.file_head.list_forw; 250 fiw->fiw_count = psp.num_files; 300 ps_prochandle_t psp; local [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | proc_ia32dep.c | 98 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 101 (void) mdb_tgt_vread(t, &ret, sizeof (ret), psp->pr_reg[EIP]); 576 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 581 return (mdb_ia32_step_out(t, p, psp->pr_reg[EIP], psp->pr_reg[EBP], 582 psp->pr_reg[UESP], pt_read_instr(t))); 592 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 597 return (mdb_ia32_next(t, p, psp->pr_reg[EIP], pt_read_instr(t)));
|
H A D | proc_amd64dep.c | 143 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 146 (void) mdb_tgt_vread(t, &ret, sizeof (ret), psp->pr_reg[REG_RIP]); 619 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 624 return (mdb_amd64_step_out(t, p, psp->pr_reg[EIP], psp->pr_reg[EBP], 625 psp->pr_reg[UESP], psp->pr_instr)); 635 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 640 return (mdb_amd64_next(t, p, psp->pr_reg[REG_RIP], pt_read_instr(t)));
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_cpu.c | 635 dr_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp) argument 639 ASSERT(csp && psp && (ncores >= 1)); 641 bzero((caddr_t)psp, sizeof (*psp)); 647 psp->ps_type = SBD_COMP_CMP; 648 psp->ps_unit = DR_UNUM2SBD_UNUM(csp->cs_unit, SBD_COMP_CMP); 649 (void) strlcpy(psp->ps_name, csp->cs_name, sizeof (psp->ps_name)); 650 psp->ps_cond = csp->cs_cond; 651 psp 727 sbd_cmp_stat_t *psp; local [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_cpu.c | 164 sbd_cmp_stat_t *psp) 168 ASSERT(csp && psp && (ncores >= 1)); 170 bzero((caddr_t)psp, sizeof (*psp)); 176 psp->ps_type = SBD_COMP_CMP; 177 psp->ps_unit = SBD_CMP_NUM(csp->cs_unit); 178 (void) strncpy(psp->ps_name, csp->cs_name, sizeof (psp->ps_name)); 179 psp->ps_cond = csp->cs_cond; 180 psp 163 sbd_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp) argument 277 sbd_cmp_stat_t *psp; local [all...] |
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_cpu.c | 698 dr_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp) argument 702 ASSERT(csp && psp && (ncores >= 1)); 704 bzero((caddr_t)psp, sizeof (*psp)); 710 psp->ps_type = SBD_COMP_CMP; 711 psp->ps_unit = DR_UNUM2SBD_UNUM(csp->cs_unit, SBD_COMP_CMP); 712 (void) strncpy(psp->ps_name, csp->cs_name, sizeof (psp->ps_name)); 713 psp->ps_cond = csp->cs_cond; 714 psp 795 sbd_cmp_stat_t *psp; local [all...] |
/illumos-gate/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 176 find_gwin(gwin_query_t *gqp, const lwpstatus_t *psp) argument 186 (int)gqp->gq_proc->pid, (int)psp->pr_lwpid);
|
/illumos-gate/usr/src/cmd/nohup/ |
H A D | nohup.c | 414 const pstatus_t *psp; local 416 psp = Pstatus(P); 425 "process %d\n"), psp->pr_pid); 436 "disposition of SIGHUP for %d\n"), psp->pr_pid); 442 "by %d; use -a to force process to ignore\n"), psp->pr_pid); 448 "disposition of SIGQUIT for %d\n"), psp->pr_pid); 454 "by %d; use -a to force process to ignore\n"), psp->pr_pid); 462 "disposition of SIGHUP for %d\n"), psp->pr_pid); 468 "disposition of SIGQUIT for %d\n"), psp->pr_pid); 502 if ((psp 672 const pstatus_t *psp; local [all...] |
/illumos-gate/usr/src/cmd/ptools/pflags/ |
H A D | pflags.c | 260 lwplook(look_arg_t *arg, const lwpstatus_t *psp, const lwpsinfo_t *pip) argument 274 if (psp == NULL) 281 flags = psp->pr_flags & LWPFLAGS; 285 (void) printf(" /%d:\tflags = %s", (int)psp->pr_lwpid, prflags(flags)); 286 if ((flags & PR_ASLEEP) || (psp->pr_syscall && 293 if (psp->pr_syscall && !(arg->pflags & PR_ISSYS)) { 297 proc_sysname(psp->pr_syscall, buf, sizeof (buf))); 298 for (i = 0; i < psp->pr_nsysarg; i++) { 301 (void) printf("0x%lx", psp->pr_sysarg[i]); 309 (void) printf("\twhy = %s", prwhy(psp [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | priocntl.c | 126 priocntl_common(int pc_version, procset_t *psp, int cmd, caddr_t arg, argument 299 if ((*copyinfn)(psp, &procset, sizeof (procset))) 413 if ((*copyinfn)(psp, &procset, sizeof (procset))) 677 (*copyinfn)(psp, &procset, sizeof (procset))) 693 (*copyinfn)(psp, &procset, sizeof (procset))) 743 priocntlsys(int pc_version, procset_t *psp, int cmd, caddr_t arg, caddr_t arg2) argument 745 return (priocntl_common(pc_version, psp, cmd, arg, arg2,
|
/illumos-gate/usr/src/uts/common/io/ppp/sppp/ |
H A D | sppp.c | 471 struct ppp_stats64 *psp; local 605 nmp = allocb(sizeof (*psp), BPRI_MED); 617 psp = (struct ppp_stats64 *)nmp->b_wptr; 623 bcopy(&ppa->ppa_stats, psp, sizeof (*psp)); 625 nmp->b_wptr += sizeof (*psp); 626 count = sizeof (*psp);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_proc.c | 142 const lwpstatus_t *psp = &Pstatus(dpr->dpr_proc)->pr_lwp; local 149 if (psp->pr_reg[R_PC] == dbp->dbp_addr) 155 (int)dpr->dpr_pid, (ulong_t)psp->pr_reg[R_PC]); 333 const pstatus_t *psp = Pstatus(dpr->dpr_proc); local 340 if (psp->pr_lwp.pr_errno != 0) 394 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; local 396 int krflag = psp->pr_flags & (PR_KLC | PR_RLC); 397 timestruc_t tstamp = psp->pr_tstamp; 398 lwpid_t lwpid = psp->pr_lwpid; 404 assert(psp 544 const lwpstatus_t *psp; local [all...] |
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_signal.c | 546 s10_sigsendsys(sysret_t *rval, procset_t *psp, int sig) argument 552 psp, sig); 556 return (__systemcall(rval, SYS_sigsendsys + 1024, psp, nativesig));
|
/illumos-gate/usr/src/cmd/plockstat/ |
H A D | plockstat.c | 772 const priv_set_t *psp; local 773 if ((psp = ucred_getprivset(ucp, PRIV_EFFECTIVE)) != NULL && 774 !priv_ismember(psp, PRIV_DTRACE_PROC)) {
|
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/ |
H A D | proc_isadep.c | 118 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 121 (void) mdb_tgt_vread(t, &ret, sizeof (ret), psp->pr_reg[R_PC]); 686 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 687 uintptr_t pc = psp->pr_reg[R_PC]; 700 *p = psp->pr_reg[R_O7] + 2 * sizeof (instr_t); 703 *p = psp->pr_reg[R_O7] + 2 * sizeof (instr_t); 705 *p = psp->pr_reg[R_I7] + 2 * sizeof (instr_t); 719 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 729 pc = psp->pr_reg[R_PC]; 730 npc = psp [all...] |