Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
A Dlimits.h16 #define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */ macro
/linux/fs/
A Dxattr.c561 if (size > XATTR_SIZE_MAX) in setxattr()
659 if (size > XATTR_SIZE_MAX) in getxattr()
660 size = XATTR_SIZE_MAX; in getxattr()
673 } else if (error == -ERANGE && size >= XATTR_SIZE_MAX) { in getxattr()
/linux/fs/fuse/
A Dxattr.c84 ret = min_t(ssize_t, outarg.size, XATTR_SIZE_MAX); in fuse_getxattr()
/linux/fs/ksmbd/
A Dvfs.c423 if (size > XATTR_SIZE_MAX) { in ksmbd_vfs_stream_write()
424 size = XATTR_SIZE_MAX; in ksmbd_vfs_stream_write()
425 count = (*pos + count) - XATTR_SIZE_MAX; in ksmbd_vfs_stream_write()
/linux/fs/xfs/scrub/
A Dattr.c82 error = xchk_setup_xattr_buf(sc, XATTR_SIZE_MAX, GFP_KERNEL); in xchk_setup_xattr()
/linux/fs/nfs/
A Dclient.c817 XATTR_SIZE_MAX); in nfs_server_set_fsinfo()
819 XATTR_SIZE_MAX); in nfs_server_set_fsinfo()
A Dnfs42proc.c1148 #define NFS4XATTR_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE)
1337 np = nfs_page_array_len(0, buflen ?: XATTR_SIZE_MAX); in nfs42_proc_getxattr()
A Dnfs4proc.c5662 #define NFS4ACL_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE)
/linux/fs/nfsd/
A Dnfs4xdr.c2123 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_getxattr()
2149 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_setxattr()
A Dnfs4proc.c2920 rlen = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_getxattr_rsize()
/linux/fs/ext4/
A Dxattr.c951 blocks = XATTR_SIZE_MAX >> sb->s_blocksize_bits; in __ext4_xattr_set_credits()
/linux/fs/ocfs2/
A Dxattr.c6249 XATTR_SIZE_MAX); in ocfs2_value_metas_in_xattr_header()

Completed in 69 milliseconds