Home
last modified time | relevance | path

Searched refs:kernel_size (Results 1 – 11 of 11) sorted by relevance

/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_dom_bzimageloader.c60 if ( dom->kernel_size == 0) in xc_try_bzip2_decode()
77 outsize = dom->kernel_size; in xc_try_bzip2_decode()
83 if ( outsize != dom->kernel_size ) in xc_try_bzip2_decode()
97 stream.avail_in = dom->kernel_size; in xc_try_bzip2_decode()
100 stream.avail_out = dom->kernel_size; in xc_try_bzip2_decode()
213 if ( dom->kernel_size == 0) in _xc_try_lzma_decode()
223 outsize = dom->kernel_size; in _xc_try_lzma_decode()
232 stream->avail_in = dom->kernel_size; in _xc_try_lzma_decode()
412 size_t left = dom->kernel_size; in xc_try_lzo1x_decode()
644 if (len > dom->kernel_size) in check_magic()
[all …]
A Dxc_dom_armzimageloader.c61 if ( dom->kernel_size < 0x30 /*sizeof(struct setup_header)*/ ) in xc_dom_probe_zimage32_kernel()
91 if ( dom->kernel_size > UINT64_MAX - v_start ) in xc_dom_parse_zimage32_kernel()
97 v_end = v_start + dom->kernel_size; in xc_dom_parse_zimage32_kernel()
157 if ( dom->kernel_size < sizeof(*zimage) ) in xc_dom_probe_zimage64_kernel()
192 if ( dom->kernel_size > UINT64_MAX - v_start ) in xc_dom_parse_zimage64_kernel()
198 v_end = v_start + dom->kernel_size; 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_binloader.c125 if ( dom->kernel_size < sizeof(*table) ) in find_table()
128 if ( dom->kernel_size > (8192 + sizeof(*table)) ) in find_table()
131 probe_end = dom->kernel_blob + dom->kernel_size - sizeof(*table); in find_table()
155 size_t image_size = dom->kernel_size; in xc_dom_parse_bin_kernel()
253 size_t image_size = dom->kernel_size; in xc_dom_load_bin_kernel()
A Dxc_dom_elfloader.c107 if ( !elf_is_elfbinary(dom->kernel_blob, dom->kernel_size) ) in check_elf_kernel()
127 rc = elf_init(&elf, dom->kernel_blob, dom->kernel_size); in xc_dom_probe_elf_kernel()
160 rc = elf_init(elf, dom->kernel_blob, dom->kernel_size); in xc_dom_parse_elf_kernel()
A Dxc_dom_hvmloader.c45 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.c817 dom->kernel_blob = xc_dom_malloc_filemap(dom, filename, &dom->kernel_size, in xc_dom_kernel_file()
821 return xc_dom_try_gunzip(dom, &dom->kernel_blob, &dom->kernel_size); in xc_dom_kernel_file()
872 dom->kernel_size = memsize; in xc_dom_kernel_mem()
873 return xc_dom_try_gunzip(dom, &dom->kernel_blob, &dom->kernel_size); in xc_dom_kernel_mem()
/xen-4.10.0-shim-comet/stubdom/grub/
A Dconfig.h9 void kexec(void *kernel, long kernel_size, void *module, long module_size, char *cmdline, unsigned …
A Dkexec.c194 sha1(dom->kernel_blob, dom->kernel_size, cmd.hash); in tpm_hash2pcr()
212 void kexec(void *kernel, long kernel_size, void *module, long module_size, char *cmdline, unsigned … in kexec() argument
237 dom->kernel_size = kernel_size; in kexec()
A Dmini-os.c177 long kernel_size, module_size; variable
190 if (load_file (kernel, &kernel_image, &kernel_size)) in load_image()
282 kexec(kernel_image, kernel_size, module_image, module_size, kernel_arg, flags); in pv_boot()
/xen-4.10.0-shim-comet/tools/libxc/include/
A Dxc_dom.h78 size_t kernel_size; member

Completed in 21 milliseconds