Lines Matching refs:filename
197 const char *filename, size_t * size, in xc_dom_malloc_filemap() argument
204 fd = open(filename, O_RDONLY); in xc_dom_malloc_filemap()
208 filename, strerror(errno)); in xc_dom_malloc_filemap()
216 filename, strerror(errno)); in xc_dom_malloc_filemap()
244 filename, strerror(errno)); in xc_dom_malloc_filemap()
262 DOMPRINTF("%s: failed (on file `%s')", __FUNCTION__, filename); in xc_dom_malloc_filemap()
814 int xc_dom_kernel_file(struct xc_dom_image *dom, const char *filename) in xc_dom_kernel_file() argument
816 DOMPRINTF("%s: filename=\"%s\"", __FUNCTION__, filename); in xc_dom_kernel_file()
817 dom->kernel_blob = xc_dom_malloc_filemap(dom, filename, &dom->kernel_size, in xc_dom_kernel_file()
824 int xc_dom_module_file(struct xc_dom_image *dom, const char *filename, const char *cmdline) in xc_dom_module_file() argument
828 DOMPRINTF("%s: filename=\"%s\"", __FUNCTION__, filename); in xc_dom_module_file()
830 xc_dom_malloc_filemap(dom, filename, &dom->modules[mod].size, in xc_dom_module_file()
851 int xc_dom_devicetree_file(struct xc_dom_image *dom, const char *filename) in xc_dom_devicetree_file() argument
854 DOMPRINTF("%s: filename=\"%s\"", __FUNCTION__, filename); in xc_dom_devicetree_file()
856 xc_dom_malloc_filemap(dom, filename, &dom->devicetree_size, in xc_dom_devicetree_file()