Lines Matching refs:data

70 extern void OSRuntimeUnloadCPP(kmod_info_t * ki, void * data);
160 * infoDict keys for internally-stored data. Saves on ivar slots for
345 * on data used for that. sKextSummariesLock protects the variables
803 /* On x86, use the mapping data from the segment load command to
810 // overwrite memory occupied by KLD segment with random data before
818 // overwrite memory occupied by KLD segment with random data before
968 "Flushing nonloaded kexts and other unused data.");
1370 void * data = NULL; // do not free
1421 data = (void *) ((intptr_t) (addressNum->unsigned64BitValue()) + vm_kernel_slide);
1426 (unsigned long)VM_KERNEL_UNSLIDE(data),
1427 (unsigned long)data,
1447 if (data != srcData) {
1451 alloc_result = kext_alloc((vm_offset_t *)&data, length, /* fixed */ TRUE);
1459 memcpy(data, srcData, length);
1473 prelinkedExecutable = OSData::withBytesNoCopy(data, length);
1597 "No booter-provided data for kext device tree entry %s.",
2466 panic("Error: Couldn't allocate data object "
2486 /* Init can fail because of a data/runtime error, or because the
2498 * have data references into its mapped memory.
2552 * xxx - this should take the input data length
2626 // Add a terminating nul character in case the data is XML.
2945 uint8_t data[0];
2964 result = (void *)&(zmem->data);
2981 UInt8 * data,
3000 uncompressedData = OSData::withBytes(data, fullSize);
3060 zstream.next_in = (UInt8 *)data;
4781 /* move data behind reloc info down to new offset */
5028 /* We've written data & instructions into kernel memory, so flush the data
5176 OSData * data = NULL;
5210 data = OSData::withBytesNoCopy((void *)kmod_info->address, kextsize);
5211 if (!data) {
5220 linkedExecutable = data;
5473 // xxx - do we need a distinct OSReturn value for these or is "bad data"
7624 "Mistakenly generated both data & plist responses to user request "
7625 "(returning only data).");
8533 /* Check for a data obj. We might not have one and that's ok, that means
10431 vm_offset_t data = 0;
10457 result = kmem_alloc(kernel_map, &data, size);
10462 /* Copy each kmod_info struct sequentially into the data buffer.
10465 * the end of kmod_infos in the data buffer and the beginning of references.
10468 kmod_info_scan_ptr = (kmod_info_t *)data;
10484 kmod_info_scan_ptr = (kmod_info_t *)data;
10489 /* Note the last kmod_info in the data buffer has its next == 0.
10506 result = vm_map_copyin(kernel_map, data, size, TRUE, (vm_map_copy_t *)kmodList);
10517 if (result != KERN_SUCCESS && data) {
10518 kmem_free(kernel_map, data, size);