Lines Matching defs:symbol
1 /* Postprocess module symbol versions
217 struct symbol {
227 bool used; /* there exists a user of this symbol */
237 static struct symbol *alloc_symbol(const char *name)
239 struct symbol *s = xmalloc(sizeof(*s) + strlen(name) + 1);
248 static void hash_add_symbol(struct symbol *sym)
255 struct symbol *sym;
263 static struct symbol *sym_find_with_module(const char *name, struct module *mod)
265 struct symbol *s;
278 static struct symbol *find_symbol(const char *name)
351 static struct symbol *sym_add_exported(const char *name, struct module *mod,
354 struct symbol *s = find_symbol(name);
372 static void sym_set_crc(struct symbol *sym, unsigned int crc)
505 /* Find symbol table. */
609 /* Do not ignore this symbol */
621 warn("\"%s\" [%s] is COMMON symbol\n", symname, mod->name);
624 /* undefined symbol */
920 * allocated for them and symbol address and value are same. So even
928 * in functions like cpumask_empty() -- generating an associated symbol
987 /* If the supplied symbol has a valid name, return it */
992 * Strive to find a better symbol name, but the resulting name may not
993 * match the symbol referenced in the original code.
1073 struct symbol *s;
1080 error("%s: .export_symbol section contains strange symbol '%s'\n",
1087 error("%s: local symbol '%s' was exported\n", mod->name,
1094 error("%s: .export_symbol section references '%s', but it does not seem to be an export symbol\n",
1120 * For parisc64, symbols prefixed $$ from the library have the symbol type
1129 warn("%s: %s: EXPORT_SYMBOL used for init symbol. Remove __init or EXPORT_SYMBOL.\n",
1132 warn("%s: %s: EXPORT_SYMBOL used for exit symbol. Remove __exit or EXPORT_SYMBOL.\n",
1306 unsigned char r_ssym; /* Special symbol for 2nd relocation */
1495 struct symbol *sym;
1530 * The symbol versions (CRC) are recorded in the .*.cmd files.
1693 * verify_module_namespace() - does @modname have access to this symbol's @namespace
1694 * @namespace: export symbol namespace
1734 struct symbol *s, *exp;
1762 "module %s uses symbol %s from namespace %s, but does not import it.\n",
1768 error("GPL-incompatible module %s.ko uses GPL-only symbol '%s'\n",
1781 struct symbol *sym = find_symbol(name);
1793 * symbol_get() relies on the symbol being present in the ksymtab for lookups.
1800 struct symbol *sym;
1803 * If find_symbol() returns NULL, this symbol is not provided
1857 struct symbol *sym;
1880 warn("EXPORT symbol \"%s\" [%s%s] version generation failed, symbol will not be versioned.\n"
1895 struct symbol *s;
1938 struct symbol *s;
1957 /* this symbol will only be in the extended info */
1960 error("too long symbol \"%s\" [%s.ko]\n",
1974 struct symbol *s;
2130 * 0x12345678<tab>symbol<tab>module<tab>export<tab>namespace
2138 /* No symbol versions, silently ignore */
2147 struct symbol *s;
2188 fatal("parse error in symbol dump file\n");
2195 struct symbol *sym;
2378 warn("suppressed %u unresolved symbol warnings because there were too many)\n",