Searched refs:kname (Results 1 – 3 of 3) sorted by relevance
/fs/ |
D | xattr.c | 420 char kname[XATTR_NAME_MAX + 1]; in setxattr() local 425 error = strncpy_from_user(kname, name, sizeof(kname)); in setxattr() 426 if (error == 0 || error == sizeof(kname)) in setxattr() 444 if ((strcmp(kname, XATTR_NAME_POSIX_ACL_ACCESS) == 0) || in setxattr() 445 (strcmp(kname, XATTR_NAME_POSIX_ACL_DEFAULT) == 0)) in setxattr() 449 error = vfs_setxattr(d, kname, kvalue, size, flags); in setxattr() 520 char kname[XATTR_NAME_MAX + 1]; in getxattr() local 522 error = strncpy_from_user(kname, name, sizeof(kname)); in getxattr() 523 if (error == 0 || error == sizeof(kname)) in getxattr() 539 error = vfs_getxattr(d, kname, kvalue, size); in getxattr() [all …]
|
D | namei.c | 130 char *kname; in getname_flags() local 145 kname = (char *)result->iname; in getname_flags() 146 result->name = kname; in getname_flags() 148 len = strncpy_from_user(kname, filename, EMBEDDED_NAME_MAX); in getname_flags() 162 kname = (char *)result; in getname_flags() 171 __putname(kname); in getname_flags() 174 result->name = kname; in getname_flags() 175 len = strncpy_from_user(kname, filename, PATH_MAX); in getname_flags() 177 __putname(kname); in getname_flags() 182 __putname(kname); in getname_flags()
|
/fs/jfs/ |
D | jfs_dtree.c | 3594 wchar_t *kname; in dtCompare() local 3616 kname = key->name; in dtCompare() 3627 if ((rc = UniStrncmp_le(kname, name, len))) in dtCompare() 3634 kname += len; in dtCompare() 3641 if ((rc = UniStrncmp_le(kname, name, len))) in dtCompare() 3646 kname += len; in dtCompare() 3671 wchar_t *kname, x; in ciCompare() local 3695 kname = key->name; in ciCompare() 3724 for (i = 0; i < len; i++, kname++, name++) { in ciCompare() 3730 if ((rc = *kname - x)) in ciCompare() [all …]
|