HomeSort by: relevance | last modified time | path
    Searched refs:file_t (Results 1 - 25 of 72) sorted by relevancy

1 2 3

  /src/sys/sys/
filedesc.h 209 int fd_allocfile(file_t **, int *);
210 void fd_affix(struct proc *, file_t *, unsigned);
211 void fd_abort(struct proc *, file_t *, unsigned);
220 file_t *fd_getfile(unsigned);
221 file_t *fd_getfile2(proc_t *, unsigned);
223 int fd_getvnode(unsigned, file_t **);
225 int fd_getsock1(unsigned, struct socket **, file_t **);
229 int fd_dup(file_t *, int, int *, bool, bool);
230 int fd_dup2(file_t *, unsigned, int);
231 int fd_clone(file_t *, unsigned, int, const struct fileops *, void *)
    [all...]
socketvar.h 261 int soo_read(file_t *, off_t *, struct uio *, kauth_cred_t, int);
262 int soo_write(file_t *, off_t *, struct uio *, kauth_cred_t, int);
263 int soo_fcntl(file_t *, u_int cmd, void *);
264 int soo_ioctl(file_t *, u_long cmd, void *);
265 int soo_poll(file_t *, int);
266 int soo_kqfilter(file_t *, struct knote *);
267 int soo_close(file_t *);
268 int soo_stat(file_t *, struct stat *);
269 void soo_restart(file_t *);
309 int fsocreate(int, struct socket **, int, int, int *, file_t **,
    [all...]
  /src/sys/kern/
sys_memfd.c 54 static int memfd_read(file_t *, off_t *, struct uio *, kauth_cred_t, int);
55 static int memfd_write(file_t *, off_t *, struct uio *, kauth_cred_t, int);
56 static int memfd_ioctl(file_t *, u_long, void *);
57 static int memfd_fcntl(file_t *, u_int, void *);
58 static int memfd_stat(file_t *, struct stat *);
59 static int memfd_close(file_t *);
60 static int memfd_mmap(file_t *, off_t *, size_t, int, int *, int *,
62 static int memfd_seek(file_t *, off_t, int, off_t *, int);
63 static int memfd_truncate_locked(file_t *, off_t);
64 static int memfd_truncate(file_t *, off_t)
    [all...]
sys_eventfd.c 208 eventfd_fop_read(file_t * const fp, off_t * const offset,
248 eventfd_fop_write(file_t * const fp, off_t * const offset,
299 eventfd_ioctl(file_t * const fp, u_long const cmd, void * const data)
332 eventfd_fop_poll(file_t * const fp, int const events)
372 eventfd_fop_stat(file_t * const fp, struct stat * const st)
394 eventfd_fop_close(file_t * const fp)
407 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd;
418 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd;
446 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd;
457 struct eventfd * const efd = ((file_t *)kn->kn_obj)->f_eventfd
    [all...]
sys_timerfd.c 263 timerfd_fop_read(file_t * const fp, off_t * const offset,
303 timerfd_fop_ioctl(file_t * const fp, unsigned long const cmd, void * const data)
337 timerfd_fop_poll(file_t * const fp, int const events)
356 timerfd_fop_stat(file_t * const fp, struct stat * const st)
380 timerfd_fop_close(file_t * const fp)
393 struct timerfd * const tfd = ((file_t *)kn->kn_obj)->f_timerfd;
404 struct timerfd * const tfd = ((file_t *)kn->kn_obj)->f_timerfd;
430 timerfd_fop_kqfilter(file_t * const fp, struct knote * const kn)
432 struct timerfd * const tfd = ((file_t *)kn->kn_obj)->f_timerfd;
455 timerfd_fop_restart(file_t * const fp
    [all...]
sys_socket.c 107 soo_read(file_t *fp, off_t *offset, struct uio *uio, kauth_cred_t cred,
120 soo_write(file_t *fp, off_t *offset, struct uio *uio, kauth_cred_t cred,
132 soo_ioctl(file_t *fp, u_long cmd, void *data)
232 soo_poll(file_t *fp, int events)
239 soo_stat(file_t *fp, struct stat *ub)
256 soo_close(file_t *fp)
268 soo_restart(file_t *fp)
sys_pipe.c 82 static int pipe_read(file_t *, off_t *, struct uio *, kauth_cred_t, int);
83 static int pipe_write(file_t *, off_t *, struct uio *, kauth_cred_t, int);
84 static int pipe_close(file_t *);
85 static int pipe_poll(file_t *, int);
86 static int pipe_kqfilter(file_t *, struct knote *);
87 static int pipe_stat(file_t *, struct stat *);
88 static int pipe_ioctl(file_t *, u_long, void *);
89 static void pipe_restart(file_t *);
90 static int pipe_fpathconf(file_t *, int, register_t *);
91 static int pipe_posix_fadvise(file_t *, off_t, off_t, int)
    [all...]
uipc_usrreq.c 185 static void unp_discard_later(file_t *);
186 static void unp_discard_now(file_t *);
190 static void unp_mark(file_t *);
191 static void unp_scan(struct mbuf *, void (*)(file_t *), int);
1412 file_t **rp;
1416 sizeof(file_t *);
1424 rp = (file_t **)CMSG_DATA(cm);
1426 file_t * const fp = *rp++;
1479 rp = (file_t **)CMSG_DATA(cm);
1482 file_t * const fp = *rp++
    [all...]
kern_descrip.c 121 static void fill_file2(struct kinfo_file *, const file_t *, const fdfile_t *,
155 file_cache = pool_cache_init(sizeof(file_t), coherency_unit, 0,
353 file_t *
358 file_t *fp;
506 fd_getvnode(unsigned fd, file_t **fpp)
509 file_t *fp;
534 fd_getsock1(unsigned fd, struct socket **sop, file_t **fp)
551 file_t *fp;
566 file_t *
571 file_t *fp
    [all...]
vfs_vnops.c 111 static int vn_read(file_t *fp, off_t *offset, struct uio *uio,
113 static int vn_write(file_t *fp, off_t *offset, struct uio *uio,
115 static int vn_closefile(file_t *fp);
116 static int vn_poll(file_t *fp, int events);
117 static int vn_fcntl(file_t *fp, u_int com, void *data);
118 static int vn_statfile(file_t *fp, struct stat *sb);
119 static int vn_ioctl(file_t *fp, u_long com, void *data);
126 static int vn_truncate(file_t *, off_t);
577 vn_readdir(file_t *fp, char *bf, int segflg, u_int count, int *done,
646 vn_read(file_t *fp, off_t *offset, struct uio *uio, kauth_cred_t cred
    [all...]
subr_exec_fd.c 50 file_t *fp;
86 file_t *fp;
kern_ktrace_vfs.c 94 file_t *fp = NULL;
sys_descrip.c 109 file_t *fp;
129 file_t *fp;
179 fcntl_forfs(int fd, file_t *fp, int cmd, void *arg)
334 file_t *fp;
551 file_t *fp;
596 file_t *fp;
679 file_t *fp;
uipc_sem.c 115 static int ksem_close_fop(file_t *);
116 static int ksem_stat_fop(file_t *, struct stat *);
117 static int ksem_read_fop(file_t *, off_t *, struct uio *,
417 file_t *fp = fd_getfile(fd);
562 file_t *fp;
646 file_t *fp;
789 ksem_read_fop(file_t *fp, off_t *offset, struct uio *uio, kauth_cred_t cred,
806 ksem_stat_fop(file_t *fp, struct stat *ub)
836 ksem_close_fop(file_t *fp)
1079 file_t *fp __diagused = fd_getfile(fd)
    [all...]
kern_event.c 87 static int kqueue_scan(file_t *, size_t, struct kevent *,
91 static int kqueue_ioctl(file_t *, u_long, void *);
92 static int kqueue_fcntl(file_t *, u_int, void *);
93 static int kqueue_poll(file_t *, int);
94 static int kqueue_kqfilter(file_t *, struct knote *);
95 static int kqueue_stat(file_t *, struct stat *);
96 static int kqueue_close(file_t *);
97 static void kqueue_restart(file_t *);
98 static int kqueue_fpathconf(file_t *, int, register_t *);
857 file_t *fp
    [all...]
subr_kcov.c 73 static int kcov_fops_ioctl(file_t *, u_long, void *);
74 static int kcov_fops_close(file_t *);
75 static int kcov_fops_mmap(file_t *, off_t *, size_t, int, int *, int *,
465 kcov_fops_close(file_t *fp)
485 kcov_fops_ioctl(file_t *fp, u_long cmd, void *addr)
520 kcov_fops_mmap(file_t *fp, off_t *offp, size_t size, int prot, int *flagsp,
  /src/sys/modules/examples/pollpal/
pollpal.c 75 static int pollpal_close(file_t *);
76 static int pollpal_write(file_t *, off_t *, struct uio *, kauth_cred_t,
78 static int pollpal_read(file_t *, off_t *, struct uio *, kauth_cred_t,
80 static int pollpal_poll(file_t *, int);
148 pollpal_close(file_t * fp)
171 pollpal_write(file_t *fp, off_t *offset, struct uio *uio, kauth_cred_t cred,
216 pollpal_read(file_t *fp, off_t *offset, struct uio *uio, kauth_cred_t cred,
  /src/sys/dev/putter/
putter.c 198 static int putter_fop_read(file_t *, off_t *, struct uio *,
200 static int putter_fop_write(file_t *, off_t *, struct uio *,
202 static int putter_fop_ioctl(file_t*, u_long, void *);
203 static int putter_fop_poll(file_t *, int);
204 static int putter_fop_stat(file_t *, struct stat *);
205 static int putter_fop_close(file_t *);
206 static int putter_fop_kqfilter(file_t *, struct knote *);
223 putter_fop_read(file_t *fp, off_t *off, struct uio *uio,
270 putter_fop_write(file_t *fp, off_t *off, struct uio *uio,
323 putter_fop_poll(file_t *fp, int events
    [all...]
  /src/sys/compat/linux/common/
linux_blkio.c 69 file_t *fp;
70 int (*ioctlf)(file_t *, u_long, void *);
linux_mtio.c 77 file_t *fp;
80 int (*ioctlf)(file_t *, u_long, void *);
linux_inotify.c 138 static int inotify_readdir(file_t *, struct dirent *, int *, bool);
147 static int inotify_read(file_t *, off_t *, struct uio *, kauth_cred_t, int);
148 static int inotify_close(file_t *);
149 static int inotify_poll(file_t *, int);
150 static int inotify_kqfilter(file_t *, struct knote *);
151 static void inotify_restart(file_t *);
275 file_t *fp;
423 file_t *fp, *wp, *cur_fp;
618 file_t *wp;
668 file_t *fp
    [all...]
linux_fdio.c 70 file_t *fp;
72 int (*ioctlf)(file_t *, u_long, void *);
  /src/sys/miscfs/procfs/
procfs_fd.c 50 file_t *fp;
  /src/sys/net/
if_tap.c 128 static int tap_fops_close(file_t *);
129 static int tap_fops_read(file_t *, off_t *, struct uio *,
131 static int tap_fops_write(file_t *, off_t *, struct uio *,
133 static int tap_fops_ioctl(file_t *, u_long, void *);
134 static int tap_fops_poll(file_t *, int);
135 static int tap_fops_stat(file_t *, struct stat *);
136 static int tap_fops_kqfilter(file_t *, struct knote *);
718 file_t *fp;
765 tap_fops_close(file_t *fp)
832 tap_fops_read(file_t *fp, off_t *offp, struct uio *uio
    [all...]
if_gre.h 104 file_t * volatile sc_fp;

Completed in 120 milliseconds

1 2 3