Lines Matching defs:fileproc

90 struct fileproc {
97 #define FILEPROC_NULL (struct fileproc *)0
149 int (*fo_read) (struct fileproc *fp, struct uio *uio,
151 int (*fo_write) (struct fileproc *fp, struct uio *uio,
155 int (*fo_ioctl) (struct fileproc *fp, u_long com,
157 int (*fo_select) (struct fileproc *fp, int which,
160 int (*fo_kqfilter) (struct fileproc *fp, struct knote *kn,
162 int (*fo_drain) (struct fileproc *fp, vfs_context_t ctx);
183 int fo_read(struct fileproc *fp, struct uio *uio, int flags, vfs_context_t ctx);
184 int fo_write(struct fileproc *fp, struct uio *uio, int flags,
186 int fo_ioctl(struct fileproc *fp, u_long com, caddr_t data, vfs_context_t ctx);
187 int fo_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx);
189 int fo_kqfilter(struct fileproc *fp, struct knote *kn, vfs_context_t ctx);
190 void fileproc_drain(proc_t, struct fileproc *);
191 int fp_drop(struct proc *p, int fd, struct fileproc *fp, int locked);
192 int fp_drop_written(proc_t p, int fd, struct fileproc *fp);
193 int fp_drop_event(proc_t p, int fd, struct fileproc *fp);
194 int fp_free(struct proc * p, int fd, struct fileproc * fp);
196 int fp_getfkq(struct proc *p, int fd, struct fileproc **resultfp, struct kqueue **resultkq);
198 int fp_getfpsem(struct proc *p, int fd, struct fileproc **resultfp, struct psemnode **resultpsem);
200 int fp_getfpshm(struct proc *p, int fd, struct fileproc **resultfp, struct pshmnode **resultpshm);
202 int fp_getfpipe(struct proc *p, int fd, struct fileproc **resultfp, struct pipe **resultpipe);
204 int fp_getfatalk(struct proc *p, int fd, struct fileproc **resultfp, struct atalk **resultatalk);
206 int fp_getfvp(struct proc *p, int fd, struct fileproc **resultfp, struct vnode **resultvp);
207 int fp_getfvpandvid(struct proc *p, int fd, struct fileproc **resultfp, struct vnode **resultvp, uint32_t * vidp);
209 int fp_getfsock(struct proc *p, int fd, struct fileproc **resultfp, struct socket **results);
210 int fp_lookup(struct proc *p, int fd, struct fileproc **resultfp, int locked);
211 int closef_locked(struct fileproc *fp, struct fileglob *fg, struct proc *p);
217 void procfdtbl_releasefd(struct proc * p, int fd, struct fileproc * fp);
221 extern int fdgetf_noref(proc_t, int, struct fileproc **);