Lines Matching refs:kname
549 char kname[XATTR_NAME_MAX + 1]; in setxattr() local
554 error = strncpy_from_user(kname, name, sizeof(kname)); in setxattr()
555 if (error == 0 || error == sizeof(kname)) in setxattr()
570 if ((strcmp(kname, XATTR_NAME_POSIX_ACL_ACCESS) == 0) || in setxattr()
571 (strcmp(kname, XATTR_NAME_POSIX_ACL_DEFAULT) == 0)) in setxattr()
575 error = vfs_setxattr(mnt_userns, d, kname, kvalue, size, flags); in setxattr()
650 char kname[XATTR_NAME_MAX + 1]; in getxattr() local
652 error = strncpy_from_user(kname, name, sizeof(kname)); in getxattr()
653 if (error == 0 || error == sizeof(kname)) in getxattr()
666 error = vfs_getxattr(mnt_userns, d, kname, kvalue, size); in getxattr()
668 if ((strcmp(kname, XATTR_NAME_POSIX_ACL_ACCESS) == 0) || in getxattr()
669 (strcmp(kname, XATTR_NAME_POSIX_ACL_DEFAULT) == 0)) in getxattr()
813 char kname[XATTR_NAME_MAX + 1]; in removexattr() local
815 error = strncpy_from_user(kname, name, sizeof(kname)); in removexattr()
816 if (error == 0 || error == sizeof(kname)) in removexattr()
821 return vfs_removexattr(mnt_userns, d, kname); in removexattr()