Lines Matching refs:thread

104 		    struct thread *td, int holdleaders);
111 static int getmaxfd(struct thread *td);
173 void __read_mostly (*mq_fdclose)(struct thread *td, int fd, struct file *fp);
339 sys_getdtablesize(struct thread *td, struct getdtablesize_args *uap)
371 sys_dup2(struct thread *td, struct dup2_args *uap)
387 sys_dup(struct thread *td, struct dup_args *uap)
405 sys_fcntl(struct thread *td, struct fcntl_args *uap)
412 kern_fcntl_freebsd(struct thread *td, int fd, int cmd, long arg)
479 kern_fcntl(struct thread *td, int fd, int cmd, intptr_t arg)
699 * that the closing thread was a bit slower and that the
802 getmaxfd(struct thread *td)
812 kern_dup(struct thread *td, u_int mode, int flags, int old, int new)
1163 closefp(struct filedesc *fdp, int fd, struct file *fp, struct thread *td,
1221 sys_close(struct thread *td, struct close_args *uap)
1228 kern_close(struct thread *td, int fd)
1258 sys_closefrom(struct thread *td, struct closefrom_args *uap)
1296 ofstat(struct thread *td, struct ofstat_args *uap)
1322 sys_fstat(struct thread *td, struct fstat_args *uap)
1334 kern_fstat(struct thread *td, int fd, struct stat *sbp)
1368 sys_nfstat(struct thread *td, struct nfstat_args *uap)
1393 sys_fpathconf(struct thread *td, struct fpathconf_args *uap)
1400 kern_fpathconf(struct thread *td, int fd, int name)
1643 fdalloc(struct thread *td, int minfd, int *result)
1703 fdallocn(struct thread *td, int minfd, int *fds, int n)
1732 falloc_caps(struct thread *td, struct file **resultfp, int *resultfd, int flags,
1763 falloc_noinstall(struct thread *td, struct file **resultfp)
1822 finstall(struct thread *td, struct file *fp, int *fd, int flags,
1936 fdunshare(struct thread *td)
1950 fdinstall_remapped(struct thread *td, struct filedesc *fdp)
2059 fdclearlocks(struct thread *td)
2139 fdescfree_fds(struct thread *td, struct filedesc *fdp, bool needclose)
2172 fdescfree(struct thread *td)
2258 fdsetugidsafety(struct thread *td)
2287 * falloc() that handles the race that another thread might have closed the
2288 * file descriptor out from under the thread creating the file object.
2291 fdclose(struct thread *td, struct file *fp, int idx)
2308 fdcloseexec(struct thread *td)
2338 fdcheckstd(struct thread *td)
2379 closef(struct file *fp, struct thread *td)
2392 * aren't passed with the descriptor, and the thread pointer
2394 * NULL thread pointer when there really is no owning
2494 fget_cap(struct thread *td, int fd, cap_rights_t *needrightsp,
2587 * Force a reload. Other thread could reallocate the
2632 _fget(struct thread *td, int fd, struct file **fpp, int flags,
2680 fget(struct thread *td, int fd, cap_rights_t *rightsp, struct file **fpp)
2687 fget_mmap(struct thread *td, int fd, cap_rights_t *rightsp, vm_prot_t *maxprotp,
2722 fget_read(struct thread *td, int fd, cap_rights_t *rightsp, struct file **fpp)
2729 fget_write(struct thread *td, int fd, cap_rights_t *rightsp, struct file **fpp)
2736 fget_fcntl(struct thread *td, int fd, cap_rights_t *rightsp, int needfcntl,
2772 _fgetvp(struct thread *td, int fd, int flags, cap_rights_t *needrightsp,
2794 fgetvp(struct thread *td, int fd, cap_rights_t *rightsp, struct vnode **vpp)
2801 fgetvp_rights(struct thread *td, int fd, cap_rights_t *needrightsp,
2833 fgetvp_read(struct thread *td, int fd, cap_rights_t *rightsp, struct vnode **vpp)
2840 fgetvp_exec(struct thread *td, int fd, cap_rights_t *rightsp, struct vnode **vpp)
2848 fgetvp_write(struct thread *td, int fd, cap_rights_t *rightsp,
2860 _fdrop(struct file *fp, struct thread *td)
2889 sys_flock(struct thread *td, struct flock_args *uap)
2934 dupfdopen(struct thread *td, struct filedesc *fdp, int dfd, int mode,
3059 pwd_chroot(struct thread *td, struct vnode *vp)
3088 pwd_chdir(struct thread *td, struct vnode *vp)
3107 pwd_chroot_chdir(struct thread *td, struct vnode *vp)
3961 int flags, struct thread *td)
3969 struct thread *td)
3977 struct thread *td)
3985 struct thread *td)
4000 struct thread *td)
4007 badfo_close(struct file *fp, struct thread *td)
4015 struct thread *td)
4023 struct thread *td)
4032 struct thread *td)
4062 int flags, struct thread *td)
4070 struct thread *td)
4078 struct ucred *active_cred, struct thread *td)
4086 struct thread *td)
4101 struct thread *td)
4109 struct thread *td)
4118 struct thread *td)
4139 fdopen(struct cdev *dev, int mode, int type, struct thread *td)