/scripts/dtc/ |
D | srcpos.c | 50 FILE *srcfile_relative_open(const char *fname, char **fullnamep) in srcfile_relative_open() argument 55 if (streq(fname, "-")) { in srcfile_relative_open() 60 || (fname[0] == '/')) in srcfile_relative_open() 61 fullname = xstrdup(fname); in srcfile_relative_open() 63 fullname = join_path(current_srcfile->dir, fname); in srcfile_relative_open() 67 die("Couldn't open \"%s\": %s\n", fname, in srcfile_relative_open() 82 void srcfile_push(const char *fname) in srcfile_push() argument 91 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push() 189 const char *fname = "<no-file>"; in srcpos_string() local 194 fname = pos->file->name; in srcpos_string() [all …]
|
D | srcpos.h | 36 FILE *srcfile_relative_open(const char *fname, char **fullnamep); 37 void srcfile_push(const char *fname);
|
D | treesource.c | 30 struct boot_info *dt_from_source(const char *fname) in dt_from_source() argument 35 srcfile_push(fname); in dt_from_source()
|
D | dtc.h | 234 struct boot_info *dt_from_blob(const char *fname);
|
D | flattree.c | 801 struct boot_info *dt_from_blob(const char *fname) in dt_from_blob() argument 818 f = srcfile_relative_open(fname, NULL); in dt_from_blob()
|
/scripts/ |
D | recordmcount.c | 164 static void *mmap_file(char const *fname) in mmap_file() argument 168 fd_map = open(fname, O_RDWR); in mmap_file() 170 perror(fname); in mmap_file() 174 fprintf(stderr, "not a regular file: %s\n", fname); in mmap_file() 287 do_file(char const *const fname) in do_file() argument 289 Elf32_Ehdr *const ehdr = mmap_file(fname); in do_file() 300 ehdr->e_ident[EI_DATA], fname); in do_file() 323 fprintf(stderr, "unrecognized ET_REL file %s\n", fname); in do_file() 331 w2(ehdr->e_machine), fname); in do_file() 361 ehdr->e_ident[EI_CLASS], fname); in do_file() [all …]
|
D | recordmcount.h | 453 char const *const fname) in __has_rel_mcount() argument 461 fname); in __has_rel_mcount() 473 char const *const fname) in has_rel_mcount() argument 477 return __has_rel_mcount(relhdr, shdr0, shstrtab, fname); in has_rel_mcount() 484 const char *const fname) in tot_relsize() argument 491 txtname = has_rel_mcount(shdrp, shdr0, shstrtab, fname); in tot_relsize() 501 do_func(Elf_Ehdr *const ehdr, char const *const fname, unsigned const reltype) in do_func() argument 514 unsigned const totrelsz = tot_relsize(shdr0, nhdr, shstrtab, fname); in do_func() 527 shstrtab, fname); in do_func()
|
/scripts/rt-tester/ |
D | rt-tester.py | 169 fname = "%s%s%s" %(sysfsprefix, tid, statusfile) variable 171 print fname 176 fsta = open(fname, 'r') 201 fname = "%s%s%s" %(sysfsprefix, tid, commandfile) variable 203 print fname 205 fcmd = open(fname, 'w')
|
/scripts/mod/ |
D | sumversion.c | 256 static int parse_file(const char *fname, struct md4_ctx *md) in parse_file() argument 261 file = grab_file(fname, &len); in parse_file() 405 char *sources, *end, *fname; in get_src_version() local 442 while ((fname = strsep(&sources, " ")) != NULL) { in get_src_version() 443 if (!*fname) in get_src_version() 445 if (!(is_static_library(fname)) && in get_src_version() 446 !parse_source_files(fname, &md)) in get_src_version()
|
D | modpost.c | 1974 static void write_if_changed(struct buffer *b, const char *fname) in write_if_changed() argument 1980 file = fopen(fname, "r"); in write_if_changed() 2006 file = fopen(fname, "w"); in write_if_changed() 2008 perror(fname); in write_if_changed() 2012 perror(fname); in write_if_changed() 2021 static void read_dump(const char *fname, unsigned int kernel) in read_dump() argument 2024 void *file = grab_file(fname, &size); in read_dump() 2080 static void write_dump(const char *fname) in write_dump() argument 2097 write_if_changed(&buf, fname); in write_dump() 2182 char fname[strlen(mod->name) + 10]; in main() local [all …]
|