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()
232 "'%s': zero length file", filename); in xc_dom_malloc_filemap()
251 filename, strerror(errno)); in xc_dom_malloc_filemap()
269 DOMPRINTF("%s: failed (on file `%s')", __FUNCTION__, filename); in xc_dom_malloc_filemap()
805 int xc_dom_kernel_file(struct xc_dom_image *dom, const char *filename) in xc_dom_kernel_file() argument
807 DOMPRINTF("%s: filename=\"%s\"", __FUNCTION__, filename); in xc_dom_kernel_file()
808 dom->kernel_blob = xc_dom_malloc_filemap(dom, filename, &dom->kernel_size, in xc_dom_kernel_file()
815 int xc_dom_module_file(struct xc_dom_image *dom, const char *filename, const char *cmdline) in xc_dom_module_file() argument
819 DOMPRINTF("%s: filename=\"%s\"", __FUNCTION__, filename); in xc_dom_module_file()
821 xc_dom_malloc_filemap(dom, filename, &dom->modules[mod].size, in xc_dom_module_file()
842 int xc_dom_devicetree_file(struct xc_dom_image *dom, const char *filename) in xc_dom_devicetree_file() argument
845 DOMPRINTF("%s: filename=\"%s\"", __FUNCTION__, filename); in xc_dom_devicetree_file()
847 xc_dom_malloc_filemap(dom, filename, &dom->devicetree_size, in xc_dom_devicetree_file()