Lines Matching refs:filename
15 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp) in elfhdr_get() argument
21 fd = open(filename, O_RDONLY); in elfhdr_get()
24 " rv: %i errno: %i", filename, fd, errno); in elfhdr_get()
41 filename, in elfhdr_get()
49 filename, in elfhdr_get()
72 filename, ident[EI_VERSION], EV_CURRENT); in elfhdr_get()
113 void kvm_vm_elf_load(struct kvm_vm *vm, const char *filename) in kvm_vm_elf_load() argument
120 fd = open(filename, O_RDONLY); in kvm_vm_elf_load()
123 " rv: %i errno: %i", filename, fd, errno); in kvm_vm_elf_load()
126 elfhdr_get(filename, &hdr); in kvm_vm_elf_load()
144 n1, filename, (intmax_t) offset_rv, errno); in kvm_vm_elf_load()