Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dlimits.h16 #define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */ macro
/openbmc/linux/fs/
H A Dxattr.c610 if (ctx->size > XATTR_SIZE_MAX) in setxattr_copy()
730 if (ctx->size > XATTR_SIZE_MAX) in do_getxattr()
731 ctx->size = XATTR_SIZE_MAX; in do_getxattr()
744 } else if (error == -ERANGE && ctx->size >= XATTR_SIZE_MAX) { in do_getxattr()
/openbmc/linux/fs/fuse/
H A Dxattr.c84 ret = min_t(size_t, outarg.size, XATTR_SIZE_MAX); in fuse_getxattr()
/openbmc/linux/fs/smb/server/
H A 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()
/openbmc/linux/fs/xfs/scrub/
H A Dattr.c130 error = xchk_setup_xattr_buf(sc, XATTR_SIZE_MAX); in xchk_setup_xattr()
/openbmc/linux/fs/nfs/
H A Dclient.c829 XATTR_SIZE_MAX); in nfs_server_set_fsinfo()
831 XATTR_SIZE_MAX); in nfs_server_set_fsinfo()
H A 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()
H A Dnfs4proc.c5838 #define NFS4ACL_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE)
/openbmc/linux/fs/xfs/
H A Dxfs_attr_item.c539 if (attrp->alfi_value_len > XATTR_SIZE_MAX) in xfs_attri_validate()
/openbmc/linux/fs/nfsd/
H A Dnfs4xdr.c2216 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_getxattr()
2244 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_setxattr()
H A Dnfs4proc.c3125 u32 rlen = min_t(u32, XATTR_SIZE_MAX, nfsd4_max_payload(rqstp)); in nfsd4_getxattr_rsize()
/openbmc/linux/fs/ext4/
H A Dxattr.c1010 blocks = XATTR_SIZE_MAX >> sb->s_blocksize_bits; in __ext4_xattr_set_credits()
/openbmc/qemu/hw/9pfs/
H A D9p.c3971 #define P9_XATTR_SIZE_MAX XATTR_SIZE_MAX
/openbmc/linux/fs/ocfs2/
H A Dxattr.c6253 XATTR_SIZE_MAX); in ocfs2_value_metas_in_xattr_header()