Home
last modified time | relevance | path

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

/Linux-v6.6/include/uapi/linux/
Dlimits.h16 #define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */ macro
/Linux-v6.6/fs/
Dxattr.c610 if (ctx->size > XATTR_SIZE_MAX) in setxattr_copy()
729 if (ctx->size > XATTR_SIZE_MAX) in do_getxattr()
730 ctx->size = XATTR_SIZE_MAX; in do_getxattr()
743 } else if (error == -ERANGE && ctx->size >= XATTR_SIZE_MAX) { in do_getxattr()
/Linux-v6.6/fs/fuse/
Dxattr.c84 ret = min_t(ssize_t, outarg.size, XATTR_SIZE_MAX); in fuse_getxattr()
/Linux-v6.6/fs/smb/server/
Dvfs.c430 if (size > XATTR_SIZE_MAX) { in ksmbd_vfs_stream_write()
431 size = XATTR_SIZE_MAX; in ksmbd_vfs_stream_write()
432 count = (*pos + count) - XATTR_SIZE_MAX; in ksmbd_vfs_stream_write()
/Linux-v6.6/fs/nfs/
Dclient.c828 XATTR_SIZE_MAX); in nfs_server_set_fsinfo()
830 XATTR_SIZE_MAX); in nfs_server_set_fsinfo()
Dnfs42proc.c1164 #define NFS4XATTR_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE)
1374 np = nfs_page_array_len(0, buflen ?: XATTR_SIZE_MAX); in nfs42_proc_getxattr()
Dnfs4proc.c5812 #define NFS4ACL_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE)
/Linux-v6.6/fs/xfs/scrub/
Dattr.c130 error = xchk_setup_xattr_buf(sc, XATTR_SIZE_MAX); in xchk_setup_xattr()
/Linux-v6.6/fs/xfs/
Dxfs_attr_item.c525 if (attrp->alfi_value_len > XATTR_SIZE_MAX) in xfs_attri_validate()
/Linux-v6.6/fs/nfsd/
Dnfs4xdr.c2224 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_getxattr()
2252 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_setxattr()
Dnfs4proc.c3123 u32 rlen = min_t(u32, XATTR_SIZE_MAX, nfsd4_max_payload(rqstp)); in nfsd4_getxattr_rsize()
/Linux-v6.6/fs/ext4/
Dxattr.c1010 blocks = XATTR_SIZE_MAX >> sb->s_blocksize_bits; in __ext4_xattr_set_credits()
/Linux-v6.6/fs/ocfs2/
Dxattr.c6245 XATTR_SIZE_MAX); in ocfs2_value_metas_in_xattr_header()