Lines Matching refs:uap
93 filemon_wrapper_chdir(struct thread *td, struct chdir_args *uap) in filemon_wrapper_chdir() argument
98 if ((ret = sys_chdir(td, uap)) == 0) { in filemon_wrapper_chdir()
100 if ((error = copyinstr(uap->path, filemon->fname1, in filemon_wrapper_chdir()
214 filemon_wrapper_open(struct thread *td, struct open_args *uap) in filemon_wrapper_open() argument
218 if ((ret = sys_open(td, uap)) == 0) in filemon_wrapper_open()
219 _filemon_wrapper_openat(td, uap->path, uap->flags, AT_FDCWD); in filemon_wrapper_open()
225 filemon_wrapper_openat(struct thread *td, struct openat_args *uap) in filemon_wrapper_openat() argument
229 if ((ret = sys_openat(td, uap)) == 0) in filemon_wrapper_openat()
230 _filemon_wrapper_openat(td, uap->path, uap->flag, uap->fd); in filemon_wrapper_openat()
236 filemon_wrapper_rename(struct thread *td, struct rename_args *uap) in filemon_wrapper_rename() argument
241 if ((ret = sys_rename(td, uap)) == 0) { in filemon_wrapper_rename()
243 if (((error = copyinstr(uap->from, filemon->fname1, in filemon_wrapper_rename()
245 ((error = copyinstr(uap->to, filemon->fname2, in filemon_wrapper_rename()
285 filemon_wrapper_link(struct thread *td, struct link_args *uap) in filemon_wrapper_link() argument
289 if ((ret = sys_link(td, uap)) == 0) in filemon_wrapper_link()
290 _filemon_wrapper_link(td, uap->path, uap->link); in filemon_wrapper_link()
296 filemon_wrapper_symlink(struct thread *td, struct symlink_args *uap) in filemon_wrapper_symlink() argument
300 if ((ret = sys_symlink(td, uap)) == 0) in filemon_wrapper_symlink()
301 _filemon_wrapper_link(td, uap->path, uap->link); in filemon_wrapper_symlink()
307 filemon_wrapper_linkat(struct thread *td, struct linkat_args *uap) in filemon_wrapper_linkat() argument
311 if ((ret = sys_linkat(td, uap)) == 0) in filemon_wrapper_linkat()
312 _filemon_wrapper_link(td, uap->path1, uap->path2); in filemon_wrapper_linkat()
342 filemon_wrapper_unlink(struct thread *td, struct unlink_args *uap) in filemon_wrapper_unlink() argument
347 if ((ret = sys_unlink(td, uap)) == 0) { in filemon_wrapper_unlink()
349 if ((error = copyinstr(uap->path, filemon->fname1, in filemon_wrapper_unlink()