Lines Matching refs:mkext_data
953 mkext_header * mkext_data = 0; // don't free
974 mkext_data = (mkext_header *)mkext_file_info->paddr;
977 mkext_data = (mkext_header *)ml_static_ptovirt(mkext_file_info->paddr);
979 mkext_data = (mkext_header *)ml_boot_ptovirt(mkext_file_info->paddr);
985 if (OSSwapBigToHostInt32(mkext_data->magic) != MKEXT_MAGIC ||
986 OSSwapBigToHostInt32(mkext_data->signature) != MKEXT_SIGN) {
993 if (OSSwapBigToHostInt32(mkext_data->length) != mkext_file_info->length) {
1001 crc_address = (u_int8_t *)&mkext_data->version;
1003 (unsigned int)mkext_data +
1004 OSSwapBigToHostInt32(mkext_data->length) - (unsigned int)crc_address);
1006 if (OSSwapBigToHostInt32(mkext_data->adler32) != checksum) {
1026 if (OSSwapBigToHostInt32(mkext_data->cputype) != (UInt32)CPU_TYPE_ANY) {
1041 OSSwapBigToHostInt32(mkext_data->cputype)) {
1049 if (!grade_binary(OSSwapBigToHostInt32(mkext_data->cputype),
1050 OSSwapBigToHostInt32(mkext_data->cpusubtype))) {
1060 i < OSSwapBigToHostInt32(mkext_data->numkexts);
1093 onekext_data = &mkext_data->kext[i];
1097 if (!uncompressFile((u_int8_t *)mkext_data, plist_file,
1190 module_info.base_address = (vm_address_t)mkext_data;