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

/linux-master/include/uapi/linux/
H A Dlimits.h16 #define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */ macro
/linux-master/fs/fuse/
H A Dxattr.c84 ret = min_t(ssize_t, outarg.size, XATTR_SIZE_MAX);
/linux-master/fs/
H A Dxattr.c609 if (ctx->size > XATTR_SIZE_MAX)
728 if (ctx->size > XATTR_SIZE_MAX)
729 ctx->size = XATTR_SIZE_MAX;
742 } else if (error == -ERANGE && ctx->size >= XATTR_SIZE_MAX) {
744 than XATTR_SIZE_MAX bytes. Not possible. */
1151 * to XATTR_SIZE_MAX which currently is 65536.
/linux-master/fs/smb/server/
H A Dvfs.c430 if (size > XATTR_SIZE_MAX) {
431 size = XATTR_SIZE_MAX;
432 count = (*pos + count) - XATTR_SIZE_MAX;
/linux-master/fs/xfs/scrub/
H A Dattr.c130 error = xchk_setup_xattr_buf(sc, XATTR_SIZE_MAX);
/linux-master/fs/xfs/
H A Dxfs_attr_item.c491 if (attrp->alfi_value_len > XATTR_SIZE_MAX)
/linux-master/fs/nfs/
H A Dclient.c825 XATTR_SIZE_MAX);
827 XATTR_SIZE_MAX);
H A Dnfs42proc.c1164 #define NFS4XATTR_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE)
1285 * Note that xattr_len is always capped to XATTR_SIZE_MAX.
1374 np = nfs_page_array_len(0, buflen ?: XATTR_SIZE_MAX);
H A Dnfs4proc.c5832 /* Assuming that XATTR_SIZE_MAX is a multiple of PAGE_SIZE, and that
5833 * it's OK to put sizeof(void) * (XATTR_SIZE_MAX/PAGE_SIZE) bytes on
5836 #define NFS4ACL_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE)
/linux-master/fs/nfsd/
H A Dnfs4xdr.c2110 * filesystem limits. This can exceed PAGE_SIZE (currently, XATTR_SIZE_MAX
2206 * maximum length for the reply based on XATTR_SIZE_MAX and the maximum
2224 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount);
2252 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount);
H A Dnfs4proc.c3139 u32 rlen = min_t(u32, XATTR_SIZE_MAX, nfsd4_max_payload(rqstp));
/linux-master/fs/ext4/
H A Dxattr.c1010 blocks = XATTR_SIZE_MAX >> sb->s_blocksize_bits;
/linux-master/fs/ocfs2/
H A Dxattr.c6245 XATTR_SIZE_MAX);

Completed in 292 milliseconds