Lines Matching refs:fileproc

119 struct fileproc {  struct
131 #define FILEPROC_NULL ((struct fileproc *)0) argument
163 int (*fo_read) (struct fileproc *fp, struct uio *uio,
165 int (*fo_write) (struct fileproc *fp, struct uio *uio,
169 int (*fo_ioctl)(struct fileproc *fp, u_long com,
171 int (*fo_select) (struct fileproc *fp, int which,
174 int (*fo_kqfilter) (struct fileproc *fp, struct knote *, struct kevent_qos_s *);
175 int (*fo_drain) (struct fileproc *fp, vfs_context_t ctx);
319 #pragma mark file descriptor entries (struct fileproc)
337 fp_get_data(struct fileproc *fp) in fp_get_data()
356 fp_get_data_volatile(struct fileproc *fp) in fp_get_data_volatile()
374 fp_set_data(struct fileproc *fp, void *fg_data) in fp_set_data()
407 fp_get_ftype(proc_t p, int fd, file_type_t ftype, int err, struct fileproc **fpp);
434 extern struct fileproc *
460 extern struct fileproc *
491 fp_close_and_unlock(proc_t p, int fd, struct fileproc *fp, int flags);
494 int fo_read(struct fileproc *fp, struct uio *uio, int flags, vfs_context_t ctx);
495 int fo_write(struct fileproc *fp, struct uio *uio, int flags,
497 int fo_ioctl(struct fileproc *fp, u_long com, caddr_t data, vfs_context_t ctx);
498 int fo_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx);
500 int fo_drain(struct fileproc *fp, vfs_context_t ctx);
501 int fo_kqfilter(struct fileproc *fp, struct knote *kn, struct kevent_qos_s *kev);
504 int fo_no_read(struct fileproc *fp, struct uio *uio, int flags, vfs_context_t ctx);
505 int fo_no_write(struct fileproc *fp, struct uio *uio, int flags,
507 int fo_no_ioctl(struct fileproc *fp, u_long com, caddr_t data, vfs_context_t ctx);
508 int fo_no_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx);
509 int fo_no_drain(struct fileproc *fp, vfs_context_t ctx);
510 int fo_no_kqfilter(struct fileproc *, struct knote *, struct kevent_qos_s *kev);
512 int fp_tryswap(proc_t, int fd, struct fileproc *nfp);
513 int fp_drop(struct proc *p, int fd, struct fileproc *fp, int locked);
514 void fp_free(struct proc * p, int fd, struct fileproc * fp);
515 int fp_lookup(struct proc *p, int fd, struct fileproc **resultfp, int locked);
516 int fp_isguarded(struct fileproc *fp, u_int attribs);
517 int fp_guard_exception(proc_t p, int fd, struct fileproc *fp, u_int attribs);
525 void procfdtbl_releasefd(struct proc * p, int fd, struct fileproc * fp);
526 extern struct fileproc *fileproc_alloc_init(void);
527 extern void fileproc_free(struct fileproc *fp);
528 extern void guarded_fileproc_unguard(struct fileproc *fp);
533 extern int falloc_guarded(struct proc *p, struct fileproc **fp, int *fd,
535 extern void fileproc_modify_vflags(struct fileproc *fp, fileproc_vflags_t vflags, boolean_t clearfl…
536 fileproc_vflags_t fileproc_get_vflags(struct fileproc *fp);