Lines Matching refs:fileproc
90 struct fileproc {
97 #define FILEPROC_NULL (struct fileproc *)0
145 int (*fo_read) (struct fileproc *fp, struct uio *uio,
147 int (*fo_write) (struct fileproc *fp, struct uio *uio,
151 int (*fo_ioctl) (struct fileproc *fp, u_long com,
153 int (*fo_select) (struct fileproc *fp, int which,
156 int (*fo_kqfilter) (struct fileproc *fp, struct knote *kn,
158 int (*fo_drain) (struct fileproc *fp, vfs_context_t ctx);
182 int fo_read(struct fileproc *fp, struct uio *uio, int flags, vfs_context_t ctx);
183 int fo_write(struct fileproc *fp, struct uio *uio, int flags,
185 int fo_ioctl(struct fileproc *fp, u_long com, caddr_t data, vfs_context_t ctx);
186 int fo_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx);
188 int fo_kqfilter(struct fileproc *fp, struct knote *kn, vfs_context_t ctx);
189 void fileproc_drain(proc_t, struct fileproc *);
190 int fp_drop(struct proc *p, int fd, struct fileproc *fp, int locked);
191 int fp_drop_written(proc_t p, int fd, struct fileproc *fp);
192 int fp_drop_event(proc_t p, int fd, struct fileproc *fp);
193 int fp_free(struct proc * p, int fd, struct fileproc * fp);
195 int fp_getfkq(struct proc *p, int fd, struct fileproc **resultfp, struct kqueue **resultkq);
197 int fp_getfpsem(struct proc *p, int fd, struct fileproc **resultfp, struct psemnode **resultpsem);
199 int fp_getfpshm(struct proc *p, int fd, struct fileproc **resultfp, struct pshmnode **resultpshm);
201 int fp_getfpipe(struct proc *p, int fd, struct fileproc **resultfp, struct pipe **resultpipe);
203 int fp_getfatalk(struct proc *p, int fd, struct fileproc **resultfp, struct atalk **resultatalk);
205 int fp_getfvp(struct proc *p, int fd, struct fileproc **resultfp, struct vnode **resultvp);
206 int fp_getfvpandvid(struct proc *p, int fd, struct fileproc **resultfp, struct vnode **resultvp, uint32_t * vidp);
208 int fp_getfsock(struct proc *p, int fd, struct fileproc **resultfp, struct socket **results);
209 int fp_lookup(struct proc *p, int fd, struct fileproc **resultfp, int locked);
210 int closef_locked(struct fileproc *fp, struct fileglob *fg, struct proc *p);
216 void procfdtbl_releasefd(struct proc * p, int fd, struct fileproc * fp);