Searched refs:XATTR_SIZE_MAX (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/include/uapi/linux/
H A Dlimits.h15 #define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */ macro
/linux-4.1.27/fs/
H A Dxattr.c340 if (size > XATTR_SIZE_MAX) setxattr()
441 if (size > XATTR_SIZE_MAX) getxattr()
442 size = XATTR_SIZE_MAX; getxattr()
459 } else if (error == -ERANGE && size >= XATTR_SIZE_MAX) { getxattr()
461 than XATTR_SIZE_MAX bytes. Not possible. */ getxattr()
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_attr_remote.c110 be32_to_cpu(rmt->rm_bytes) > XATTR_SIZE_MAX) xfs_attr3_rmt_verify()
H A Dxfs_format.h1447 ? (XATTR_SIZE_MAX - sizeof(struct xfs_acl)) / \
/linux-4.1.27/fs/xfs/
H A Dxfs_ioctl.c458 if (*len > XATTR_SIZE_MAX) xfs_attrmulti_attr_get()
488 if (len > XATTR_SIZE_MAX) xfs_attrmulti_attr_set()
/linux-4.1.27/fs/jfs/
H A Dxattr.c797 * to XATTR_SIZE_MAX (65536). In order to avoid this issue, __jfs_setxattr()
/linux-4.1.27/fs/nfs/
H A Dnfs4proc.c4445 /* Assuming that XATTR_SIZE_MAX is a multiple of PAGE_SIZE, and that
4446 * it's OK to put sizeof(void) * (XATTR_SIZE_MAX/PAGE_SIZE) bytes on
4449 #define NFS4ACL_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE)
/linux-4.1.27/fs/ocfs2/
H A Dxattr.c6245 XATTR_SIZE_MAX); ocfs2_value_metas_in_xattr_header()

Completed in 893 milliseconds