Lines Matching refs:td
150 #define falloc(td, resultfp, resultfd, flags) \
151 falloc_caps(td, resultfp, resultfd, flags, NULL)
161 int closef(struct file *fp, struct thread *td);
162 int dupfdopen(struct thread *td, struct filedesc *fdp, int dfd, int mode,
164 int falloc_caps(struct thread *td, struct file **resultfp, int *resultfd,
166 int falloc_noinstall(struct thread *td, struct file **resultfp);
169 int finstall(struct thread *td, struct file *fp, int *resultfd, int flags,
171 int fdalloc(struct thread *td, int minfd, int *result);
172 int fdallocn(struct thread *td, int minfd, int *fds, int n);
173 int fdcheckstd(struct thread *td);
174 void fdclose(struct thread *td, struct file *fp, int idx);
175 void fdcloseexec(struct thread *td);
176 void fdsetugidsafety(struct thread *td);
180 void fdinstall_remapped(struct thread *td, struct filedesc *fdp);
181 void fdunshare(struct thread *td);
182 void fdescfree(struct thread *td);
189 int getvnode(struct thread *td, int fd, cap_rights_t *rightsp,
195 int fget_cap(struct thread *td, int fd, cap_rights_t *needrightsp,
240 void pwd_chdir(struct thread *td, struct vnode *vp);
241 int pwd_chroot(struct thread *td, struct vnode *vp);
242 int pwd_chroot_chdir(struct thread *td, struct vnode *vp);