Searched refs:proc (Results 176 - 200 of 323) sorted by relevance

1234567891011>>

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dtypes.h301 struct proc;
H A Duser.h155 struct proc * uu_proc;
166 TAILQ_ENTRY(uthread) uu_list; /* List of uthreads in proc */
242 #define UT_PROCEXIT 0x00000200 /* this thread completed the proc exit */
H A DMakefile43 proc.h proc_info.h ptrace.h queue.h quota.h random.h reboot.h resource.h resourcevar.h \
79 proc.h queue.h quota.h random.h resource.h resourcevar.h \
H A Ddtrace_glue.h64 * pid/proc
67 typedef struct proc SUN_PROC_T; /* Solaris proc_t is the struct. Darwin's proc_t is a pointer to it. */
69 #define curproc ((struct proc *)current_proc()) /* Called from probe context, must blacklist */
416 * proc
H A Dsocketvar.h378 struct proc *sopt_p; /* calling process or null if kernel */
518 extern int soioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p);
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_support.h52 #include <sys/proc.h>
H A Dkpi_vfs.c1110 proc_t proc = vfs_context_proc(ctx); local
1112 if (proc)
1113 return(proc_is64bit(proc));
1144 proc_t proc = NULL; local
1147 proc = (proc_t)get_bsdthreadtask_info(ctx->vc_thread);
1148 if (proc != NULL && (proc->p_fd == NULL || (proc->p_lflag & P_LVFORK)))
1149 proc = NULL;
1151 return(proc
1247 proc_t proc; local
1835 proc_t proc = current_proc(); local
[all...]
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_file.c40 #include <sys/proc.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_proc.c368 struct proc * p;
563 panic("proc being freed and still in hash %x: %x\n", (unsigned int)p, (unsigned int)p->p_listflag);
565 panic("proc being freed and pending children cnt %x:%x\n", (unsigned int)p, (unsigned int)p->p_childrencnt);
567 panic("proc being freed and pending refcount %x:%x\n", (unsigned int)p, (unsigned int)p->p_refcount);
569 panic("proc being freed and pending parentrefs %x:%x\n", (unsigned int)p, (unsigned int)p->p_parentref);
744 proc_thread(proc_t proc) argument
746 uthread_t uth = TAILQ_FIRST(&proc->p_uthlist);
948 /* mark the completion of proc creation */
1492 * Call with proc protected (either by being invisible
1964 struct proc * paren
[all...]
H A Dsubr_prf.c165 struct proc *p = current_proc();
187 tprintf_open(struct proc *p)
H A Dkern_credential.c392 identitysvc(__unused struct proc *p, struct identitysvc_args *uap, __unused register_t *retval)
2458 struct proc *p;
2484 * Description: Given a uthread, a proc, and whether or not the proc is locked,
2485 * late-bind the uthread cred to the proc cred.
2499 kauth_cred_uthread_update(uthread_t uthread, proc_t proc) argument
2501 if (uthread->uu_ucred != proc->p_ucred &&
2504 uthread->uu_ucred = kauth_cred_proc_ref(proc);
2538 struct proc *procp;
3296 int kauth_proc_label_update(struct proc *
[all...]
H A Dkern_authorization.c135 extern int cansignal(struct proc *, kauth_cred_t, struct proc *, int, int);
469 kauth_authorize_process(kauth_cred_t credential, kauth_action_t action, struct proc *process, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3)
485 if (cansignal(current_proc(), credential, (struct proc *)arg0, (int)arg1, 0))
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_icmp.c1007 int rip_bind(struct socket *, struct sockaddr *, struct proc *);
1008 int rip_connect(struct socket *, struct sockaddr *, struct proc *);
1013 __private_extern__ int icmp_dgram_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *nam, struct mbuf *control, struct proc *p);
1014 __private_extern__ int icmp_dgram_attach(struct socket *so, int proto, struct proc *p);
1027 icmp_dgram_attach(struct socket *so, __unused int proto, struct proc *p)
1100 struct mbuf *control, struct proc *p)
H A Dudp_usrreq.c207 struct mbuf *, struct proc *);
1001 struct proc *p;
1232 udp_attach(struct socket *so, __unused int proto, struct proc *p)
1254 udp_bind(struct socket *so, struct sockaddr *nam, struct proc *p)
1271 udp_connect(struct socket *so, struct sockaddr *nam, struct proc *p)
1319 struct mbuf *control, struct proc *p)
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_attrlist.c61 struct cat_attr * cap, struct proc *p);
104 struct proc *p = vfs_context_proc(ap->a_context);
410 struct proc *p)
518 struct proc *p)
972 struct mount *mp, kauth_cred_t cred, __unused struct proc *p)
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/
H A Ddevfs_vnops.c92 #include <sys/proc.h>
160 struct proc *p = vfs_context_proc(ctx);
338 struct proc *a_p;
969 struct proc *p = vfs_context_proc(ctx);
1037 struct proc *p = vfs_context_proc(ctx);
1086 struct proc *p = vfs_context_proc(ctx);
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/
H A Dsynthfs_vnops.c44 #include <sys/proc.h>
217 IN struct proc *p;
300 int synthfs_chmod(struct vnode *vp, int mode, kauth_cred_t cred, struct proc *p)
321 int synthfs_chflags(struct vnode *vp, u_long flags, kauth_cred_t cred, struct proc *p)
337 int synthfs_chown(struct vnode *vp, uid_t uid, gid_t gid, kauth_cred_t cred, struct proc *p)
385 struct proc *p = vfs_context_proc(ap->a_context);
772 struct proc *a_p;
1021 // struct proc *p = cnp->cn_proc;
1261 IN struct proc *p;
1314 struct vnop_reclaim_args /* { struct vnode *a_vp; struct proc *a_
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dndrv.c63 #include <sys/proc.h>
206 ndrv_attach(struct socket *so, int proto, __unused struct proc *p)
268 ndrv_connect(struct socket *so, struct sockaddr *nam, __unused struct proc *p)
315 ndrv_bind(struct socket *so, struct sockaddr *nam, __unused struct proc *p)
420 __unused struct proc *p)
H A Drtsock.c68 #include <sys/proc.h>
144 rts_attach(struct socket *so, int proto, __unused struct proc *p)
197 rts_bind(struct socket *so, struct sockaddr *nam, struct proc *p)
205 rts_connect(struct socket *so, struct sockaddr *nam, struct proc *p)
265 struct mbuf *control, struct proc *p)
310 struct proc *curproc = current_proc();
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/
H A Dufs_quota.c71 #include <sys/proc.h>
136 struct proc *p;
272 struct proc *p;
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_node.c80 #include <sys/proc.h>
190 cd9660_ihashget(dev_t device, ino_t inum, __unused struct proc *p)
H A Dcd9660_util.c84 #include <sys/proc.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Din6_src.c78 #include <sys/proc.h>
355 struct proc *p,
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/
H A Dffs_vfsops.c68 #include <sys/proc.h>
143 struct proc *p = current_proc(); /* XXX */
165 struct proc *p = vfs_context_proc(context);
261 struct proc *p;
329 ffs_reload(struct mount *mountp, kauth_cred_t cred, struct proc *p)
787 struct proc *p = vfs_context_proc(context);
831 struct proc *p;
1255 struct proc *p = current_proc(); /* XXX */
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dsavearea_asm.s49 * r10 = per-proc ptr
362 std r5,tempr0(r10) ; save r0 in per-proc across call to saveGet64
372 stw r5,tempr0+4(r10) ; save r0 in per-proc across call to saveGet32
418 mfsprg r10,0 ; get the per-proc ptr
437 mfsprg r10,0 ; get the per-proc ptr
453 * r10 = per-proc ptr
494 ; r10 = per-proc ptr
545 ; r10 = per-proc ptr
596 * r10 = per-proc ptr
634 ; r10 = per-proc pt
[all...]

Completed in 136 milliseconds

1234567891011>>