Home
last modified time | relevance | path

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

/xen/tools/libxc/
A Dxc_dom_armzimageloader.c54 if ( dom->kernel_blob == NULL ) in xc_dom_probe_zimage32_kernel()
67 zimage = (uint32_t *)dom->kernel_blob; in xc_dom_probe_zimage32_kernel()
86 zimage = (uint32_t *)dom->kernel_blob; in xc_dom_parse_zimage32_kernel()
150 if ( dom->kernel_blob == NULL ) in xc_dom_probe_zimage64_kernel()
163 zimage = dom->kernel_blob; in xc_dom_probe_zimage64_kernel()
182 zimage = dom->kernel_blob; in xc_dom_parse_zimage64_kernel()
236 __func__, dom->kernel_size, dom->kernel_blob, dst); in xc_dom_load_zimage_kernel()
238 memcpy(dst, dom->kernel_blob, dom->kernel_size); in xc_dom_load_zimage_kernel()
A Dxc_dom_bzimageloader.c96 stream.next_in = dom->kernel_blob; in xc_try_bzip2_decode()
231 stream->next_in = dom->kernel_blob; in _xc_try_lzma_decode()
410 const unsigned char *cur = dom->kernel_blob; in xc_try_lzo1x_decode()
647 return (memcmp(dom->kernel_blob, magic, len) == 0); in check_magic()
656 if ( dom->kernel_blob == NULL ) in xc_dom_probe_bzimage_kernel()
669 hdr = dom->kernel_blob; in xc_dom_probe_bzimage_kernel()
704 dom->kernel_blob = dom->kernel_blob + payload_offset; in xc_dom_probe_bzimage_kernel()
709 ret = xc_dom_try_gunzip(dom, &dom->kernel_blob, &dom->kernel_size); in xc_dom_probe_bzimage_kernel()
730 ret = xc_try_xz_decode(dom, &dom->kernel_blob, &dom->kernel_size); in xc_dom_probe_bzimage_kernel()
741 ret = xc_try_lzma_decode(dom, &dom->kernel_blob, &dom->kernel_size); in xc_dom_probe_bzimage_kernel()
[all …]
A Dxc_dom_binloader.c127 probe_ptr = dom->kernel_blob; in find_table()
129 probe_end = dom->kernel_blob + 8192; in find_table()
131 probe_end = dom->kernel_blob + dom->kernel_size - sizeof(*table); in find_table()
154 char *image = dom->kernel_blob; in xc_dom_parse_bin_kernel()
251 char *image = dom->kernel_blob; in xc_dom_load_bin_kernel()
A Dxc_dom_elfloader.c101 if ( dom->kernel_blob == NULL ) in check_elf_kernel()
110 if ( !elf_is_elfbinary(dom->kernel_blob, dom->kernel_size) ) in check_elf_kernel()
130 rc = elf_init(&elf, dom->kernel_blob, dom->kernel_size); in xc_dom_probe_elf_kernel()
159 rc = elf_init(elf, dom->kernel_blob, dom->kernel_size) != 0 ? -EINVAL : 0; in xc_dom_parse_elf_kernel()
A Dxc_dom_hvmloader.c37 if ( dom->kernel_blob == NULL ) in check_elf_kernel()
45 if ( !elf_is_elfbinary(dom->kernel_blob, dom->kernel_size) ) in check_elf_kernel()
68 rc = elf_init(&elf, dom->kernel_blob, dom->kernel_size); in xc_dom_probe_hvm_kernel()
101 rc = elf_init(elf, dom->kernel_blob, dom->kernel_size); in xc_dom_parse_hvm_kernel()
A Dxc_dom_decompress_unsafe.c38 ret = fn(dom->kernel_blob, dom->kernel_size, NULL, unsafe_flush, NULL, NULL, unsafe_error); in xc_dom_decompress_unsafe()
A Dxc_dom_core.c808 dom->kernel_blob = xc_dom_malloc_filemap(dom, filename, &dom->kernel_size, in xc_dom_kernel_file()
810 if ( dom->kernel_blob == NULL ) in xc_dom_kernel_file()
812 return xc_dom_try_gunzip(dom, &dom->kernel_blob, &dom->kernel_size); in xc_dom_kernel_file()
862 dom->kernel_blob = (void *)mem; in xc_dom_kernel_mem()
864 return xc_dom_try_gunzip(dom, &dom->kernel_blob, &dom->kernel_size); in xc_dom_kernel_mem()
/xen/stubdom/grub/
A Dkexec.c194 sha1(dom->kernel_blob, dom->kernel_size, cmd.hash); in tpm_hash2pcr()
236 dom->kernel_blob = kernel; in kexec()
/xen/tools/libxc/include/
A Dxc_dom.h77 void *kernel_blob; member

Completed in 11 milliseconds