Lines Matching defs:xattr
38 #include <sys/xattr.h>
436 fetches vp's compression xattr, converting it into a decmpfs_header; returns 0 or errno
452 /* this file's xattr didn't have any extra data when we fetched it, so we can synthesize a header from the data in the cnode */
465 /* figure out how big the xattr is on disk */
482 /* read the xattr into our buffer, skipping over the attr_size field at the beginning */
706 /* UF_COMPRESSED is on, make sure the file has the DECMPFS_XATTR_NAME xattr */
712 /* failed to get the xattr so the file is not compressed */
716 /* we got the xattr, so the file is compressed */
741 /* remember if the xattr's size was equal to the minimal xattr */
878 decmpfs_hides_xattr(vfs_context_t ctx, decmpfs_cnode *cp, const char *xattr)
890 if (strncmp(xattr, XATTR_RESOURCEFORK_NAME, 22) == 0)
893 /* file is not compressed, so don't hide this xattr */
895 if (strncmp(xattr, DECMPFS_XATTR_NAME, 11) == 0)
896 /* it's our xattr, so hide it */
898 /* don't hide this xattr */
1423 then delete the file's compression xattr
1446 /* delete the xattr */
1706 The "Type1" compressor stores the data fork directly in the compression xattr