Lines Matching refs:c_cpentry
153 cp->c_cpentry = NULL;
158 cp->c_cpentry = NULL;
171 CP_ASSERT (cp->c_cpentry == NULL);
221 cp->c_cpentry = entry;
231 cp->c_cpentry = NULL;
295 if ((dcp) && (dcp->c_cpentry)) {
296 uint32_t parentclass = CP_CLASS(dcp->c_cpentry->cp_pclass);
494 entry = cp->c_cpentry;
577 entry = cp->c_cpentry;
667 error = cp_setxattr(cp, cp->c_cpentry, VTOHFS(vp), 0, XATTR_REPLACE);
669 error = cp_setxattr(cp, cp->c_cpentry, VTOHFS(vp), 0, XATTR_CREATE);
719 entry = cp->c_cpentry;
832 entry = cp->c_cpentry;
901 error = cp_generate_keys (hfsmp, cp, CP_CLASS(cp->c_cpentry->cp_pclass), flags, &newentry);
962 entry = cp->c_cpentry;
984 error = cp_generate_keys (hfsmp, cp, CP_CLASS(cp->c_cpentry->cp_pclass), flags, &newentry);
1091 entry = cp->c_cpentry;
1717 if (!cp->c_cpentry) {
1727 switch (CP_CLASS(cp->c_cpentry->cp_pclass)) {
1775 entry = cp->c_cpentry;
1865 struct cprotect *entry = cp->c_cpentry;
1948 cp->c_cpentry = newentry;
2075 if (cp->c_cpentry == NULL) {
2081 if (cp->c_cpentry->cp_flags & CP_NO_XATTR) {
2088 if ((cp->c_cpentry->cp_flags & CP_NEEDS_KEYS) == 0){
2138 if (cp->c_cpentry) {
2139 cp_entry_destroy (cp->c_cpentry);
2141 cp->c_cpentry = newentry;