Lines Matching defs:cprotect
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 {
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 **newentry);
253 mode_t cmode, struct cprotect **tmpentry);