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

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_cprotect.c135 cp->c_cpentry = NULL;
140 cp->c_cpentry = NULL;
153 CP_ASSERT (cp->c_cpentry == NULL);
187 cp->c_cpentry = entry;
190 cp_entry_destroy(&cp->c_cpentry);
239 if ((dcp) && (dcp->c_cpentry)) {
240 uint32_t parentclass = dcp->c_cpentry->cp_pclass;
438 entry = cp->c_cpentry;
523 entry = cp->c_cpentry;
546 error = cp_wrap(newclass, hfsmp, cp->c_fileid, &cp->c_cpentry);
[all...]
H A Dhfs_cnode.c613 struct cprotect *entry = cp->c_cpentry;
615 if ((cp->c_cpentry->cp_flags & CP_KEY_FLUSHED) == 0) {
616 cp->c_cpentry->cp_flags |= CP_KEY_FLUSHED;
617 bzero (cp->c_cpentry->cp_cache_key, cp->c_cpentry->cp_cache_key_len);
618 bzero (cp->c_cpentry->cp_cache_iv_ctx, sizeof(aes_encrypt_ctx));
1437 cp_entry_destroy(&cp->c_cpentry);
H A Dhfs_cnode.h165 cprotect_t c_cpentry; /* content protection data */ member in struct:cnode
H A Dhfs_vfsops.c4853 if ((cp->c_cpentry->cp_flags & CP_OFF_IV_ENABLED) == 0) {
4907 if (cp->c_cpentry->cp_flags & CP_OFF_IV_ENABLED) {
4909 cp->c_cpentry->cp_flags |= CP_RELOCATION_INFLIGHT;
4917 buf_setcpaddr (bp, cp->c_cpentry);
4933 cp->c_cpentry->cp_flags &= ~CP_RELOCATION_INFLIGHT;
4952 if (cp->c_cpentry->cp_flags & CP_OFF_IV_ENABLED) {
4960 buf_setcpaddr (bp, cp->c_cpentry);
4980 cp->c_cpentry->cp_flags &= ~CP_RELOCATION_INFLIGHT;
H A Dhfs_readwrite.c2815 if ((cp->c_cpentry->cp_flags & CP_RELOCATION_INFLIGHT) == 0) {
2816 buf_setcpaddr(bp, cp->c_cpentry);

Completed in 98 milliseconds