| /onnv/onnv-gate/usr/src/uts/common/os/ |
| procset.c | 69 * by the procset structure pointed to by psp. funcp points to a 84 dotoprocs(procset_t *psp, int (*funcp)(), char *arg) 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 only acts on a single proc, we can reduce pidlock hold tim [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/sys/ |
| upa64s.h | 167 #define DBG(flag, psp, fmt) \ 168 upa64s_debug(flag, psp, fmt, 0, 0, 0, 0, 0); 169 #define DBG1(flag, psp, fmt, a1) \ 170 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 171 #define DBG2(flag, psp, fmt, a1, a2) \ 172 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 173 #define DBG3(flag, psp, fmt, a1, a2, a3) \ 174 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \ 176 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \ 177 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), [all...] |
| /onnv/onnv-gate/usr/src/lib/libproc/common/ |
| Pgcore.c | 141 const lwpsinfo_t *lip, prstatus_t *psp) 143 bzero(psp, sizeof (*psp)); 146 psp->pr_flags = 0x0001; 148 psp->pr_flags = 0x0002; 150 psp->pr_flags = 0x0004; 152 psp->pr_flags = 0x0008; 154 psp->pr_flags = 0x0010; 156 psp->pr_flags = 0x0020; 162 psp->pr_flags = 0x0080 [all...] |
| proc_arg.c | 132 int *perr, const char **lwps, psinfo_t *psp) 161 if (psp) { 162 *psp = psinfo; 163 return (psp); 187 if (psp) { 188 (void) memcpy(psp, Ppsinfo(Pr), 191 return (psp); 204 if (psp) { 205 *psp = psinfo; 206 return (psp); [all...] |
| proc_get_info.c | 136 proc_get_psinfo(pid_t pid, psinfo_t *psp) 145 if (read(fd, psp, sizeof (*psp)) == sizeof (*psp)) 153 proc_get_status(pid_t pid, pstatus_t *psp) 162 if (read(fd, psp, sizeof (*psp)) == sizeof (*psp))
|
| Pstack.h | 49 int load_uclist(uclist_t *ucl, const lwpstatus_t *psp);
|
| /onnv/onnv-gate/usr/src/uts/sun4/sys/ |
| ebus.h | 199 #define DBG(flag, psp, fmt) \ 200 ebus_debug(flag, psp, fmt, 0, 0, 0, 0, 0); 201 #define DBG1(flag, psp, fmt, a1) \ 202 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 203 #define DBG2(flag, psp, fmt, a1, a2) \ 204 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 205 #define DBG3(flag, psp, fmt, a1, a2, a3) \ 206 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \ 208 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \ 209 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/montecarlo/sys/ |
| acebus.h | 184 #define DBG(flag, psp, fmt) \ 185 acebus_debug(flag, psp, fmt, 0, 0, 0, 0, 0); 186 #define DBG1(flag, psp, fmt, a1) \ 187 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 188 #define DBG2(flag, psp, fmt, a1, a2) \ 189 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 190 #define DBG3(flag, psp, fmt, a1, a2, a3) \ 191 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \ 193 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \ 194 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), [all...] |
| /onnv/onnv-gate/usr/src/cmd/truss/ |
| 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);
|
| /onnv/onnv-gate/usr/src/cmd/eqn/ |
| 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...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| procset.h | 133 #define setprocset(psp, op, ltype, lid, rtype, rid) \ 134 (psp)->p_op = (op); \ 135 (psp)->p_lidtype = (ltype); \ 136 (psp)->p_lid = (lid); \ 137 (psp)->p_ridtype = (rtype); \ 138 (psp)->p_rid = (rid);
|
| /onnv/onnv-gate/usr/src/lib/libsqlite/tool/ |
| lemon.c | [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
| options.c | 227 struct parse_state *psp; local 234 psp = slp->sl_parse; 235 cfile = psp->ps_cfile; 341 psp->ps_csvc = &psp->ps_cfile->pf_global; 365 struct parse_state *psp; local 372 psp = slp->sl_parse; 381 cfile = psp->ps_cfile; 393 slp->sl_serial = psp->ps_serial++; 394 slp->sl_parse = psp; 495 struct parse_state *psp; local 533 struct parse_state *psp = slp->sl_parse; local 604 struct parse_state *psp = slp->sl_parse; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/libproc/ |
| 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...] |
| /onnv/onnv-gate/usr/src/uts/common/syscall/ |
| sigsendset.c | 47 sigsendsys(procset_t *psp, int sig) 62 if (copyin((caddr_t)psp, (caddr_t)&set, sizeof (procset_t)))
|
| /onnv/onnv-gate/usr/src/cmd/nohup/ |
| 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->pr_lwp.pr_flags & PR_STOPPED) & 672 const pstatus_t *psp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/ngdr/io/ |
| dr_cpu.c | 699 dr_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp) 703 ASSERT(csp && psp && (ncores >= 1)); 705 bzero((caddr_t)psp, sizeof (*psp)); 711 psp->ps_type = SBD_COMP_CMP; 712 psp->ps_unit = DR_UNUM2SBD_UNUM(csp->cs_unit, SBD_COMP_CMP); 713 strncpy(psp->ps_name, csp->cs_name, sizeof (psp->ps_name)); 714 psp->ps_cond = csp->cs_cond; 715 psp->ps_busy = csp->cs_busy 796 sbd_cmp_stat_t *psp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/proc/ |
| prsubr.c | [all...] |
| prioctl.c | 903 prpsinfo_t *psp = &un.prps; local 905 oprgetpsinfo(p, psp, 2525 prpsinfo32_t *psp = &un32.prps; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/misc/ |
| optget.c | 405 pop(register Push_t* psp) 409 while (tsp = psp) 411 psp = psp->next; 987 info(Push_t* psp, char* s, char* e, Sfio_t* ip) 1005 tsp->next = psp; 1016 localize(Push_t* psp, char* s, char* e, int term, int n, char* catalog, int version, Sfio_t* ip) 1054 tsp->next = psp; 1080 Push_t* psp = 0; local 1131 (tsp = localize(psp, s, e, (sep || level) ? '?' : 0, sep || level, catalog, version, ip)) 1550 Push_t* psp = 0; local 2084 Push_t* psp = 0; local 3828 Push_t* psp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/cmd/lpsched/ |
| fncs.c | 188 free_pstatus(PSTATUS *psp) 190 if (psp != NULL) { 191 if (psp->alert != NULL) 192 free_alert(psp->alert); 193 if (psp->exec != NULL) 194 free_exec(psp->exec); 195 if (psp->fault_exec != NULL) 196 free_exec(psp->fault_exec); 197 if (psp->printer != NULL) 198 freeprinter(psp->printer) [all...] |
| /onnv/onnv-gate/usr/src/cmd/ptools/pflags/ |
| pflags.c | 249 lwplook(look_arg_t *arg, const lwpstatus_t *psp, const lwpsinfo_t *pip) 262 if (psp == NULL) 269 flags = psp->pr_flags & LWPFLAGS; 273 (void) printf(" /%d:\tflags = %s", (int)psp->pr_lwpid, prflags(flags)); 274 if ((flags & PR_ASLEEP) || (psp->pr_syscall && 281 if (psp->pr_syscall && !(arg->pflags & PR_ISSYS)) { 285 proc_sysname(psp->pr_syscall, buf, sizeof (buf))); 286 for (i = 0; i < psp->pr_nsysarg; i++) { 289 (void) printf("0x%lx", psp->pr_sysarg[i]); 297 (void) printf("\twhy = %s", prwhy(psp->pr_why)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/mdb/ |
| mdb_proc.c | 396 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; local 401 psp->pr_flags, psp->pr_why, psp->pr_what); 409 if ((psp->pr_flags & PR_ISTOP) && psp->pr_why == PR_SYSEXIT && 410 psp->pr_errno == 0 && (psp->pr_what == SYS_exec || 411 psp->pr_what == SYS_execve)) { 425 if (mdb.m_term != NULL && (psp->pr_flags & PR_STOPPED) & 523 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 605 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; local 797 const pstatus_t *psp = Pstatus(P); local 1285 const pstatus_t *psp = Pstatus(t->t_pshandle); local 1555 const pstatus_t *psp = Pstatus(P); local 2900 pt_symarg_t *psp = arg; local 2912 pt_symarg_t *psp = arg; local 2926 pt_symarg_t *psp = arg; local 3224 const pstatus_t *psp; local 3404 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; local 3489 const lwpstatus_t *psp; local 3679 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 3739 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 3799 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 3862 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 4027 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 4065 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 4103 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 4235 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 4276 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local 5104 const pstatus_t *psp; local 5142 const psinfo_t *psp; local 5158 const pstatus_t *psp; local 5424 const pstatus_t *psp = Pstatus(t->t_pshandle); local [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/io/ |
| 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->ps_busy = csp->cs_busy 277 sbd_cmp_stat_t *psp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/ptools/pstack/ |
| pstack.c | 357 thread_call_stack(void *data, const lwpstatus_t *psp, 373 if (psp) 374 call_stack(h, psp); 390 const lwpstatus_t *psp, const lwpsinfo_t *pip) 399 if (psp) 400 call_stack(h, psp); 601 print_syscall(const lwpstatus_t *psp, prgregset_t reg) 607 (void) proc_sysname(psp->pr_syscall, sname, sizeof (sname)); 609 for (i = 0; i < psp->pr_nsysarg; i++) 610 (void) printf((i+1 == psp->pr_nsysarg)? "%lx" : "%lx, " [all...] |