Lines Matching defs:cprotect
56 /* For struct cprotect: cp_flags */
68 #define CONTENT_PROTECTION_XATTR_NAME "com.apple.system.cprotect"
73 typedef struct cprotect *cprotect_t;
96 * Kiv can be cached in the cprotect, so it only has to be calculated once for the file init
101 struct cprotect {
175 int cp_entry_create_keys(struct cprotect **entry_ptr, struct cnode *dcp, struct hfsmount *hfsmp,
177 int cp_entry_gentempkeys(struct cprotect **entry_ptr, struct hfsmount *hfsmp);
178 void cp_entry_destroy(struct cprotect **entry_ptr);
185 int cp_setxattr(struct cnode *cp, struct cprotect *entry, struct hfsmount *hfsmp, uint32_t fileid, int options);
186 int cp_update_mkb (struct cprotect *entry, uint32_t fileid);