Lines Matching refs:kname
600 error = strncpy_from_user(ctx->kname->name, name, in setxattr_copy()
601 sizeof(ctx->kname->name)); in setxattr_copy()
602 if (error == 0 || error == sizeof(ctx->kname->name)) in setxattr_copy()
625 if (is_posix_acl_xattr(ctx->kname->name)) in do_setxattr()
626 return do_set_acl(idmap, dentry, ctx->kname->name, in do_setxattr()
629 return vfs_setxattr(idmap, dentry, ctx->kname->name, in do_setxattr()
637 struct xattr_name kname; in path_setxattr() local
642 .kname = &kname, in path_setxattr()
689 struct xattr_name kname; in SYSCALL_DEFINE5() local
694 .kname = &kname, in SYSCALL_DEFINE5()
726 char *kname = ctx->kname->name; in do_getxattr() local
736 if (is_posix_acl_xattr(ctx->kname->name)) in do_getxattr()
737 error = do_get_acl(idmap, d, kname, ctx->kvalue, ctx->size); in do_getxattr()
739 error = vfs_getxattr(idmap, d, kname, ctx->kvalue, ctx->size); in do_getxattr()
757 struct xattr_name kname; in getxattr() local
762 .kname = &kname, in getxattr()
766 error = strncpy_from_user(kname.name, name, sizeof(kname.name)); in getxattr()
767 if (error == 0 || error == sizeof(kname.name)) in getxattr()
915 char kname[XATTR_NAME_MAX + 1]; in path_removexattr() local
917 error = strncpy_from_user(kname, name, sizeof(kname)); in path_removexattr()
918 if (error == 0 || error == sizeof(kname)) in path_removexattr()
928 error = removexattr(mnt_idmap(path.mnt), path.dentry, kname); in path_removexattr()
954 char kname[XATTR_NAME_MAX + 1]; in SYSCALL_DEFINE2() local
961 error = strncpy_from_user(kname, name, sizeof(kname)); in SYSCALL_DEFINE2()
962 if (error == 0 || error == sizeof(kname)) in SYSCALL_DEFINE2()
970 fd_file(f)->f_path.dentry, kname); in SYSCALL_DEFINE2()