Searched refs:psp (Results 1 - 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/uts/common/os/
H A Dprocset.c69 * 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/uts/sun4u/sys/
H A Dupa64s.h167 #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, fm
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPgcore.c177 const lwpsinfo_t *lip, prstatus_t *psp)
179 bzero(psp, sizeof (*psp));
182 psp->pr_flags = 0x0001;
184 psp->pr_flags = 0x0002;
186 psp->pr_flags = 0x0004;
188 psp->pr_flags = 0x0008;
190 psp->pr_flags = 0x0010;
192 psp->pr_flags = 0x0020;
198 psp
176 mkprstatus(struct ps_prochandle *P, const lwpstatus_t *lsp, const lwpsinfo_t *lip, prstatus_t *psp) argument
251 mkprpsinfo(struct ps_prochandle *P, prpsinfo_t *psp) argument
301 mkprstatus32(struct ps_prochandle *P, const lwpstatus_t *lsp, const lwpsinfo_t *lip, prstatus32_t *psp) argument
376 mkprpsinfo32(struct ps_prochandle *P, prpsinfo32_t *psp) argument
[all...]
H A Dproc_arg.c131 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...]
H A Dproc_get_info.c165 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 DPstack.h49 int load_uclist(uclist_t *ucl, const lwpstatus_t *psp);
/illumos-gate/usr/src/uts/sun4/sys/
H A Debus.h199 #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, fm
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/sys/
H A Dacebus.h184 #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, fm
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dprocset.c52 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 Dtext.c22 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/uts/common/sys/
H A Dprocset.h133 #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);
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dlemon.c1903 static void parseonetoken(psp)
1904 struct pstate *psp;
1907 x = Strsafe(psp->tokenstart); /* Save the token permanently */
1909 printf("%s:%d: Token=[%s] state=%d\n",psp->filename,psp->tokenlineno,
1910 x,psp->state);
1912 switch( psp->state ){
1914 psp->prevrule = 0;
1915 psp->preccounter = 0;
1916 psp
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c227 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
805 file_end(struct parse_state *psp) argument
839 dispatch_keyword(struct parse_state *psp, const char *keybuf) argument
914 my_getenv(struct parse_state *psp, char *estr) argument
936 env_replace(struct parse_state *psp, char *keybuf, char kwstate) argument
984 getkeyword(struct parse_state *psp, char *keybuf, int keymax, int (*nextchr)(void *), void *arg, int flag) argument
1165 parse_from_file(struct parse_state *psp) argument
1189 parse_file(struct parse_state *psp, const char *fname) argument
1205 parse_arg_list(struct parse_state *psp, int argc, char **argv) argument
1281 get_unique_devs(struct parse_state *psp) argument
1323 organize_state(struct parse_state *psp) argument
1578 get_device_list(struct parse_state *psp, int tunfd) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/libproc/
H A Dlibproc.c181 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/uts/common/syscall/
H A Dsigsendset.c47 sigsendsys(procset_t *psp, int sig) argument
62 if (copyin((caddr_t)psp, (caddr_t)&set, sizeof (procset_t)))
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c414 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/uts/i86pc/io/dr/
H A Ddr_cpu.c635 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/ngdr/io/
H A Ddr_cpu.c698 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/libast/common/misc/
H A Doptget.c413 pop(register Push_t* psp) argument
417 while (tsp = psp)
419 psp = psp->next;
1017 info(Push_t* psp, char* s, char* e, Sfio_t* ip, char* id) argument
1035 tsp->next = psp;
1046 localize(Push_t* psp, char* s, char* e, int term, int n, Sfio_t* ip, int version, char* id, char* catalog) argument
1084 tsp->next = psp;
1110 Push_t* psp = 0; local
1161 (tsp = localize(psp,
1597 Push_t* psp = 0; local
2147 Push_t* psp = 0; local
3909 Push_t* psp; local
[all...]
/illumos-gate/usr/src/cmd/ptools/pflags/
H A Dpflags.c260 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/cmd/lp/cmd/lpsched/
H A Dfncs.c186 free_pstatus(PSTATUS *psp) argument
188 if (psp != NULL) {
189 if (psp->alert != NULL)
190 free_alert(psp->alert);
191 if (psp->exec != NULL)
192 free_exec(psp->exec);
193 if (psp->fault_exec != NULL)
194 free_exec(psp->fault_exec);
195 if (psp->printer != NULL)
196 freeprinter(psp
[all...]
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprioctl.c906 prpsinfo_t *psp = &un.prps; local
908 oprgetpsinfo(p, psp,
1494 oprgetpsinfo32(proc_t *p, prpsinfo32_t *psp, kthread_t *tp) argument
1508 bzero(psp, sizeof (*psp));
1544 psp->pr_state = state;
1545 psp->pr_sname = c;
1546 psp->pr_zomb = (state == SZOMB);
1551 psp->pr_flag = p->p_flag & (SSYS | SMSACCT);
1555 psp
2528 prpsinfo32_t *psp = &un32.prps; local
3333 oprgetpsinfo(proc_t *p, prpsinfo_t *psp, kthread_t *tp) argument
[all...]
H A Dprsubr.c2219 prgetpsinfo(proc_t *p, psinfo_t *psp) argument
2228 bzero(psp, sizeof (*psp));
2231 bzero(psp, sizeof (*psp) - sizeof (psp->pr_lwp));
2238 psp->pr_flag = p->p_flag & (SSYS | SMSACCT);
2239 psp->pr_nlwp = p->p_lwpcnt;
2240 psp->pr_nzomb = p->p_zombcnt;
2243 psp
2352 prgetpsinfo32(proc_t *p, psinfo32_t *psp) argument
2498 prgetlwpsinfo(kthread_t *t, lwpsinfo_t *psp) argument
2564 prgetlwpsinfo32(kthread_t *t, lwpsinfo32_t *psp) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1012 gcore_prgetlwpsinfo(uintptr_t t_addr, mdb_kthread_t *t, lwpsinfo_t *psp) argument
1019 bzero(psp, sizeof (*psp));
1021 psp->pr_flag = 0; /* lwpsinfo_t.pr_flag is deprecated */
1022 psp->pr_lwpid = t->t_tid;
1023 psp->pr_addr = t_addr;
1024 psp->pr_wchan = (uintptr_t)t->t_wchan;
1037 psp->pr_state = state;
1038 psp->pr_sname = c;
1039 psp
1754 Ppsinfo_gcore(struct ps_prochandle *P, psinfo_t *psp, void *data) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c409 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; local
414 psp->pr_flags, psp->pr_why, psp->pr_what);
422 if ((psp->pr_flags & PR_ISTOP) && psp->pr_why == PR_SYSEXIT &&
423 psp->pr_errno == 0 && psp->pr_what == SYS_execve) {
437 if (mdb.m_term != NULL && (psp->pr_flags & PR_STOPPED) &&
438 psp
532 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
614 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; local
801 const pstatus_t *psp = Pstatus(P); local
1157 pt_print_lwpid(int *n, const lwpstatus_t *psp) argument
1289 const pstatus_t *psp = Pstatus(t->t_pshandle); local
1495 pt_print_reason(const lwpstatus_t *psp) argument
1566 const pstatus_t *psp = Pstatus(P); local
2187 pt_agent_check(boolean_t *agent, const lwpstatus_t *psp) argument
2931 pt_symarg_t *psp = arg; local
2943 pt_symarg_t *psp = arg; local
2957 pt_symarg_t *psp = arg; local
3255 const pstatus_t *psp; local
3435 const lwpstatus_t *psp = &Pstatus(P)->pr_lwp; local
3520 const lwpstatus_t *psp; local
3710 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
3770 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
3830 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
3893 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
4058 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
4096 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
4134 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
4266 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
4307 const lwpstatus_t *psp = &Pstatus(t->t_pshandle)->pr_lwp; local
4619 pt_stack_call(pt_stkarg_t *psp, const prgregset_t grs, uint_t argc, long *argv) argument
4742 pt_lwp_add(mdb_addrvec_t *ap, const lwpstatus_t *psp) argument
5153 const pstatus_t *psp; local
5191 const psinfo_t *psp; local
5207 const pstatus_t *psp; local
5473 const pstatus_t *psp = Pstatus(t->t_pshandle); local
[all...]

Completed in 121 milliseconds

123