Lines Matching refs:proc_t
114 int fdopen(dev_t dev, int mode, int type, proc_t p);
115 int finishdup(proc_t p, struct filedesc *fdp, int old, int new, register_t *retval);
117 int falloc_locked(proc_t p, struct fileproc **resultfp, int *resultfd, vfs_context_t ctx, int locked);
118 int fdgetf_noref(proc_t p, int fd, struct fileproc **resultfp);
127 static int closef_finish(struct fileproc *fp, struct fileglob *fg, proc_t p, vfs_context_t ctx);
140 extern int kqueue_stat(struct fileproc *fp, void *ub, int isstat4, proc_t p);
214 proc_fdlock(proc_t p)
220 proc_fdlock_spin(proc_t p)
226 proc_fdlock_assert(proc_t p, int assertflags)
242 proc_fdunlock(proc_t p)
267 getdtablesize(proc_t p, __unused struct getdtablesize_args *uap, register_t *retval)
374 dup(proc_t p, struct dup_args *uap, register_t *retval)
416 dup2(proc_t p, struct dup2_args *uap, register_t *retval)
521 fcntl(proc_t p, struct fcntl_args *uap, register_t *retval)
582 fcntl_nocancel(proc_t p, struct fcntl_nocancel_args *uap, register_t *retval)
709 proc_t p1 = proc_find(tmp);
1644 finishdup(proc_t p, struct filedesc *fdp, int old, int new, register_t *retval)
1723 close(proc_t p, struct close_args *uap, register_t *retval)
1731 close_nocancel(proc_t p, struct close_nocancel_args *uap, __unused register_t *retval)
1778 close_internal_locked(proc_t p, int fd, struct fileproc *fp, int flags)
1901 fstat1(proc_t p, int fd, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size, int isstat64)
2054 fstat_extended(proc_t p, struct fstat_extended_args *uap, __unused register_t *retval)
2073 fstat(proc_t p, register struct fstat_args *uap, __unused register_t *retval)
2096 fstat64_extended(proc_t p, struct fstat64_extended_args *uap, __unused register_t *retval)
2116 fstat64(proc_t p, register struct fstat64_args *uap, __unused register_t *retval)
2142 fpathconf(proc_t p, struct fpathconf_args *uap, register_t *retval)
2226 fdalloc(proc_t p, int want, int *result)
2327 fdavail(proc_t p, int n)
2359 fdrelse(proc_t p, int fd)
2388 fdgetf_noref(proc_t p, int fd, struct fileproc **resultfp)
2432 fp_getfvp(proc_t p, int fd, struct fileproc **resultfp, struct vnode **resultvp)
2490 fp_getfvpandvid(proc_t p, int fd, struct fileproc **resultfp,
2547 fp_getfsock(proc_t p, int fd, struct fileproc **resultfp,
2602 fp_getfkq(proc_t p, int fd, struct fileproc **resultfp,
2659 fp_getfpshm(proc_t p, int fd, struct fileproc **resultfp,
2726 fp_getfpsem(proc_t p, int fd, struct fileproc **resultfp,
2781 fp_getfpipe(proc_t p, int fd, struct fileproc **resultfp,
2841 fp_getfatalk(proc_t p, int fd, struct fileproc **resultfp,
2895 fp_lookup(proc_t p, int fd, struct fileproc **resultfp, int locked)
2940 fp_drop_written(proc_t p, int fd, struct fileproc *fp)
2976 fp_drop_event(proc_t p, int fd, struct fileproc *fp)
3016 fp_drop(proc_t p, int fd, struct fileproc *fp, int locked)
3084 proc_t p = current_proc();
3142 proc_t p = current_proc();
3190 proc_t p = current_proc();
3247 proc_t p = current_proc();
3304 falloc(proc_t p, struct fileproc **resultfp, int *resultfd, vfs_context_t ctx)
3359 falloc_locked(proc_t p, struct fileproc **resultfp, int *resultfd,
3515 fdexec(proc_t p)
3584 fdcopy(proc_t p, vnode_t uth_cdir)
3781 fdfree(proc_t p)
3870 closef_finish(struct fileproc *fp, struct fileglob *fg, proc_t p, vfs_context_t ctx)
3915 closef_locked(struct fileproc *fp, struct fileglob *fg, proc_t p)
4011 fileproc_drain(proc_t p, struct fileproc * fp)
4055 fp_free(proc_t p, int fd, struct fileproc * fp)
4091 flock(proc_t p, struct flock_args *uap, __unused register_t *retval)
4174 proc_t p = current_proc();