Lines Matching refs:uap

78 sys_extattrctl(struct thread *td, struct extattrctl_args *uap)  in sys_extattrctl()  argument
86 AUDIT_ARG_CMD(uap->cmd); in sys_extattrctl()
87 AUDIT_ARG_VALUE(uap->attrnamespace); in sys_extattrctl()
92 if (uap->attrname != NULL) { in sys_extattrctl()
93 error = copyinstr(uap->attrname, attrname, sizeof(attrname), in sys_extattrctl()
102 if (uap->filename != NULL) { in sys_extattrctl()
104 uap->filename); in sys_extattrctl()
114 uap->path); in sys_extattrctl()
145 error = VFS_EXTATTRCTL(mp, uap->cmd, filename_vp, uap->attrnamespace, in sys_extattrctl()
146 uap->attrname != NULL ? attrname : NULL); in sys_extattrctl()
231 sys_extattr_set_fd(struct thread *td, struct extattr_set_fd_args *uap) in sys_extattr_set_fd() argument
236 error = copyinstr(uap->attrname, attrname, sizeof(attrname), NULL); in sys_extattr_set_fd()
239 return (kern_extattr_set_fd(td, uap->fd, uap->attrnamespace, in sys_extattr_set_fd()
240 attrname, uap->data, uap->nbytes)); in sys_extattr_set_fd()
277 sys_extattr_set_file(struct thread *td, struct extattr_set_file_args *uap) in sys_extattr_set_file() argument
280 return (user_extattr_set_path(td, uap->path, uap->attrnamespace, in sys_extattr_set_file()
281 uap->attrname, uap->data, uap->nbytes, FOLLOW)); in sys_extattr_set_file()
294 sys_extattr_set_link(struct thread *td, struct extattr_set_link_args *uap) in sys_extattr_set_link() argument
297 return (user_extattr_set_path(td, uap->path, uap->attrnamespace, in sys_extattr_set_link()
298 uap->attrname, uap->data, uap->nbytes, NOFOLLOW)); in sys_extattr_set_link()
419 sys_extattr_get_fd(struct thread *td, struct extattr_get_fd_args *uap) in sys_extattr_get_fd() argument
424 error = copyinstr(uap->attrname, attrname, sizeof(attrname), NULL); in sys_extattr_get_fd()
427 return (kern_extattr_get_fd(td, uap->fd, uap->attrnamespace, in sys_extattr_get_fd()
428 attrname, uap->data, uap->nbytes)); in sys_extattr_get_fd()
465 sys_extattr_get_file(struct thread *td, struct extattr_get_file_args *uap) in sys_extattr_get_file() argument
467 return (user_extattr_get_path(td, uap->path, uap->attrnamespace, in sys_extattr_get_file()
468 uap->attrname, uap->data, uap->nbytes, FOLLOW)); in sys_extattr_get_file()
481 sys_extattr_get_link(struct thread *td, struct extattr_get_link_args *uap) in sys_extattr_get_link() argument
483 return (user_extattr_get_path(td, uap->path, uap->attrnamespace, in sys_extattr_get_link()
484 uap->attrname, uap->data, uap->nbytes, NOFOLLOW)); in sys_extattr_get_link()
575 sys_extattr_delete_fd(struct thread *td, struct extattr_delete_fd_args *uap) in sys_extattr_delete_fd() argument
580 error = copyinstr(uap->attrname, attrname, sizeof(attrname), NULL); in sys_extattr_delete_fd()
583 return (kern_extattr_delete_fd(td, uap->fd, uap->attrnamespace, in sys_extattr_delete_fd()
618 sys_extattr_delete_file(struct thread *td, struct extattr_delete_file_args *uap) in sys_extattr_delete_file() argument
621 return (user_extattr_delete_path(td, uap->path, uap->attrnamespace, in sys_extattr_delete_file()
622 uap->attrname, FOLLOW)); in sys_extattr_delete_file()
633 sys_extattr_delete_link(struct thread *td, struct extattr_delete_link_args *uap) in sys_extattr_delete_link() argument
636 return (user_extattr_delete_path(td, uap->path, uap->attrnamespace, in sys_extattr_delete_link()
637 uap->attrname, NOFOLLOW)); in sys_extattr_delete_link()
733 sys_extattr_list_fd(struct thread *td, struct extattr_list_fd_args *uap) in sys_extattr_list_fd() argument
738 if (uap->data != NULL) { in sys_extattr_list_fd()
739 aiov.iov_base = uap->data; in sys_extattr_list_fd()
740 aiov.iov_len = uap->nbytes; in sys_extattr_list_fd()
744 auio.uio_resid = uap->nbytes; in sys_extattr_list_fd()
752 return (kern_extattr_list_fd(td, uap->fd, uap->attrnamespace, in sys_extattr_list_fd()
786 sys_extattr_list_file(struct thread *td, struct extattr_list_file_args *uap) in sys_extattr_list_file() argument
789 return (user_extattr_list_path(td, uap->path, uap->attrnamespace, in sys_extattr_list_file()
790 uap->data, uap->nbytes, FOLLOW)); in sys_extattr_list_file()
802 sys_extattr_list_link(struct thread *td, struct extattr_list_link_args *uap) in sys_extattr_list_link() argument
805 return (user_extattr_list_path(td, uap->path, uap->attrnamespace, in sys_extattr_list_link()
806 uap->data, uap->nbytes, NOFOLLOW)); in sys_extattr_list_link()