• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/scripts/mod/

Lines Matching defs:char

34 void fatal(const char *fmt, ...)
47 void warn(const char *fmt, ...)
58 void merror(const char *fmt, ...)
69 static int is_vmlinux(const char *modname)
71 const char *myname;
81 void *do_nofail(void *ptr, const char *expr)
93 static struct module *find_module(char *modname)
103 static struct module *new_module(char *modname)
106 char *p, *s;
142 char name[0];
148 static inline unsigned int tdb_hash(const char *name)
155 value = (value + (((unsigned char *)name)[i] << (i*5 % 24)));
164 static struct symbol *alloc_symbol(const char *name, unsigned int weak,
177 static struct symbol *new_symbol(const char *name, struct module *module,
190 static struct symbol *find_symbol(const char *name)
206 const char *str;
218 static const char *export_str(enum export ex)
223 static enum export export_no(const char * s)
255 static struct symbol *sym_add_exported(const char *name, struct module *mod,
277 static void sym_update_crc(const char *name, struct module *mod,
288 void *grab_file(const char *filename, unsigned long *size)
312 char* get_next_line(unsigned long *pos, void *file, unsigned long size)
314 static char line[4096];
317 signed char *p = (signed char *)file + *pos;
318 char *s = line;
347 static int parse_elf(struct elf_info *info, const char *filename)
390 const char *secstrings
392 const char *secname;
444 Elf_Sym *sym, const char *symname)
484 char *munged = strdup(symname);
516 static char *next_string(char *string, unsigned long *secsize)
534 static char *get_next_modinfo(void *modinfo, unsigned long modinfo_len,
535 const char *tag, char *info)
537 char *p;
542 size -= info - (char *)modinfo;
553 static char *get_modinfo(void *modinfo, unsigned long modinfo_len,
554 const char *tag)
564 static int strrcmp(const char *s, const char *sub)
649 static int secref_whitelist(const char *modname, const char *tosec,
650 const char *fromsec, const char *atsym,
651 const char *refsymname)
654 const char **s;
655 const char *pat2sym[] = {
667 const char *pat3refsym[] = {
762 static inline int is_arm_mapping_symbol(const char *str)
779 const char *name = elf->strtab + sym->st_name;
793 const char *sec,
800 const char *secstrings = (void *)hdr +
807 const char *symsec;
843 static void warn_sec_mismatch(const char *modname, const char *fromsec,
846 const char *refsymname = "";
851 const char *secstrings = (void *)hdr +
853 const char *secname = secstrings + sechdrs[sym->st_shndx].sh_name;
910 static void check_sec_ref(struct module *mod, const char *modname,
912 int section(const char*),
913 int section_ref_ok(const char *))
919 const char *secstrings = (void *)hdr +
924 const char *name = secstrings + sechdrs[i].sh_name;
925 const char *secname;
1008 static int init_section(const char *name)
1032 static int init_section_ref_ok(const char *name)
1034 const char **s;
1036 const char *namelist1[] = {
1059 const char *namelist2[] = {
1069 const char *namelist3 [] = {
1095 static int exit_section(const char *name)
1114 static int exit_section_ref_ok(const char *name)
1116 const char **s;
1118 const char *namelist1[] = {
1140 const char *namelist2[] = {
1145 const char *namelist3 [] = {
1162 static void read_symbols(char *modname)
1164 const char *symname;
1165 char *version;
1166 char *license;
1207 version - (char *)info.hdr);
1229 const char *fmt, ...)
1231 char tmp[SZ];
1241 void buf_write(struct buffer *buf, const char *s, int len)
1251 static void check_for_gpl_usage(enum export exp, const char *m, const char *s)
1253 const char *e = is_vmlinux(m) ?"":".ko";
1276 static void check_for_unused(enum export exp, const char* m, const char* s)
1278 const char *e = is_vmlinux(m) ?"":".ko";
1297 const char *basename;
1401 buf_printf(b, "static const char __module_depends[]\n");
1406 const char *p;
1433 static void write_if_changed(struct buffer *b, const char *fname)
1435 char *tmp;
1480 static void read_dump(const char *fname, unsigned int kernel)
1484 char *line;
1491 char *symname, *modname, *d, *export, *end;
1540 static void write_dump(const char *fname)
1560 int main(int argc, char **argv)
1564 char fname[SZ];
1565 char *kernel_read = NULL, *module_read = NULL;
1566 char *dump_write = NULL;