Searched refs:cprotect (Results 1 - 17 of 17) sorted by relevance
/xnu-2422.115.4/bsd/sys/ |
H A D | cprotect.h | 59 /* 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 D | buf_internal.h | 89 struct cprotect *ba_cpentry; /* address of cp_entry */ 323 void buf_setcpaddr(buf_t, struct cprotect *);
|
H A D | Makefile | 95 cprotect.h \
|
/xnu-2422.115.4/bsd/hfs/ |
H A D | hfs_cprotect.c | 28 #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 D | hfs.h | 72 /* Forward declare the cprotect struct */ 73 struct cprotect; 313 struct cprotect *hfs_resize_cpentry;
|
H A D | hfs_cnode.h | 49 #include <sys/cprotect.h>
|
H A D | hfs_cnode.c | 627 struct cprotect *entry = cp->c_cpentry;
|
H A D | hfs_vnops.c | 50 #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 D | hfs_vfsutils.c | 59 #include <sys/cprotect.h>
|
H A D | hfs_vfsops.c | 121 #include <sys/cprotect.h>
|
/xnu-2422.115.4/bsd/vm/ |
H A D | vm_compressor_backing_file.c | 38 #include <sys/cprotect.h>
|
H A D | dp_backing_file.c | 48 #include <sys/cprotect.h>
|
H A D | vm_unix.c | 78 #include <sys/cprotect.h>
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_mman.c | 99 #include <sys/cprotect.h>
|
H A D | kern_descrip.c | 119 #include <sys/cprotect.h>
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_vnops.c | 115 #include <sys/cprotect.h>
|
H A D | vfs_bio.c | 112 #include <sys/cprotect.h> 388 buf_setcpaddr(buf_t bp, struct cprotect *entry) {
|
Completed in 115 milliseconds