Lines Matching refs:filename
16 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp)
22 fd = open(filename, O_RDONLY);
24 " filename: %s\n"
25 " rv: %i errno: %i", filename, fd, errno);
39 " filename: %s\n"
42 filename,
47 " filename: %s\n"
50 filename,
70 " filename: %s\n"
73 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,
122 fd = open(filename, O_RDONLY);
124 " filename: %s\n"
125 " rv: %i errno: %i", filename, fd, errno);
128 elfhdr_get(filename, &hdr);
144 " filename: %s\n"
146 n1, filename, (intmax_t) offset_rv, errno);