Lines Matching defs:file
22 static struct objtool_file file;
40 perror("failed to create backup file");
46 perror("failed to open orig file");
86 WARN("won't handle more than one file at a time");
89 return &file;
93 file.elf = elf_open_read(objname, O_RDWR);
94 if (!file.elf)
98 WARN("can't create backup file");
102 hash_init(file.insn_hash);
103 INIT_LIST_HEAD(&file.retpoline_call_list);
104 INIT_LIST_HEAD(&file.return_thunk_list);
105 INIT_LIST_HEAD(&file.static_call_list);
106 INIT_LIST_HEAD(&file.mcount_loc_list);
107 INIT_LIST_HEAD(&file.endbr_list);
108 INIT_LIST_HEAD(&file.call_list);
109 file.ignore_unreachables = opts.no_unreachable;
110 file.hints = false;
112 return &file;