Searched refs:kname (Results 1 – 3 of 3) sorted by relevance
/fs/ |
D | xattr.c | 419 char kname[XATTR_NAME_MAX + 1]; in setxattr() local 424 error = strncpy_from_user(kname, name, sizeof(kname)); in setxattr() 425 if (error == 0 || error == sizeof(kname)) in setxattr() 440 if ((strcmp(kname, XATTR_NAME_POSIX_ACL_ACCESS) == 0) || in setxattr() 441 (strcmp(kname, XATTR_NAME_POSIX_ACL_DEFAULT) == 0)) in setxattr() 443 else if (strcmp(kname, XATTR_NAME_CAPS) == 0) { in setxattr() 451 error = vfs_setxattr(d, kname, kvalue, size, flags); in setxattr() 522 char kname[XATTR_NAME_MAX + 1]; in getxattr() local 524 error = strncpy_from_user(kname, name, sizeof(kname)); in getxattr() 525 if (error == 0 || error == sizeof(kname)) in getxattr() [all …]
|
D | namei.c | 134 char *kname; in getname_flags() local 149 kname = (char *)result->iname; in getname_flags() 150 result->name = kname; in getname_flags() 152 len = strncpy_from_user(kname, filename, EMBEDDED_NAME_MAX); in getname_flags() 166 kname = (char *)result; in getname_flags() 175 __putname(kname); in getname_flags() 178 result->name = kname; in getname_flags() 179 len = strncpy_from_user(kname, filename, PATH_MAX); in getname_flags() 181 __putname(kname); in getname_flags() 186 __putname(kname); in getname_flags()
|
/fs/jfs/ |
D | jfs_dtree.c | 3582 wchar_t *kname; in dtCompare() local 3604 kname = key->name; in dtCompare() 3615 if ((rc = UniStrncmp_le(kname, name, len))) in dtCompare() 3622 kname += len; in dtCompare() 3629 if ((rc = UniStrncmp_le(kname, name, len))) in dtCompare() 3634 kname += len; in dtCompare() 3659 wchar_t *kname, x; in ciCompare() local 3683 kname = key->name; in ciCompare() 3712 for (i = 0; i < len; i++, kname++, name++) { in ciCompare() 3718 if ((rc = *kname - x)) in ciCompare() [all …]
|