Searched refs:xattr (Results 1 - 17 of 17) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_cprotect.c32 #include <sys/xattr.h>
124 * Read xattr data off the cnode. Then, if conditions permit,
558 /* prepare to write the xattr out */
668 * - write out the xattr if it hasn't already been saved
794 /* write out the xattr if it's new */
924 panic("Content Protection: cp_xattr called with xattr == NULL");
989 * Stores new xattr data on the cnode.
1153 struct cp_root_xattr xattr; local
1157 err = cp_getrootxattr (hfsmp, &xattr);
1160 hfsmp->hfs_running_cp_major_vers = xattr
1238 struct cp_xattr_v4 *xattr = NULL; local
1302 struct cp_xattr_v2 *xattr = NULL; local
[all...]
H A Dhfs_vfsops.c535 struct cp_root_xattr *xattr = NULL; local
536 MALLOC (xattr, struct cp_root_xattr*, sizeof(struct cp_root_xattr), M_TEMP, M_WAITOK);
537 if (xattr == NULL) {
541 bzero (xattr, sizeof(struct cp_root_xattr));
545 err = cp_getrootxattr (hfsmp, xattr);
553 bzero(xattr, sizeof(struct cp_root_xattr));
554 xattr->major_version = CP_NEW_MAJOR_VERS;
555 xattr->minor_version = CP_MINOR_VERS;
556 xattr->flags = 0;
558 err = cp_setrootxattr (hfsmp, xattr);
5033 HFSPlusAttrRecord xattr; /* Attribute record for large EAs */ member in union:hfs_reclaim_extent_info::record
[all...]
H A Dhfs_xattr.c36 #include <sys/xattr.h>
H A Dhfs_vnops.c51 #include <sys/xattr.h>
5997 { &vnop_setxattr_desc, (VOPFUNC)hfs_readonly_op}, /* set xattr (READONLY) */
5998 { &vnop_removexattr_desc, (VOPFUNC)hfs_readonly_op}, /* remove xattr (READONLY) */
/darwin-on-arm/xnu/bsd/sys/
H A Ddecmpfs.h44 /* this structure represents the xattr on disk; the fields below are little-endian */
52 /* this structure represents the xattr in memory; the fields below are host-endian */
62 CMP_Type1 = 1, /* uncompressed data in xattr */
82 uint8_t cmp_minimal_xattr; /* if non-zero, this file's com.apple.decmpfs xattr contained only the minimal decmpfs_disk_header */
108 int decmpfs_hides_xattr(vfs_context_t ctx, decmpfs_cnode *cp, const char *xattr);
H A DMakefile34 vm.h vmmeter.h vmparam.h vnioctl.h vnode.h vnode_if.h vstat.h wait.h xattr.h \
78 utfconv.h vm.h vmparam.h vnode.h vnode_if.h xattr.h \
/darwin-on-arm/xnu/security/
H A Dmac_vfs_subr.c36 #include <sys/xattr.h>
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dxattr_tests.c11 #include <sys/xattr.h>
19 * Test xattr system calls.
105 /* repeat tests using file descriptor versions of the xattr system calls */
/darwin-on-arm/xnu/bsd/kern/
H A Ddecmpfs.c38 #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) argument
[all...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_lookup.c99 #include <sys/xattr.h>
H A Dvfs_vnops.c98 #include <sys/xattr.h>
H A Dvfs_attrlist.c48 #include <sys/xattr.h>
1813 * Fetch the resource fork size/allocation via xattr interface
H A Dvfs_xattr.c50 #include <sys/xattr.h>
103 * Default xattr support routines.
218 * An EJUSTRETURN is from a filesystem which keeps this xattr
306 * EJUSTRETURN is from a filesystem which keeps this xattr natively as well
308 * a native xattr, so failure to find it in a DU file during
604 /* Since there's no truncate xattr we must remove the resource fork. */
1733 * removing it. Close the xattr file and let
1735 * the xattr file if there are no other xattrs).
3197 printf("xattr:shift_data: error reading data @ %lld (read %d of %lu) (%d)\n",
3204 printf("xattr
[all...]
H A Dkpi_vfs.c105 #include <sys/xattr.h>
H A Dvfs_syscalls.c97 #include <sys/xattr.h>
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_subs.c1340 int xattr = np->n_vattr.nva_flags & NFS_FFLAG_IS_ATTR; local
1486 if (vp && xattr)
1487 nvap->nva_flags |= xattr;
H A Dnfs4_vnops.c50 #include <sys/xattr.h>
7811 * create/open the xattr
7815 * truncate the xattr to remove any current data. We'll do
7866 /* Close the xattr. */

Completed in 122 milliseconds