Lines Matching refs:buffer
173 /* If the file is contained in a larger buffer laid down by the booter or
439 /* Create an OSData wrapper for the allocated buffer.
455 "Allocated link buffer for kext %s at %p (%lu bytes).",
2607 * the larger mkext file buffer any more.
2997 * so that we don't have the tie to the larger mkext file buffer any more.
3223 * the buffer.
3347 "Kext load request buffer from user space still retained by a kext; "
3371 char * buffer = NULL;
3408 kmem_result = kmem_alloc(kernel_map, (vm_offset_t *)&buffer, logInfoLength);
3417 memcpy(buffer, logInfo, logInfoLength);
3418 *logInfoOut = buffer;
7653 char * buffer;
7657 kmem_result = kmem_alloc(kernel_map, (vm_offset_t *)&buffer,
7667 memcpy(buffer, response, responseLength);
7668 *responseOut = buffer;
9471 char * buffer = stackBuffer; // do not free
9509 buffer = allocBuffer;
9516 logString = OSString::withCString(buffer);
9535 buffer, color[0] ? VTRESET : "");
9537 printf("%s\n", buffer);
9916 * substitute() looks at an input string (a pointer within a larger buffer)
9961 * compactIdentifier() takes a CFBundleIdentifier in a buffer of at least
10036 * assemble_identifier_and_version() adds to a string buffer a compacted
10180 "Couldn't allocate kext panic log buffer.");
10319 * it writable). If it's too small, free it and allocate a new buffer.
10363 /* Write protect the buffer and move it into place.
10385 /* If we had to allocate a new buffer but failed to generate the summaries,
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.
10478 /* Now add references after the kmod_info structs in the same buffer.
10489 /* Note the last kmod_info in the data buffer has its next == 0.