Lines Matching defs:kernel
246 * In order to avoid relocating the kernel to correct the misalignment,
280 /* Defaults for old kernel */
378 void *kernel;
419 /* Open and stat the kernel file */
426 kernel = mmap(NULL, sz, PROT_READ, MAP_SHARED, fd, 0);
427 if (kernel == MAP_FAILED)
447 * the compressed kernel to its end, we must ensure that the head
475 /* Copy the kernel code */
476 crc = partial_crc32(kernel, sz, crc);
477 if (fwrite(kernel, 1, sz, dest) != sz)
478 die("Writing kernel failed");