Home
last modified time | relevance | path

Searched refs:new_cd (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.41.6/bsd/kern/
H A Dubc_subr.c3827 CS_CodeDirectory *new_cd; in ubc_cs_convert_to_multilevel_hash() local
3848 …or = ubc_cs_reconstitute_code_signature(blob, &new_blob_addr, &new_blob_size, new_cdsize, &new_cd); in ubc_cs_convert_to_multilevel_hash()
3856 memcpy(new_cd, old_cd, ntohl(old_cd->hashOffset)); in ubc_cs_convert_to_multilevel_hash()
3859 new_cd->length = htonl((uint32_t)new_cdsize); in ubc_cs_convert_to_multilevel_hash()
3861 uint32_t nCodeSlots = ntohl(new_cd->nCodeSlots); in ubc_cs_convert_to_multilevel_hash()
3863 new_cd->nCodeSlots = htonl(nCodeSlots); in ubc_cs_convert_to_multilevel_hash()
3865 new_cd->pageSize = (uint8_t)PAGE_SHIFT; /* Not byte-swapped */ in ubc_cs_convert_to_multilevel_hash()
3867 if ((ntohl(new_cd->version) >= CS_SUPPORTSSCATTER) && (ntohl(new_cd->scatterOffset))) { in ubc_cs_convert_to_multilevel_hash()
3869 ((char *)new_cd + ntohl(new_cd->scatterOffset)); in ubc_cs_convert_to_multilevel_hash()
3892 unsigned char *dst_base = (unsigned char *)new_cd + ntohl(new_cd->hashOffset); in ubc_cs_convert_to_multilevel_hash()
[all …]