Searched refs:curproc (Results 1 - 12 of 12) sorted by relevance

/xnu-2422.115.4/bsd/dev/dtrace/scripts/
H A Ddarwin.d29 inline struct proc * curproc =
33 #pragma D binding "1.0" curproc
293 pr_state = curproc->p_stat;
294 pr_sname = (curproc->p_stat == SIDL) ? 'I' :
295 (curproc->p_stat == SRUN) ? 'R' :
296 (curproc->p_stat == SSLEEP) ? 'S' :
297 (curproc->p_stat == SSTOP) ? 'T' :
298 (curproc->p_stat == SZOMB) ? 'Z' : '?';
311 inline psinfo_t *curpsinfo = xlate <psinfo_t *> (curproc);
319 /* XXX Really want vn_getpath(curproc
[all...]
H A Dio.d241 (fd >= 0 && fd <= curproc->p_fd->fd_lastfile) ?
242 (struct fileglob *)(curproc->p_fd->fd_ofiles[fd]->f_fglob) :
/xnu-2422.115.4/bsd/dev/i386/
H A Dinstr_size.c136 curproc->p_model, NULL));
H A Dfasttrap_isa.c832 proc_t *p = curproc;
/xnu-2422.115.4/bsd/kern/
H A Dkern_pcsamples.c235 struct proc *p, *curproc; local
239 curproc = current_proc();
240 if (curproc)
241 curpid = curproc->p_pid;
H A Dkdebug.c1016 struct proc *curproc; local
1075 curproc = current_proc();
1077 if ((curproc && !(curproc->p_kdebug)) &&
1086 curproc = current_proc();
1088 if ((curproc && curproc->p_kdebug) &&
2268 proc_t p, curproc; local
2358 if ((curproc = current_proc()) != NULL)
2359 curpid = curproc
[all...]
/xnu-2422.115.4/bsd/sys/
H A Ddtrace_glue.h67 #define curproc ((struct proc *)current_proc()) /* Called from probe context, must blacklist */ macro
/xnu-2422.115.4/bsd/miscfs/specfs/
H A Dspec_vnops.c1925 proc_t curproc = current_proc(); local
1943 if ((curproc != NULL) && ((curproc->p_flag & P_DELAYIDLESLEEP) == P_DELAYIDLESLEEP))
/xnu-2422.115.4/bsd/dev/dtrace/
H A Ddtrace.c6869 curproc->p_dtrace_helpers != NULL) {
12228 if (INGLOBALZONE(curproc) ||
14755 dtrace_helpers_t *helpers = curproc->p_dtrace_helpers;
14861 proc_t *p = curproc;
14990 help = curproc->p_dtrace_helpers;
15139 help = curproc->p_dtrace_helpers;
15445 if ((help = curproc->p_dtrace_helpers) == NULL)
15446 help = dtrace_helpers_create(curproc);
15551 dtrace_helper_provider_register(curproc, help, dhp);
16000 proc_t *p = curproc;
[all...]
H A Dfasttrap.c1036 if ((curproc->p_flag & SFORKING) == 0)
1043 * Confirm that curproc is indeed forking the process in which
1047 //ASSERT(p->p_parent == curproc);
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_subr.c3725 proc_t curproc = current_proc(); local
3791 if ((curproc->p_flag & P_DEPENDENCY_CAPABLE) == 0 || vp->v_mount == NULL ||
3829 if ((curproc->p_flag & P_DEPENDENCY_CAPABLE) == 0 || vp->v_mount == NULL ||
/xnu-2422.115.4/bsd/netkey/
H A Dkey.c8014 if (curproc && curproc->p_cred)
8015 id->sadb_ident_id = curproc->p_cred->p_ruid;

Completed in 192 milliseconds