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

/xnu-2422.115.4/bsd/sys/
H A Dcprotect.h59 /* For struct cprotect: cp_flags */
76 #define CONTENT_PROTECTION_XATTR_NAME "com.apple.system.cprotect"
81 typedef struct cprotect *cprotect_t;
133 * Kiv can be cached in the cprotect, so it only has to be calculated once for the file init
138 struct cprotect { struct
241 int cp_entry_gentempkeys(struct cprotect **entry_ptr, struct hfsmount *hfsmp);
243 void cp_entry_destroy(struct cprotect *entry_ptr);
244 void cp_replace_entry (struct cnode *cp, struct cprotect *newentry);
250 int cp_setxattr(struct cnode *cp, struct cprotect *entry, struct hfsmount *hfsmp, uint32_t fileid, int options);
251 int cp_generate_keys (struct hfsmount *hfsmp, struct cnode *cp, int targetclass, struct cprotect **newentr
[all...]
H A Dbuf_internal.h89 struct cprotect *ba_cpentry; /* address of cp_entry */
323 void buf_setcpaddr(buf_t, struct cprotect *);
H A DMakefile95 cprotect.h \
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_cprotect.c28 #include <sys/cprotect.h>
55 static int cp_getxattr(cnode_t *, struct hfsmount *hfsmp, struct cprotect **);
56 static struct cprotect *cp_entry_alloc(size_t);
57 static void cp_entry_dealloc(struct cprotect *entry);
58 static int cp_restore_keys(struct cprotect *, struct hfsmount *hfsmp, struct cnode *);
63 static int cp_new(int newclass, struct hfsmount *hfsmp, struct cnode *cp, mode_t cmode, struct cprotect **output_entry);
65 static int cp_unwrap(struct hfsmount *, struct cprotect *, struct cnode *);
66 static int cp_setup_aes_ctx(struct cprotect *entry);
121 * Allocate and initialize a cprotect blob for a new cnode.
125 * unwrap the file key and cache it in the cprotect blo
[all...]
H A Dhfs.h72 /* Forward declare the cprotect struct */
73 struct cprotect;
313 struct cprotect *hfs_resize_cpentry;
H A Dhfs_cnode.h49 #include <sys/cprotect.h>
H A Dhfs_cnode.c627 struct cprotect *entry = cp->c_cpentry;
H A Dhfs_vnops.c50 #include <sys/cprotect.h>
5793 struct cprotect *entry = NULL;
6075 * Destroy our temporary cprotect (which had no keys).
6168 struct cprotect *keyed_entry = NULL;
H A Dhfs_vfsutils.c59 #include <sys/cprotect.h>
H A Dhfs_vfsops.c121 #include <sys/cprotect.h>
/xnu-2422.115.4/bsd/vm/
H A Dvm_compressor_backing_file.c38 #include <sys/cprotect.h>
H A Ddp_backing_file.c48 #include <sys/cprotect.h>
H A Dvm_unix.c78 #include <sys/cprotect.h>
/xnu-2422.115.4/bsd/kern/
H A Dkern_mman.c99 #include <sys/cprotect.h>
H A Dkern_descrip.c119 #include <sys/cprotect.h>
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_vnops.c115 #include <sys/cprotect.h>
H A Dvfs_bio.c112 #include <sys/cprotect.h>
388 buf_setcpaddr(buf_t bp, struct cprotect *entry) {

Completed in 115 milliseconds