Searched refs:c_cpentry (Results 1 - 6 of 6) sorted by relevance

/xnu-2782.1.97/bsd/hfs/
H A Dhfs_cprotect.c153 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, VTOHF
[all...]
H A Dhfs_cnode.c643 struct cprotect *entry = cp->c_cpentry;
645 if ((cp->c_cpentry->cp_flags & CP_KEY_FLUSHED) == 0) {
646 cp->c_cpentry->cp_flags |= CP_KEY_FLUSHED;
647 bzero (cp->c_cpentry->cp_cache_key, cp->c_cpentry->cp_cache_key_len);
648 bzero (cp->c_cpentry->cp_cache_iv_ctx, sizeof(aes_encrypt_ctx));
1486 cp_entry_destroy(cp->c_cpentry);
1487 cp->c_cpentry = NULL;
H A Dhfs_resize.c974 if ((cp->c_cpentry->cp_flags & CP_OFF_IV_ENABLED) == 0) {
1028 if (cp->c_cpentry->cp_flags & CP_OFF_IV_ENABLED) {
1030 cp->c_cpentry->cp_flags |= CP_RELOCATION_INFLIGHT;
1038 buf_setcpaddr (bp, cp->c_cpentry);
1054 cp->c_cpentry->cp_flags &= ~CP_RELOCATION_INFLIGHT;
1073 if (cp->c_cpentry->cp_flags & CP_OFF_IV_ENABLED) {
1081 buf_setcpaddr (bp, cp->c_cpentry);
1101 cp->c_cpentry->cp_flags &= ~CP_RELOCATION_INFLIGHT;
H A Dhfs_cnode.h179 cprotect_t c_cpentry; /* content protection data */ member in struct:cnode
H A Dhfs_vnops.c1269 vap->va_dataprotect_class = cp->c_cpentry ? cp->c_cpentry->cp_pclass : 0;
6500 if (cp->c_cpentry == NULL) {
6504 error = cp_generate_keys (hfsmp, cp, CP_CLASS(cp->c_cpentry->cp_pclass), keywrap_flags, &keyed_entry);
H A Dhfs_readwrite.c3221 if (cp->c_cpentry->cp_flags & (CP_KEY_FLUSHED | CP_NEEDS_KEYS)) {
3246 if ((cp->c_cpentry->cp_flags & CP_RELOCATION_INFLIGHT) == 0) {
3247 buf_setcpaddr(bp, cp->c_cpentry);

Completed in 71 milliseconds