Lines Matching defs:filename
15 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp)
21 fd = open(filename, O_RDONLY);
23 " filename: %s\n"
24 " rv: %i errno: %i", filename, fd, errno);
38 " filename: %s\n"
41 filename,
46 " filename: %s\n"
49 filename,
69 " filename: %s\n"
72 filename, ident[EI_VERSION], EV_CURRENT);
99 * filename - Path to ELF file
108 * Loads the program image of the ELF file specified by filename,
114 void kvm_vm_elf_load(struct kvm_vm *vm, const char *filename)
121 fd = open(filename, O_RDONLY);
123 " filename: %s\n"
124 " rv: %i errno: %i", filename, fd, errno);
127 elfhdr_get(filename, &hdr);
143 " filename: %s\n"
145 n1, filename, (intmax_t) offset_rv, errno);