Searched refs:XATTR_SIZE_MAX (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/include/uapi/linux/ |
H A D | limits.h | 16 #define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */ macro
|
/openbmc/linux/fs/ |
H A D | xattr.c | 610 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 D | xattr.c | 84 ret = min_t(size_t, outarg.size, XATTR_SIZE_MAX); in fuse_getxattr()
|
/openbmc/linux/fs/smb/server/ |
H A D | vfs.c | 430 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 D | attr.c | 130 error = xchk_setup_xattr_buf(sc, XATTR_SIZE_MAX); in xchk_setup_xattr()
|
/openbmc/linux/fs/nfs/ |
H A D | client.c | 829 XATTR_SIZE_MAX); in nfs_server_set_fsinfo() 831 XATTR_SIZE_MAX); in nfs_server_set_fsinfo()
|
H A D | nfs42proc.c | 1164 #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 D | nfs4proc.c | 5838 #define NFS4ACL_MAXPAGES DIV_ROUND_UP(XATTR_SIZE_MAX, PAGE_SIZE)
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_attr_item.c | 539 if (attrp->alfi_value_len > XATTR_SIZE_MAX) in xfs_attri_validate()
|
/openbmc/linux/fs/nfsd/ |
H A D | nfs4xdr.c | 2216 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 D | nfs4proc.c | 3125 u32 rlen = min_t(u32, XATTR_SIZE_MAX, nfsd4_max_payload(rqstp)); in nfsd4_getxattr_rsize()
|
/openbmc/linux/fs/ext4/ |
H A D | xattr.c | 1010 blocks = XATTR_SIZE_MAX >> sb->s_blocksize_bits; in __ext4_xattr_set_credits()
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p.c | 3971 #define P9_XATTR_SIZE_MAX XATTR_SIZE_MAX
|
/openbmc/linux/fs/ocfs2/ |
H A D | xattr.c | 6253 XATTR_SIZE_MAX); in ocfs2_value_metas_in_xattr_header()
|