sym 162 arch/x86/boot/compressed/relocs.c if (sym->st_name) { sym 163 arch/x86/boot/compressed/relocs.c name = sym_strtab + sym->st_name; sym 166 arch/x86/boot/compressed/relocs.c name = sec_name(secs[sym->st_shndx].shdr.sh_name); sym 331 arch/x86/boot/compressed/relocs.c Elf32_Sym *sym = &sec->symtab[j]; sym 332 arch/x86/boot/compressed/relocs.c sym->st_name = elf32_to_cpu(sym->st_name); sym 333 arch/x86/boot/compressed/relocs.c sym->st_value = elf32_to_cpu(sym->st_value); sym 334 arch/x86/boot/compressed/relocs.c sym->st_size = elf32_to_cpu(sym->st_size); sym 335 arch/x86/boot/compressed/relocs.c sym->st_shndx = elf16_to_cpu(sym->st_shndx); sym 389 arch/x86/boot/compressed/relocs.c Elf32_Sym *sym; sym 391 arch/x86/boot/compressed/relocs.c sym = &sec->symtab[j]; sym 392 arch/x86/boot/compressed/relocs.c name = sym_name(sym_strtab, sym); sym 393 arch/x86/boot/compressed/relocs.c if (sym->st_shndx != SHN_ABS) { sym 397 arch/x86/boot/compressed/relocs.c j, sym->st_value, sym->st_size, sym 398 arch/x86/boot/compressed/relocs.c sym_type(ELF32_ST_TYPE(sym->st_info)), sym 399 arch/x86/boot/compressed/relocs.c sym_bind(ELF32_ST_BIND(sym->st_info)), sym 400 arch/x86/boot/compressed/relocs.c sym_visibility(ELF32_ST_VISIBILITY(sym->st_other)), sym 429 arch/x86/boot/compressed/relocs.c Elf32_Sym *sym; sym 432 arch/x86/boot/compressed/relocs.c sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; sym 433 arch/x86/boot/compressed/relocs.c name = sym_name(sym_strtab, sym); sym 434 arch/x86/boot/compressed/relocs.c if (sym->st_shndx != SHN_ABS) { sym 466 arch/x86/boot/compressed/relocs.c sym->st_value, sym 498 arch/x86/boot/compressed/relocs.c Elf32_Sym *sym; sym 501 arch/x86/boot/compressed/relocs.c sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; sym 504 arch/x86/boot/compressed/relocs.c if (sym->st_shndx == SHN_ABS) { sym 512 arch/x86/boot/compressed/relocs.c visit(rel, sym); sym 65 arch/x86/kernel/module_32.c Elf32_Sym *sym; sym 76 arch/x86/kernel/module_32.c sym = (Elf32_Sym *)sechdrs[symindex].sh_addr sym 82 arch/x86/kernel/module_32.c *location += sym->st_value; sym 86 arch/x86/kernel/module_32.c *location += sym->st_value - (uint32_t)location; sym 78 arch/x86/kernel/module_64.c Elf64_Sym *sym; sym 91 arch/x86/kernel/module_64.c sym = (Elf64_Sym *)sechdrs[symindex].sh_addr sym 96 arch/x86/kernel/module_64.c sym->st_value, rel[i].r_addend, (u64)loc); sym 98 arch/x86/kernel/module_64.c val = sym->st_value + rel[i].r_addend; sym 10 arch/x86/kernel/syscall_64.c #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; sym 15 arch/x86/kernel/syscall_64.c #define __SYSCALL(nr, sym) [nr] = sym, sym 82 arch/x86/vdso/vdso32-setup.c Elf32_Sym *sym = (void *)ehdr + offset; sym 83 arch/x86/vdso/vdso32-setup.c unsigned nsym = size / sizeof(*sym); sym 86 arch/x86/vdso/vdso32-setup.c for(i = 0; i < nsym; i++, sym++) { sym 87 arch/x86/vdso/vdso32-setup.c if (sym->st_shndx == SHN_UNDEF || sym 88 arch/x86/vdso/vdso32-setup.c sym->st_shndx == SHN_ABS) sym 91 arch/x86/vdso/vdso32-setup.c if (sym->st_shndx > SHN_LORESERVE) { sym 93 arch/x86/vdso/vdso32-setup.c sym->st_shndx); sym 97 arch/x86/vdso/vdso32-setup.c switch(ELF_ST_TYPE(sym->st_info)) { sym 102 arch/x86/vdso/vdso32-setup.c sym->st_value += VDSO_ADDR_ADJUST; sym 374 fs/proc/base.c char sym[KSYM_NAME_LEN]; sym 380 fs/proc/base.c sprint_symbol(sym, task->latency_record[i].backtrace[q]); sym 381 fs/proc/base.c c = strchr(sym, '+'); sym 384 fs/proc/base.c seq_printf(m, "%s ", sym); sym 5 include/linux/kbuild.h asm volatile("\n->" #sym " %0 " #val : : "i" (val)) sym 10 include/linux/kbuild.h DEFINE(sym, offsetof(struct str, mem)) sym 179 include/linux/module.h extern void *__crc_##sym __attribute__((weak)); \ sym 180 include/linux/module.h static const unsigned long __kcrctab_##sym \ sym 183 include/linux/module.h = (unsigned long) &__crc_##sym; sym 190 include/linux/module.h extern typeof(sym) sym; \ sym 191 include/linux/module.h __CRC_SYMBOL(sym, sec) \ sym 192 include/linux/module.h static const char __kstrtab_##sym[] \ sym 194 include/linux/module.h = MODULE_SYMBOL_PREFIX #sym; \ sym 195 include/linux/module.h static const struct kernel_symbol __ksymtab_##sym \ sym 198 include/linux/module.h = { (unsigned long)&sym, __kstrtab_##sym } sym 201 include/linux/module.h __EXPORT_SYMBOL(sym, "") sym 204 include/linux/module.h __EXPORT_SYMBOL(sym, "_gpl") sym 207 include/linux/module.h __EXPORT_SYMBOL(sym, "_gpl_future") sym 211 include/linux/module.h #define EXPORT_UNUSED_SYMBOL(sym) __EXPORT_SYMBOL(sym, "_unused") sym 212 include/linux/module.h #define EXPORT_UNUSED_SYMBOL_GPL(sym) __EXPORT_SYMBOL(sym, "_unused_gpl") sym 1122 kernel/kprobes.c if (sym) sym 1124 kernel/kprobes.c sym, offset, (modname ? modname : " ")); sym 1152 kernel/kprobes.c const char *sym = NULL; sym 1160 kernel/kprobes.c sym = kallsyms_lookup((unsigned long)p->addr, NULL, sym 1164 kernel/kprobes.c report_probe(pi, kp, sym, offset, modname); sym 1166 kernel/kprobes.c report_probe(pi, p, sym, offset, modname); sym 194 kernel/latencytop.c char sym[KSYM_NAME_LEN]; sym 200 kernel/latencytop.c sprint_symbol(sym, latency_record[i].backtrace[q]); sym 201 kernel/latencytop.c c = strchr(sym, '+'); sym 204 kernel/latencytop.c seq_printf(m, "%s ", sym); sym 560 kernel/lockdep_proc.c char sym[KSYM_SYMBOL_LEN]; sym 569 kernel/lockdep_proc.c sprint_symbol(sym, class->contention_point[i]); sym 574 kernel/lockdep_proc.c ip, sym); sym 1472 kernel/module.c const struct kernel_symbol *sym; sym 1485 kernel/module.c for (s = arr[i].sym; s < arr[i].sym + arr[i].num; s++) { sym 1507 kernel/module.c Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; sym 1513 kernel/module.c switch (sym[i].st_shndx) { sym 1517 kernel/module.c DEBUGP("Common symbol: %s\n", strtab + sym[i].st_name); sym 1526 kernel/module.c (long)sym[i].st_value); sym 1530 kernel/module.c sym[i].st_value sym 1532 kernel/module.c strtab + sym[i].st_name, mod); sym 1535 kernel/module.c if (!IS_ERR_VALUE(sym[i].st_value)) sym 1538 kernel/module.c if (ELF_ST_BIND(sym[i].st_info) == STB_WEAK) sym 1542 kernel/module.c mod->name, strtab + sym[i].st_name); sym 1548 kernel/module.c if (sym[i].st_shndx == pcpuindex) sym 1551 kernel/module.c secbase = sechdrs[sym[i].st_shndx].sh_addr; sym 1552 kernel/module.c sym[i].st_value += secbase; sym 1724 kernel/module.c if (ELF_ST_BIND(sym->st_info) == STB_WEAK) { sym 1725 kernel/module.c if (ELF_ST_TYPE(sym->st_info) == STT_OBJECT) sym 1730 kernel/module.c if (sym->st_shndx == SHN_UNDEF) sym 1732 kernel/module.c if (sym->st_shndx == SHN_ABS) sym 1734 kernel/module.c if (sym->st_shndx >= SHN_LORESERVE) sym 1736 kernel/module.c if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) sym 1738 kernel/module.c if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC sym 1739 kernel/module.c && sechdrs[sym->st_shndx].sh_type != SHT_NOBITS) { sym 1740 kernel/module.c if (!(sechdrs[sym->st_shndx].sh_flags & SHF_WRITE)) sym 1742 kernel/module.c else if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) sym 1747 kernel/module.c if (sechdrs[sym->st_shndx].sh_type == SHT_NOBITS) { sym 1748 kernel/module.c if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) sym 1753 kernel/module.c if (strncmp(secstrings + sechdrs[sym->st_shndx].sh_name, sym 2430 kernel/module.c const char *sym; sym 2432 kernel/module.c sym = get_ksymbol(mod, addr, NULL, NULL); sym 2433 kernel/module.c if (!sym) sym 2435 kernel/module.c strlcpy(symname, sym, KSYM_NAME_LEN); sym 2454 kernel/module.c const char *sym; sym 2456 kernel/module.c sym = get_ksymbol(mod, addr, size, offset); sym 2457 kernel/module.c if (!sym) sym 2462 kernel/module.c strlcpy(name, sym, KSYM_NAME_LEN); sym 43 kernel/time/timer_list.c if (lookup_symbol_name((unsigned long)sym, symname) < 0) sym 44 kernel/time/timer_list.c SEQ_printf(m, "<%p>", sym); sym 521 lib/vsprintf.c char sym[KSYM_SYMBOL_LEN]; sym 522 lib/vsprintf.c sprint_symbol(sym, value); sym 523 lib/vsprintf.c return string(buf, end, sym, field_width, precision, flags); sym 27 lib/zlib_inflate/inftrees.c unsigned sym; /* index of code symbols */ sym 95 lib/zlib_inflate/inftrees.c for (sym = 0; sym < codes; sym++) sym 96 lib/zlib_inflate/inftrees.c count[lens[sym]]++; sym 132 lib/zlib_inflate/inftrees.c for (sym = 0; sym < codes; sym++) sym 133 lib/zlib_inflate/inftrees.c if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; sym 188 lib/zlib_inflate/inftrees.c sym = 0; /* starting code symbol */ sym 205 lib/zlib_inflate/inftrees.c if ((int)(work[sym]) < end) { sym 207 lib/zlib_inflate/inftrees.c this.val = work[sym]; sym 209 lib/zlib_inflate/inftrees.c else if ((int)(work[sym]) > end) { sym 210 lib/zlib_inflate/inftrees.c this.op = (unsigned char)(extra[work[sym]]); sym 211 lib/zlib_inflate/inftrees.c this.val = base[work[sym]]; sym 239 lib/zlib_inflate/inftrees.c sym++; sym 242 lib/zlib_inflate/inftrees.c len = lens[work[sym]]; sym 2805 net/core/dev.c symname = kallsyms_lookup((unsigned long)sym, &symsize, &offset, sym 2819 net/core/dev.c seq_printf(seq, "[%p]", sym); sym 133 scripts/basic/docproc.c sym->symbollist = sym 134 scripts/basic/docproc.c realloc(sym->symbollist, (sym->symbolcnt + 1) * sizeof(char *)); sym 135 scripts/basic/docproc.c sym->symbollist[sym->symbolcnt++].name = strdup(symname); sym 175 scripts/basic/docproc.c struct symfile *sym; sym 183 scripts/basic/docproc.c sym = add_new_file(filename); sym 212 scripts/basic/docproc.c add_new_symbol(sym, p); sym 246 scripts/basic/docproc.c struct symfile * sym = &symfilelist[i]; sym 247 scripts/basic/docproc.c for (j=0; j < sym->symbolcnt; j++) { sym 249 scripts/basic/docproc.c vec[idx++] = sym->symbollist[j].name; sym 150 scripts/genksyms/genksyms.c struct symbol *sym; sym 152 scripts/genksyms/genksyms.c for (sym = symtab[h]; sym; sym = sym->hash_next) sym 153 scripts/genksyms/genksyms.c if (map_to_ns(sym->type) == map_to_ns(ns) && sym 154 scripts/genksyms/genksyms.c strcmp(name, sym->name) == 0) sym 157 scripts/genksyms/genksyms.c return sym; sym 164 scripts/genksyms/genksyms.c struct symbol *sym; sym 166 scripts/genksyms/genksyms.c for (sym = symtab[h]; sym; sym = sym->hash_next) { sym 167 scripts/genksyms/genksyms.c if (map_to_ns(sym->type) == map_to_ns(type) sym 168 scripts/genksyms/genksyms.c && strcmp(name, sym->name) == 0) { sym 169 scripts/genksyms/genksyms.c if (!equal_list(sym->defn, defn)) sym 171 scripts/genksyms/genksyms.c return sym; sym 175 scripts/genksyms/genksyms.c sym = xmalloc(sizeof(*sym)); sym 176 scripts/genksyms/genksyms.c sym->name = name; sym 177 scripts/genksyms/genksyms.c sym->type = type; sym 178 scripts/genksyms/genksyms.c sym->defn = defn; sym 179 scripts/genksyms/genksyms.c sym->expansion_trail = NULL; sym 180 scripts/genksyms/genksyms.c sym->visited = NULL; sym 181 scripts/genksyms/genksyms.c sym->is_extern = is_extern; sym 183 scripts/genksyms/genksyms.c sym->hash_next = symtab[h]; sym 184 scripts/genksyms/genksyms.c symtab[h] = sym; sym 196 scripts/genksyms/genksyms.c return sym; sym 279 scripts/genksyms/genksyms.c struct string_list *list = sym->defn; sym 381 scripts/genksyms/genksyms.c if (!sym->visited) { sym 382 scripts/genksyms/genksyms.c *end = sym; sym 383 scripts/genksyms/genksyms.c end = &sym->visited; sym 384 scripts/genksyms/genksyms.c sym->visited = (struct symbol *)-1L; sym 393 scripts/genksyms/genksyms.c struct symbol *sym; sym 395 scripts/genksyms/genksyms.c sym = find_symbol(name, SYM_NORMAL); sym 396 scripts/genksyms/genksyms.c if (!sym) sym 406 scripts/genksyms/genksyms.c crc = expand_and_crc_sym(sym, 0xffffffff) ^ 0xffffffff; sym 408 scripts/genksyms/genksyms.c sym = expansion_trail; sym 409 scripts/genksyms/genksyms.c while (sym != (struct symbol *)-1L) { sym 410 scripts/genksyms/genksyms.c struct symbol *n = sym->expansion_trail; sym 411 scripts/genksyms/genksyms.c sym->expansion_trail = 0; sym 412 scripts/genksyms/genksyms.c sym = n; sym 540 scripts/genksyms/genksyms.c struct symbol *sym = visited_symbols; sym 542 scripts/genksyms/genksyms.c if (sym->type != SYM_NORMAL) { sym 543 scripts/genksyms/genksyms.c putc(symbol_type_name[sym->type][0], dumpfile); sym 546 scripts/genksyms/genksyms.c fputs(sym->name, dumpfile); sym 548 scripts/genksyms/genksyms.c if (sym->is_extern) sym 550 scripts/genksyms/genksyms.c print_list(dumpfile, sym->defn); sym 553 scripts/genksyms/genksyms.c visited_symbols = sym->visited; sym 554 scripts/genksyms/genksyms.c sym->visited = NULL; sym 32 scripts/kallsyms.c unsigned char *sym; sym 67 scripts/kallsyms.c char *sym, stype; sym 79 scripts/kallsyms.c sym = str; sym 82 scripts/kallsyms.c sym++; sym 85 scripts/kallsyms.c if (strcmp(sym, "_text") == 0) sym 87 scripts/kallsyms.c else if (strcmp(sym, "_stext") == 0) sym 89 scripts/kallsyms.c else if (strcmp(sym, "_etext") == 0) sym 91 scripts/kallsyms.c else if (strcmp(sym, "_sinittext") == 0) sym 93 scripts/kallsyms.c else if (strcmp(sym, "_einittext") == 0) sym 98 scripts/kallsyms.c if (strcmp(sym, "__kernel_syscall_via_break") && sym 99 scripts/kallsyms.c strcmp(sym, "__kernel_syscall_via_epc") && sym 100 scripts/kallsyms.c strcmp(sym, "__kernel_sigtramp") && sym 101 scripts/kallsyms.c strcmp(sym, "__gp")) sym 106 scripts/kallsyms.c is_arm_mapping_symbol(sym)) sym 118 scripts/kallsyms.c s->sym = malloc(s->len + 1); sym 119 scripts/kallsyms.c if (!s->sym) { sym 124 scripts/kallsyms.c strcpy((char *)s->sym + 1, str); sym 125 scripts/kallsyms.c s->sym[0] = stype; sym 153 scripts/kallsyms.c if (symbol_prefix_char && *(s->sym + 1) == symbol_prefix_char) sym 169 scripts/kallsyms.c strcmp((char *)s->sym + offset, "_etext")) || sym 171 scripts/kallsyms.c strcmp((char *)s->sym + offset, "_einittext"))) sym 176 scripts/kallsyms.c if (strstr((char *)s->sym + offset, "_compiled.")) sym 180 scripts/kallsyms.c if( strcmp((char *)s->sym + offset, special_symbols[i]) == 0 ) sym 271 scripts/kallsyms.c if (toupper(table[i].sym[0]) != 'A') { sym 305 scripts/kallsyms.c printf(", 0x%02x", table[i].sym[k]); sym 366 scripts/kallsyms.c learn_symbol(table[pos].sym, table[pos].len); sym 394 scripts/kallsyms.c p1 = table[i].sym; sym 401 scripts/kallsyms.c forget_symbol(table[i].sym, len); sym 423 scripts/kallsyms.c learn_symbol(table[i].sym, len); sym 481 scripts/kallsyms.c c = table[i].sym[j]; sym 519 scripts/kallsyms.c wa = (sa->sym[0] == 'w') || (sa->sym[0] == 'W'); sym 520 scripts/kallsyms.c wb = (sb->sym[0] == 'w') || (sb->sym[0] == 'W'); sym 79 scripts/kconfig/conf.c enum symbol_type type = sym_get_type(sym); sym 81 scripts/kconfig/conf.c if (!sym_has_value(sym)) sym 87 scripts/kconfig/conf.c if (!sym_is_changable(sym)) { sym 97 scripts/kconfig/conf.c if (sym_has_value(sym)) { sym 125 scripts/kconfig/conf.c struct symbol *sym = menu->sym; sym 130 scripts/kconfig/conf.c printf("(%s) ", sym->name); sym 131 scripts/kconfig/conf.c def = sym_get_string_value(sym); sym 132 scripts/kconfig/conf.c if (sym_get_string_value(sym)) sym 134 scripts/kconfig/conf.c if (!conf_askvalue(sym, def)) sym 150 scripts/kconfig/conf.c if (def && sym_set_string_value(sym, def)) sym 157 scripts/kconfig/conf.c struct symbol *sym = menu->sym; sym 163 scripts/kconfig/conf.c if (sym->name) sym 164 scripts/kconfig/conf.c printf("(%s) ", sym->name); sym 165 scripts/kconfig/conf.c type = sym_get_type(sym); sym 167 scripts/kconfig/conf.c oldval = sym_get_tristate_value(sym); sym 179 scripts/kconfig/conf.c if (oldval != no && sym_tristate_within_range(sym, no)) sym 181 scripts/kconfig/conf.c if (oldval != mod && sym_tristate_within_range(sym, mod)) sym 183 scripts/kconfig/conf.c if (oldval != yes && sym_tristate_within_range(sym, yes)) sym 188 scripts/kconfig/conf.c if (!conf_askvalue(sym, sym_get_string_value(sym))) sym 219 scripts/kconfig/conf.c if (sym_set_tristate_value(sym, newval)) sym 228 scripts/kconfig/conf.c struct symbol *sym, *def_sym; sym 233 scripts/kconfig/conf.c sym = menu->sym; sym 234 scripts/kconfig/conf.c type = sym_get_type(sym); sym 235 scripts/kconfig/conf.c is_new = !sym_has_value(sym); sym 236 scripts/kconfig/conf.c if (sym_is_changable(sym)) { sym 238 scripts/kconfig/conf.c sym_calc_value(sym); sym 239 scripts/kconfig/conf.c switch (sym_get_tristate_value(sym)) { sym 248 scripts/kconfig/conf.c switch (sym_get_tristate_value(sym)) { sym 263 scripts/kconfig/conf.c def_sym = sym_get_choice_value(sym); sym 269 scripts/kconfig/conf.c if (!child->sym) { sym 274 scripts/kconfig/conf.c if (child->sym == def_sym) { sym 280 scripts/kconfig/conf.c if (child->sym->name) sym 281 scripts/kconfig/conf.c printf(" (%s)", child->sym->name); sym 282 scripts/kconfig/conf.c if (!sym_has_value(child->sym)) sym 325 scripts/kconfig/conf.c if (!child->sym || !menu_is_visible(child)) sym 336 scripts/kconfig/conf.c sym_set_choice_value(sym, child->sym); sym 348 scripts/kconfig/conf.c struct symbol *sym; sym 355 scripts/kconfig/conf.c sym = menu->sym; sym 378 scripts/kconfig/conf.c if (!sym) sym 381 scripts/kconfig/conf.c if (sym_is_choice(sym)) { sym 383 scripts/kconfig/conf.c if (sym->curr.tri != mod) sym 388 scripts/kconfig/conf.c switch (sym->type) { sym 400 scripts/kconfig/conf.c if (sym) sym 404 scripts/kconfig/conf.c if (sym) sym 410 scripts/kconfig/conf.c struct symbol *sym; sym 416 scripts/kconfig/conf.c sym = menu->sym; sym 417 scripts/kconfig/conf.c if (sym && !sym_has_value(sym)) { sym 418 scripts/kconfig/conf.c if (sym_is_changable(sym) || sym 419 scripts/kconfig/conf.c (sym_is_choice(sym) && sym_get_tristate_value(sym) == yes)) { sym 46 scripts/kconfig/confdata.c struct symbol *sym; sym 60 scripts/kconfig/confdata.c sym = sym_lookup(name, 0); sym 61 scripts/kconfig/confdata.c sym_calc_value(sym); sym 62 scripts/kconfig/confdata.c strcat(res_value, sym_get_string_value(sym)); sym 90 scripts/kconfig/confdata.c switch (sym->type) { sym 93 scripts/kconfig/confdata.c sym->def[def].tri = mod; sym 94 scripts/kconfig/confdata.c sym->flags |= def_flags; sym 99 scripts/kconfig/confdata.c sym->def[def].tri = yes; sym 100 scripts/kconfig/confdata.c sym->flags |= def_flags; sym 104 scripts/kconfig/confdata.c sym->def[def].tri = no; sym 105 scripts/kconfig/confdata.c sym->flags |= def_flags; sym 108 scripts/kconfig/confdata.c conf_warning("symbol value '%s' invalid for %s", p, sym->name); sym 114 scripts/kconfig/confdata.c sym->type = S_STRING; sym 134 scripts/kconfig/confdata.c if (sym_string_valid(sym, p)) { sym 135 scripts/kconfig/confdata.c sym->def[def].val = strdup(p); sym 136 scripts/kconfig/confdata.c sym->flags |= def_flags; sym 138 scripts/kconfig/confdata.c conf_warning("symbol value '%s' invalid for %s", p, sym->name); sym 153 scripts/kconfig/confdata.c struct symbol *sym; sym 173 scripts/kconfig/confdata.c name = conf_expand_value(prop->expr->left.sym->name); sym 193 scripts/kconfig/confdata.c for_all_symbols(i, sym) { sym 194 scripts/kconfig/confdata.c sym->flags |= SYMBOL_CHANGED; sym 195 scripts/kconfig/confdata.c sym->flags &= ~(def_flags|SYMBOL_VALID); sym 196 scripts/kconfig/confdata.c if (sym_is_choice(sym)) sym 197 scripts/kconfig/confdata.c sym->flags |= def_flags; sym 198 scripts/kconfig/confdata.c switch (sym->type) { sym 202 scripts/kconfig/confdata.c if (sym->def[def].val) sym 203 scripts/kconfig/confdata.c free(sym->def[def].val); sym 205 scripts/kconfig/confdata.c sym->def[def].val = NULL; sym 206 scripts/kconfig/confdata.c sym->def[def].tri = no; sym 212 scripts/kconfig/confdata.c sym = NULL; sym 224 scripts/kconfig/confdata.c sym = sym_find(line + 9); sym 225 scripts/kconfig/confdata.c if (!sym) { sym 230 scripts/kconfig/confdata.c sym = sym_lookup(line + 9, 0); sym 231 scripts/kconfig/confdata.c if (sym->type == S_UNKNOWN) sym 232 scripts/kconfig/confdata.c sym->type = S_BOOLEAN; sym 234 scripts/kconfig/confdata.c if (sym->flags & def_flags) { sym 235 scripts/kconfig/confdata.c conf_warning("override: reassigning to symbol %s", sym->name); sym 237 scripts/kconfig/confdata.c switch (sym->type) { sym 240 scripts/kconfig/confdata.c sym->def[def].tri = no; sym 241 scripts/kconfig/confdata.c sym->flags |= def_flags; sym 263 scripts/kconfig/confdata.c sym = sym_find(line + 7); sym 264 scripts/kconfig/confdata.c if (!sym) { sym 269 scripts/kconfig/confdata.c sym = sym_lookup(line + 7, 0); sym 270 scripts/kconfig/confdata.c if (sym->type == S_UNKNOWN) sym 271 scripts/kconfig/confdata.c sym->type = S_OTHER; sym 273 scripts/kconfig/confdata.c if (sym->flags & def_flags) { sym 274 scripts/kconfig/confdata.c conf_warning("override: reassigning to symbol %s", sym->name); sym 276 scripts/kconfig/confdata.c if (conf_set_sym_val(sym, def, def_flags, p)) sym 286 scripts/kconfig/confdata.c if (sym && sym_is_choice_value(sym)) { sym 287 scripts/kconfig/confdata.c struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym)); sym 288 scripts/kconfig/confdata.c switch (sym->def[def].tri) { sym 293 scripts/kconfig/confdata.c conf_warning("%s creates inconsistent choice state", sym->name); sym 299 scripts/kconfig/confdata.c conf_warning("override: %s changes choice state", sym->name); sym 300 scripts/kconfig/confdata.c cs->def[def].val = sym; sym 303 scripts/kconfig/confdata.c cs->def[def].tri = EXPR_OR(cs->def[def].tri, sym->def[def].tri); sym 315 scripts/kconfig/confdata.c struct symbol *sym, *choice_sym; sym 325 scripts/kconfig/confdata.c for_all_symbols(i, sym) { sym 326 scripts/kconfig/confdata.c sym_calc_value(sym); sym 327 scripts/kconfig/confdata.c if (sym_is_choice(sym) || (sym->flags & SYMBOL_AUTO)) sym 329 scripts/kconfig/confdata.c if (sym_has_value(sym) && (sym->flags & SYMBOL_WRITE)) { sym 331 scripts/kconfig/confdata.c switch (sym->type) { sym 334 scripts/kconfig/confdata.c if (sym->def[S_DEF_USER].tri != sym_get_tristate_value(sym)) sym 336 scripts/kconfig/confdata.c if (!sym_is_choice(sym)) sym 339 scripts/kconfig/confdata.c if (!strcmp(sym->curr.val, sym->def[S_DEF_USER].val)) sym 343 scripts/kconfig/confdata.c } else if (!sym_has_value(sym) && !(sym->flags & SYMBOL_WRITE)) sym 349 scripts/kconfig/confdata.c if (!sym_is_choice(sym)) sym 354 scripts/kconfig/confdata.c prop = sym_get_choice_prop(sym); sym 355 scripts/kconfig/confdata.c flags = sym->flags; sym 359 scripts/kconfig/confdata.c sym->flags &= flags | ~SYMBOL_DEF_USER; sym 362 scripts/kconfig/confdata.c for_all_symbols(i, sym) { sym 363 scripts/kconfig/confdata.c if (sym_has_value(sym) && !sym_is_choice_value(sym)) { sym 369 scripts/kconfig/confdata.c if (sym->visible == no && !conf_unsaved) sym 370 scripts/kconfig/confdata.c sym->flags &= ~SYMBOL_DEF_USER; sym 371 scripts/kconfig/confdata.c switch (sym->type) { sym 376 scripts/kconfig/confdata.c if (sym_string_within_range(sym, sym->def[S_DEF_USER].val)) sym 378 scripts/kconfig/confdata.c sym->flags &= ~(SYMBOL_VALID|SYMBOL_DEF_USER); sym 395 scripts/kconfig/confdata.c struct symbol *sym; sym 439 scripts/kconfig/confdata.c sym = sym_lookup("KERNELVERSION", 0); sym 440 scripts/kconfig/confdata.c sym_calc_value(sym); sym 451 scripts/kconfig/confdata.c sym_get_string_value(sym), sym 460 scripts/kconfig/confdata.c sym = menu->sym; sym 461 scripts/kconfig/confdata.c if (!sym) { sym 469 scripts/kconfig/confdata.c } else if (!(sym->flags & SYMBOL_CHOICE)) { sym 470 scripts/kconfig/confdata.c sym_calc_value(sym); sym 471 scripts/kconfig/confdata.c if (!(sym->flags & SYMBOL_WRITE)) sym 473 scripts/kconfig/confdata.c sym->flags &= ~SYMBOL_WRITE; sym 474 scripts/kconfig/confdata.c type = sym->type; sym 483 scripts/kconfig/confdata.c switch (sym_get_tristate_value(sym)) { sym 485 scripts/kconfig/confdata.c fprintf(out, "# CONFIG_%s is not set\n", sym->name); sym 488 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=m\n", sym->name); sym 491 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=y\n", sym->name); sym 496 scripts/kconfig/confdata.c str = sym_get_string_value(sym); sym 497 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=\"", sym->name); sym 511 scripts/kconfig/confdata.c str = sym_get_string_value(sym); sym 513 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=%s\n", sym->name, str); sym 517 scripts/kconfig/confdata.c str = sym_get_string_value(sym); sym 518 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=%s\n", sym->name, str); sym 560 scripts/kconfig/confdata.c struct symbol *sym; sym 573 scripts/kconfig/confdata.c for_all_symbols(i, sym) { sym 574 scripts/kconfig/confdata.c sym_calc_value(sym); sym 575 scripts/kconfig/confdata.c if ((sym->flags & SYMBOL_AUTO) || !sym->name) sym 577 scripts/kconfig/confdata.c if (sym->flags & SYMBOL_WRITE) { sym 578 scripts/kconfig/confdata.c if (sym->flags & SYMBOL_DEF_AUTO) { sym 583 scripts/kconfig/confdata.c switch (sym->type) { sym 586 scripts/kconfig/confdata.c if (sym_get_tristate_value(sym) == sym 587 scripts/kconfig/confdata.c sym->def[S_DEF_AUTO].tri) sym 593 scripts/kconfig/confdata.c if (!strcmp(sym_get_string_value(sym), sym 594 scripts/kconfig/confdata.c sym->def[S_DEF_AUTO].val)) sym 605 scripts/kconfig/confdata.c switch (sym->type) { sym 608 scripts/kconfig/confdata.c if (sym_get_tristate_value(sym) == no) sym 615 scripts/kconfig/confdata.c } else if (!(sym->flags & SYMBOL_DEF_AUTO)) sym 625 scripts/kconfig/confdata.c s = sym->name; sym 671 scripts/kconfig/confdata.c struct symbol *sym; sym 695 scripts/kconfig/confdata.c sym = sym_lookup("KERNELVERSION", 0); sym 696 scripts/kconfig/confdata.c sym_calc_value(sym); sym 703 scripts/kconfig/confdata.c sym_get_string_value(sym), ctime(&now)); sym 710 scripts/kconfig/confdata.c sym_get_string_value(sym), ctime(&now)); sym 712 scripts/kconfig/confdata.c for_all_symbols(i, sym) { sym 713 scripts/kconfig/confdata.c sym_calc_value(sym); sym 714 scripts/kconfig/confdata.c if (!(sym->flags & SYMBOL_WRITE) || !sym->name) sym 716 scripts/kconfig/confdata.c switch (sym->type) { sym 719 scripts/kconfig/confdata.c switch (sym_get_tristate_value(sym)) { sym 723 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=m\n", sym->name); sym 724 scripts/kconfig/confdata.c fprintf(out_h, "#define CONFIG_%s_MODULE 1\n", sym->name); sym 727 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=y\n", sym->name); sym 728 scripts/kconfig/confdata.c fprintf(out_h, "#define CONFIG_%s 1\n", sym->name); sym 733 scripts/kconfig/confdata.c str = sym_get_string_value(sym); sym 734 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=\"", sym->name); sym 735 scripts/kconfig/confdata.c fprintf(out_h, "#define CONFIG_%s \"", sym->name); sym 753 scripts/kconfig/confdata.c str = sym_get_string_value(sym); sym 755 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=%s\n", sym->name, str); sym 756 scripts/kconfig/confdata.c fprintf(out_h, "#define CONFIG_%s 0x%s\n", sym->name, str); sym 760 scripts/kconfig/confdata.c str = sym_get_string_value(sym); sym 761 scripts/kconfig/confdata.c fprintf(out, "CONFIG_%s=%s\n", sym->name, str); sym 762 scripts/kconfig/confdata.c fprintf(out_h, "#define CONFIG_%s %s\n", sym->name, str); sym 819 scripts/kconfig/confdata.c struct symbol *sym, *csym; sym 824 scripts/kconfig/confdata.c for_all_symbols(i, sym) { sym 825 scripts/kconfig/confdata.c if (sym_has_value(sym)) sym 827 scripts/kconfig/confdata.c switch (sym_get_type(sym)) { sym 832 scripts/kconfig/confdata.c sym->def[S_DEF_USER].tri = yes; sym 835 scripts/kconfig/confdata.c sym->def[S_DEF_USER].tri = mod; sym 838 scripts/kconfig/confdata.c sym->def[S_DEF_USER].tri = no; sym 841 scripts/kconfig/confdata.c sym->def[S_DEF_USER].tri = (tristate)(rand() % 3); sym 846 scripts/kconfig/confdata.c if (!sym_is_choice(sym) || mode != def_random) sym 847 scripts/kconfig/confdata.c sym->flags |= SYMBOL_DEF_USER; sym 870 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) { sym 871 scripts/kconfig/confdata.c if (sym->visible == no) sym 874 scripts/kconfig/confdata.c csym->def[S_DEF_USER].val = sym; sym 20 scripts/kconfig/expr.c e->left.sym = sym; sym 48 scripts/kconfig/expr.c e->left.sym = s1; sym 49 scripts/kconfig/expr.c e->right.sym = s2; sym 85 scripts/kconfig/expr.c e->left.sym = org->left.sym; sym 86 scripts/kconfig/expr.c e->right.sym = org->right.sym; sym 148 scripts/kconfig/expr.c e1->left.sym == e2->left.sym && sym 149 scripts/kconfig/expr.c (e1->left.sym == &symbol_yes || e1->left.sym == &symbol_no)) sym 203 scripts/kconfig/expr.c return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; sym 205 scripts/kconfig/expr.c return e1->left.sym == e2->left.sym; sym 215 scripts/kconfig/expr.c e1->left.sym == e2->left.sym); sym 245 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_no) { sym 249 scripts/kconfig/expr.c e->left.sym = &symbol_no; sym 252 scripts/kconfig/expr.c } else if (e->left.expr->left.sym == &symbol_yes) { sym 261 scripts/kconfig/expr.c if (e->right.expr->left.sym == &symbol_no) { sym 265 scripts/kconfig/expr.c e->left.sym = &symbol_no; sym 268 scripts/kconfig/expr.c } else if (e->right.expr->left.sym == &symbol_yes) { sym 281 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_no) { sym 287 scripts/kconfig/expr.c } else if (e->left.expr->left.sym == &symbol_yes) { sym 291 scripts/kconfig/expr.c e->left.sym = &symbol_yes; sym 297 scripts/kconfig/expr.c if (e->right.expr->left.sym == &symbol_no) { sym 303 scripts/kconfig/expr.c } else if (e->right.expr->left.sym == &symbol_yes) { sym 307 scripts/kconfig/expr.c e->left.sym = &symbol_yes; sym 335 scripts/kconfig/expr.c if (e->left.sym->type == S_TRISTATE) { sym 336 scripts/kconfig/expr.c if (e->right.sym == &symbol_no) { sym 338 scripts/kconfig/expr.c e->right.sym = NULL; sym 366 scripts/kconfig/expr.c sym1 = tmp->left.sym; sym 368 scripts/kconfig/expr.c sym1 = e1->left.sym; sym 372 scripts/kconfig/expr.c sym2 = e2->left.expr->left.sym; sym 374 scripts/kconfig/expr.c sym2 = e2->left.sym; sym 381 scripts/kconfig/expr.c ((e1->right.sym == &symbol_yes && e2->right.sym == &symbol_mod) || sym 382 scripts/kconfig/expr.c (e1->right.sym == &symbol_mod && e2->right.sym == &symbol_yes))) { sym 387 scripts/kconfig/expr.c ((e1->right.sym == &symbol_yes && e2->right.sym == &symbol_no) || sym 388 scripts/kconfig/expr.c (e1->right.sym == &symbol_no && e2->right.sym == &symbol_yes))) { sym 393 scripts/kconfig/expr.c ((e1->right.sym == &symbol_mod && e2->right.sym == &symbol_no) || sym 394 scripts/kconfig/expr.c (e1->right.sym == &symbol_no && e2->right.sym == &symbol_mod))) { sym 430 scripts/kconfig/expr.c sym1 = tmp->left.sym; sym 432 scripts/kconfig/expr.c sym1 = e1->left.sym; sym 436 scripts/kconfig/expr.c sym2 = e2->left.expr->left.sym; sym 438 scripts/kconfig/expr.c sym2 = e2->left.sym; sym 444 scripts/kconfig/expr.c if ((e1->type == E_SYMBOL && e2->type == E_EQUAL && e2->right.sym == &symbol_yes) || sym 445 scripts/kconfig/expr.c (e2->type == E_SYMBOL && e1->type == E_EQUAL && e1->right.sym == &symbol_yes)) sym 449 scripts/kconfig/expr.c if ((e1->type == E_SYMBOL && e2->type == E_UNEQUAL && e2->right.sym == &symbol_no) || sym 450 scripts/kconfig/expr.c (e2->type == E_SYMBOL && e1->type == E_UNEQUAL && e1->right.sym == &symbol_no)) sym 454 scripts/kconfig/expr.c if ((e1->type == E_SYMBOL && e2->type == E_UNEQUAL && e2->right.sym == &symbol_mod) || sym 455 scripts/kconfig/expr.c (e2->type == E_SYMBOL && e1->type == E_UNEQUAL && e1->right.sym == &symbol_mod)) sym 462 scripts/kconfig/expr.c sym2 = e1->right.sym; sym 463 scripts/kconfig/expr.c if ((e2->right.sym->flags & SYMBOL_CONST) && (sym2->flags & SYMBOL_CONST)) sym 464 scripts/kconfig/expr.c return sym2 != e2->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) sym 469 scripts/kconfig/expr.c sym2 = e2->right.sym; sym 470 scripts/kconfig/expr.c if ((e1->right.sym->flags & SYMBOL_CONST) && (sym2->flags & SYMBOL_CONST)) sym 471 scripts/kconfig/expr.c return sym2 != e1->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) sym 475 scripts/kconfig/expr.c ((e1->right.sym == &symbol_yes && e2->right.sym == &symbol_no) || sym 476 scripts/kconfig/expr.c (e1->right.sym == &symbol_no && e2->right.sym == &symbol_yes))) sym 481 scripts/kconfig/expr.c ((e1->right.sym == &symbol_yes && e2->right.sym == &symbol_mod) || sym 482 scripts/kconfig/expr.c (e1->right.sym == &symbol_mod && e2->right.sym == &symbol_yes))) sym 487 scripts/kconfig/expr.c ((e1->right.sym == &symbol_mod && e2->right.sym == &symbol_no) || sym 488 scripts/kconfig/expr.c (e1->right.sym == &symbol_no && e2->right.sym == &symbol_mod))) sym 492 scripts/kconfig/expr.c if ((e1->type == E_SYMBOL && e2->type == E_EQUAL && e2->right.sym == &symbol_mod) || sym 493 scripts/kconfig/expr.c (e2->type == E_SYMBOL && e1->type == E_EQUAL && e1->right.sym == &symbol_mod) || sym 494 scripts/kconfig/expr.c (e1->type == E_SYMBOL && e2->type == E_UNEQUAL && e2->right.sym == &symbol_yes) || sym 495 scripts/kconfig/expr.c (e2->type == E_SYMBOL && e1->type == E_UNEQUAL && e1->right.sym == &symbol_yes)) sym 660 scripts/kconfig/expr.c if (e->left.sym->type != S_BOOLEAN) sym 662 scripts/kconfig/expr.c if (e->right.sym == &symbol_no) { sym 664 scripts/kconfig/expr.c e->left.expr = expr_alloc_symbol(e->left.sym); sym 665 scripts/kconfig/expr.c e->right.sym = NULL; sym 668 scripts/kconfig/expr.c if (e->right.sym == &symbol_mod) { sym 669 scripts/kconfig/expr.c printf("boolean symbol %s tested for 'm'? test forced to 'n'\n", e->left.sym->name); sym 671 scripts/kconfig/expr.c e->left.sym = &symbol_no; sym 672 scripts/kconfig/expr.c e->right.sym = NULL; sym 675 scripts/kconfig/expr.c if (e->right.sym == &symbol_yes) { sym 677 scripts/kconfig/expr.c e->right.sym = NULL; sym 682 scripts/kconfig/expr.c if (e->left.sym->type != S_BOOLEAN) sym 684 scripts/kconfig/expr.c if (e->right.sym == &symbol_no) { sym 686 scripts/kconfig/expr.c e->right.sym = NULL; sym 689 scripts/kconfig/expr.c if (e->right.sym == &symbol_mod) { sym 690 scripts/kconfig/expr.c printf("boolean symbol %s tested for 'm'? test forced to 'y'\n", e->left.sym->name); sym 692 scripts/kconfig/expr.c e->left.sym = &symbol_yes; sym 693 scripts/kconfig/expr.c e->right.sym = NULL; sym 696 scripts/kconfig/expr.c if (e->right.sym == &symbol_yes) { sym 698 scripts/kconfig/expr.c e->left.expr = expr_alloc_symbol(e->left.sym); sym 699 scripts/kconfig/expr.c e->right.sym = NULL; sym 740 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_yes) { sym 746 scripts/kconfig/expr.c e->left.sym = &symbol_no; sym 749 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_mod) { sym 755 scripts/kconfig/expr.c e->left.sym = &symbol_mod; sym 758 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_no) { sym 764 scripts/kconfig/expr.c e->left.sym = &symbol_yes; sym 786 scripts/kconfig/expr.c return expr_contains_symbol(dep->left.expr, sym) || sym 787 scripts/kconfig/expr.c expr_contains_symbol(dep->right.expr, sym); sym 789 scripts/kconfig/expr.c return dep->left.sym == sym; sym 792 scripts/kconfig/expr.c return dep->left.sym == sym || sym 793 scripts/kconfig/expr.c dep->right.sym == sym; sym 795 scripts/kconfig/expr.c return expr_contains_symbol(dep->left.expr, sym); sym 809 scripts/kconfig/expr.c return expr_depends_symbol(dep->left.expr, sym) || sym 810 scripts/kconfig/expr.c expr_depends_symbol(dep->right.expr, sym); sym 812 scripts/kconfig/expr.c return dep->left.sym == sym; sym 814 scripts/kconfig/expr.c if (dep->left.sym == sym) { sym 815 scripts/kconfig/expr.c if (dep->right.sym == &symbol_yes || dep->right.sym == &symbol_mod) sym 820 scripts/kconfig/expr.c if (dep->left.sym == sym) { sym 821 scripts/kconfig/expr.c if (dep->right.sym == &symbol_no) sym 887 scripts/kconfig/expr.c e = expr_alloc_symbol(sym); sym 894 scripts/kconfig/expr.c e1 = expr_trans_compare(e->left.expr, E_EQUAL, sym); sym 895 scripts/kconfig/expr.c e2 = expr_trans_compare(e->right.expr, E_EQUAL, sym); sym 896 scripts/kconfig/expr.c if (sym == &symbol_yes) sym 898 scripts/kconfig/expr.c if (sym == &symbol_no) sym 904 scripts/kconfig/expr.c e1 = expr_trans_compare(e->left.expr, E_EQUAL, sym); sym 905 scripts/kconfig/expr.c e2 = expr_trans_compare(e->right.expr, E_EQUAL, sym); sym 906 scripts/kconfig/expr.c if (sym == &symbol_yes) sym 908 scripts/kconfig/expr.c if (sym == &symbol_no) sym 914 scripts/kconfig/expr.c return expr_trans_compare(e->left.expr, type == E_EQUAL ? E_UNEQUAL : E_EQUAL, sym); sym 918 scripts/kconfig/expr.c if (sym == &symbol_yes) sym 920 scripts/kconfig/expr.c if (sym == &symbol_mod) sym 922 scripts/kconfig/expr.c if (sym == &symbol_no) sym 925 scripts/kconfig/expr.c if (sym == &symbol_yes) sym 927 scripts/kconfig/expr.c if (sym == &symbol_mod) sym 929 scripts/kconfig/expr.c if (sym == &symbol_no) sym 934 scripts/kconfig/expr.c return expr_alloc_comp(type, e->left.sym, sym); sym 953 scripts/kconfig/expr.c sym_calc_value(e->left.sym); sym 954 scripts/kconfig/expr.c return e->left.sym->curr.tri; sym 967 scripts/kconfig/expr.c sym_calc_value(e->left.sym); sym 968 scripts/kconfig/expr.c sym_calc_value(e->right.sym); sym 969 scripts/kconfig/expr.c str1 = sym_get_string_value(e->left.sym); sym 970 scripts/kconfig/expr.c str2 = sym_get_string_value(e->right.sym); sym 973 scripts/kconfig/expr.c sym_calc_value(e->left.sym); sym 974 scripts/kconfig/expr.c sym_calc_value(e->right.sym); sym 975 scripts/kconfig/expr.c str1 = sym_get_string_value(e->left.sym); sym 976 scripts/kconfig/expr.c str2 = sym_get_string_value(e->right.sym); sym 1027 scripts/kconfig/expr.c if (e->left.sym->name) sym 1028 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); sym 1037 scripts/kconfig/expr.c if (e->left.sym->name) sym 1038 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); sym 1042 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); sym 1045 scripts/kconfig/expr.c if (e->left.sym->name) sym 1046 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); sym 1050 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); sym 1063 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); sym 1071 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); sym 1073 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); sym 39 scripts/kconfig/expr.h struct symbol *sym; sym 52 scripts/kconfig/expr.h for (e = (l); e && (s = e->right.sym); e = e->left.expr) sym 85 scripts/kconfig/expr.h #define for_all_symbols(i, sym) for (i = 0; i < 257; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTHER) sym 115 scripts/kconfig/expr.h struct symbol *sym; sym 126 scripts/kconfig/expr.h for (st = sym->prop; st; st = st->next) \ sym 128 scripts/kconfig/expr.h #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) sym 129 scripts/kconfig/expr.h #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) sym 131 scripts/kconfig/expr.h for (st = sym->prop; st; st = st->next) \ sym 138 scripts/kconfig/expr.h struct symbol *sym; sym 161 scripts/kconfig/expr.h struct expr *expr_alloc_symbol(struct symbol *sym); sym 176 scripts/kconfig/expr.h int expr_contains_symbol(struct expr *dep, struct symbol *sym); sym 177 scripts/kconfig/expr.h bool expr_depends_symbol(struct expr *dep, struct symbol *sym); sym 181 scripts/kconfig/expr.h struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); sym 189 scripts/kconfig/expr.h return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); sym 194 scripts/kconfig/expr.h return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no); sym 468 scripts/kconfig/gconf.c if (menu->sym && menu->sym->name) sym 469 scripts/kconfig/gconf.c name = g_strdup_printf(menu->sym->name); sym 881 scripts/kconfig/gconf.c struct symbol *sym; sym 887 scripts/kconfig/gconf.c sym = menu->sym; sym 892 scripts/kconfig/gconf.c sym_set_string_value(sym, new_def); sym 902 scripts/kconfig/gconf.c struct symbol *sym = menu->sym; sym 905 scripts/kconfig/gconf.c if (!sym) sym 917 scripts/kconfig/gconf.c switch (sym_get_type(sym)) { sym 920 scripts/kconfig/gconf.c oldval = sym_get_tristate_value(sym); sym 921 scripts/kconfig/gconf.c if (!sym_tristate_within_range(sym, newval)) sym 923 scripts/kconfig/gconf.c sym_set_tristate_value(sym, newval); sym 943 scripts/kconfig/gconf.c if (!menu->sym) sym 946 scripts/kconfig/gconf.c sym_toggle_tristate_value(menu->sym); sym 1164 scripts/kconfig/gconf.c struct symbol *sym = menu->sym; sym 1177 scripts/kconfig/gconf.c sym && sym_has_value(sym) ? "(NEW)" : ""); sym 1204 scripts/kconfig/gconf.c if (!sym) sym 1206 scripts/kconfig/gconf.c row[COL_NAME] = g_strdup(sym->name); sym 1208 scripts/kconfig/gconf.c sym_calc_value(sym); sym 1209 scripts/kconfig/gconf.c sym->flags &= ~SYMBOL_CHANGED; sym 1211 scripts/kconfig/gconf.c if (sym_is_choice(sym)) { // parse childs for getting final value sym 1213 scripts/kconfig/gconf.c struct symbol *def_sym = sym_get_choice_value(sym); sym 1220 scripts/kconfig/gconf.c && child->sym == def_sym) sym 1228 scripts/kconfig/gconf.c if (sym->flags & SYMBOL_CHOICEVAL) sym 1231 scripts/kconfig/gconf.c stype = sym_get_type(sym); sym 1236 scripts/kconfig/gconf.c if (sym_is_choice(sym)) sym 1239 scripts/kconfig/gconf.c val = sym_get_tristate_value(sym); sym 1260 scripts/kconfig/gconf.c if (val != no && sym_tristate_within_range(sym, no)) sym 1262 scripts/kconfig/gconf.c if (val != mod && sym_tristate_within_range(sym, mod)) sym 1264 scripts/kconfig/gconf.c if (val != yes && sym_tristate_within_range(sym, yes)) sym 1270 scripts/kconfig/gconf.c def = sym_get_string_value(sym); sym 1375 scripts/kconfig/gconf.c struct symbol *sym; sym 1386 scripts/kconfig/gconf.c sym = child1->sym; sym 1438 scripts/kconfig/gconf.c } else if (sym && (sym->flags & SYMBOL_CHANGED)) { sym 1454 scripts/kconfig/gconf.c struct symbol *sym; sym 1466 scripts/kconfig/gconf.c sym = child->sym; sym 1469 scripts/kconfig/gconf.c if (sym) sym 1470 scripts/kconfig/gconf.c sym->flags &= ~SYMBOL_CHANGED; sym 1487 scripts/kconfig/gconf.c if (sym) { sym 1488 scripts/kconfig/gconf.c dbg_print_stype(sym->type); sym 1490 scripts/kconfig/gconf.c dbg_print_flags(sym->flags); sym 173 scripts/kconfig/kxgettext.c if (menu->sym != NULL && menu_has_help(menu)) sym 174 scripts/kconfig/kxgettext.c message__add(menu_get_help(menu), menu->sym->name, sym 90 scripts/kconfig/lkc.h void menu_add_entry(struct symbol *sym); sym 96 scripts/kconfig/lkc.h void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); sym 122 scripts/kconfig/lkc.h void sym_set_changed(struct symbol *sym); sym 123 scripts/kconfig/lkc.h struct symbol *sym_check_deps(struct symbol *sym); sym 124 scripts/kconfig/lkc.h struct property *prop_alloc(enum prop_type type, struct symbol *sym); sym 126 scripts/kconfig/lkc.h struct property *sym_get_env_prop(struct symbol *sym); sym 128 scripts/kconfig/lkc.h static inline tristate sym_get_tristate_value(struct symbol *sym) sym 130 scripts/kconfig/lkc.h return sym->curr.tri; sym 134 scripts/kconfig/lkc.h static inline struct symbol *sym_get_choice_value(struct symbol *sym) sym 136 scripts/kconfig/lkc.h return (struct symbol *)sym->curr.val; sym 144 scripts/kconfig/lkc.h static inline bool sym_is_choice(struct symbol *sym) sym 146 scripts/kconfig/lkc.h return sym->flags & SYMBOL_CHOICE ? true : false; sym 149 scripts/kconfig/lkc.h static inline bool sym_is_choice_value(struct symbol *sym) sym 151 scripts/kconfig/lkc.h return sym->flags & SYMBOL_CHOICEVAL ? true : false; sym 154 scripts/kconfig/lkc.h static inline bool sym_is_optional(struct symbol *sym) sym 156 scripts/kconfig/lkc.h return sym->flags & SYMBOL_OPTIONAL ? true : false; sym 159 scripts/kconfig/lkc.h static inline bool sym_has_value(struct symbol *sym) sym 161 scripts/kconfig/lkc.h return sym->flags & SYMBOL_DEF_USER ? true : false; sym 308 scripts/kconfig/mconf.c if (menu->sym) { sym 309 scripts/kconfig/mconf.c str_printf(r, " (%s [=%s])", menu->sym->name ? sym 310 scripts/kconfig/mconf.c menu->sym->name : _("<choice>"), sym 311 scripts/kconfig/mconf.c sym_get_string_value(menu->sym)); sym 323 scripts/kconfig/mconf.c if (sym && sym->name) sym 324 scripts/kconfig/mconf.c str_printf(r, "Symbol: %s [=%s]\n", sym->name, sym 325 scripts/kconfig/mconf.c sym_get_string_value(sym)); sym 326 scripts/kconfig/mconf.c for_all_prompts(sym, prop) sym 329 scripts/kconfig/mconf.c for_all_properties(sym, prop, P_SELECT) { sym 339 scripts/kconfig/mconf.c if (sym->rev_dep.expr) { sym 341 scripts/kconfig/mconf.c expr_gstr_print(sym->rev_dep.expr, r); sym 349 scripts/kconfig/mconf.c struct symbol *sym; sym 353 scripts/kconfig/mconf.c for (i = 0; sym_arr && (sym = sym_arr[i]); i++) sym 354 scripts/kconfig/mconf.c get_symbol_str(&res, sym); sym 365 scripts/kconfig/mconf.c struct symbol *sym; sym 367 scripts/kconfig/mconf.c sym = sym_lookup("KERNELVERSION", 0); sym 368 scripts/kconfig/mconf.c sym_calc_value(sym); sym 371 scripts/kconfig/mconf.c config_filename, sym_get_string_value(sym)); sym 418 scripts/kconfig/mconf.c struct symbol *sym; sym 428 scripts/kconfig/mconf.c sym = menu->sym; sym 430 scripts/kconfig/mconf.c if (!sym) { sym 470 scripts/kconfig/mconf.c type = sym_get_type(sym); sym 471 scripts/kconfig/mconf.c if (sym_is_choice(sym)) { sym 472 scripts/kconfig/mconf.c struct symbol *def_sym = sym_get_choice_value(sym); sym 477 scripts/kconfig/mconf.c if (menu_is_visible(child) && child->sym == def_sym) sym 481 scripts/kconfig/mconf.c val = sym_get_tristate_value(sym); sym 482 scripts/kconfig/mconf.c if (sym_is_changable(sym)) { sym 525 scripts/kconfig/mconf.c val = sym_get_tristate_value(sym); sym 526 scripts/kconfig/mconf.c if (sym_is_choice_value(sym) && val == yes) { sym 533 scripts/kconfig/mconf.c if (sym_is_changable(sym)) sym 546 scripts/kconfig/mconf.c if (sym_is_changable(sym)) { sym 547 scripts/kconfig/mconf.c if (sym->rev_dep.tri == mod) sym 557 scripts/kconfig/mconf.c tmp = 2 + strlen(sym_get_string_value(sym)); /* () = 2 */ sym 558 scripts/kconfig/mconf.c item_make("(%s)", sym_get_string_value(sym)); sym 563 scripts/kconfig/mconf.c (sym_has_value(sym) || !sym_is_changable(sym)) ? sym 571 scripts/kconfig/mconf.c (sym_has_value(sym) || !sym_is_changable(sym)) ? sym 590 scripts/kconfig/mconf.c struct symbol *sym; sym 623 scripts/kconfig/mconf.c sym = submenu->sym; sym 625 scripts/kconfig/mconf.c sym = NULL; sym 637 scripts/kconfig/mconf.c if (sym_is_choice(sym) && sym_get_tristate_value(sym) == yes) sym 654 scripts/kconfig/mconf.c if (sym) sym 661 scripts/kconfig/mconf.c if (sym_set_tristate_value(sym, yes)) sym 663 scripts/kconfig/mconf.c if (sym_set_tristate_value(sym, mod)) sym 669 scripts/kconfig/mconf.c sym_set_tristate_value(sym, no); sym 673 scripts/kconfig/mconf.c sym_set_tristate_value(sym, mod); sym 677 scripts/kconfig/mconf.c sym_toggle_tristate_value(sym); sym 702 scripts/kconfig/mconf.c struct symbol *sym = menu->sym; sym 706 scripts/kconfig/mconf.c if (sym->name) { sym 707 scripts/kconfig/mconf.c str_printf(&help, "CONFIG_%s:\n\n", sym->name); sym 714 scripts/kconfig/mconf.c get_symbol_str(&help, sym); sym 725 scripts/kconfig/mconf.c active = sym_get_choice_value(menu->sym); sym 737 scripts/kconfig/mconf.c if (child->sym == active) sym 739 scripts/kconfig/mconf.c if (child->sym == sym_get_choice_value(menu->sym)) sym 751 scripts/kconfig/mconf.c sym_set_tristate_value(child->sym, yes); sym 758 scripts/kconfig/mconf.c active = child->sym; sym 778 scripts/kconfig/mconf.c switch (sym_get_type(menu->sym)) { sym 794 scripts/kconfig/mconf.c sym_get_string_value(menu->sym)); sym 797 scripts/kconfig/mconf.c if (sym_set_string_value(menu->sym, dialog_input_result)) sym 50 scripts/kconfig/menu.c menu->sym = sym; sym 93 scripts/kconfig/menu.c if (e->left.sym == &symbol_mod) sym 109 scripts/kconfig/menu.c struct symbol *sym = current_entry->sym; sym 111 scripts/kconfig/menu.c if (sym->type == type) sym 113 scripts/kconfig/menu.c if (sym->type == S_UNKNOWN) { sym 114 scripts/kconfig/menu.c sym->type = type; sym 118 scripts/kconfig/menu.c sym->name ? sym->name : "<choice>", sym 119 scripts/kconfig/menu.c sym_type_name(sym->type), sym_type_name(type)); sym 124 scripts/kconfig/menu.c struct property *prop = prop_alloc(type, current_entry->sym); sym 157 scripts/kconfig/menu.c menu_add_prop(type, NULL, expr_alloc_symbol(sym), dep); sym 167 scripts/kconfig/menu.c prop->expr = expr_alloc_symbol(current_entry->sym); sym 171 scripts/kconfig/menu.c sym_defconfig_list = current_entry->sym; sym 172 scripts/kconfig/menu.c else if (sym_defconfig_list != current_entry->sym) sym 184 scripts/kconfig/menu.c (sym2->type == S_UNKNOWN && sym_string_valid(sym, sym2->name)); sym 191 scripts/kconfig/menu.c for (prop = sym->prop; prop; prop = prop->next) { sym 194 scripts/kconfig/menu.c if ((sym->type == S_STRING || sym->type == S_INT || sym->type == S_HEX) && sym 198 scripts/kconfig/menu.c " must be a single symbol", sym->name); sym 202 scripts/kconfig/menu.c if (sym->type != S_BOOLEAN && sym->type != S_TRISTATE) sym 205 scripts/kconfig/menu.c "not boolean or tristate", sym->name); sym 215 scripts/kconfig/menu.c if (sym->type != S_INT && sym->type != S_HEX) sym 218 scripts/kconfig/menu.c if (!menu_range_valid_sym(sym, prop->expr->left.sym) || sym 219 scripts/kconfig/menu.c !menu_range_valid_sym(sym, prop->expr->right.sym)) sym 231 scripts/kconfig/menu.c struct symbol *sym; sym 235 scripts/kconfig/menu.c sym = parent->sym; sym 237 scripts/kconfig/menu.c if (sym && sym_is_choice(sym)) { sym 238 scripts/kconfig/menu.c if (sym->type == S_UNKNOWN) { sym 242 scripts/kconfig/menu.c if (menu->sym && menu->sym->type != S_UNKNOWN) { sym 243 scripts/kconfig/menu.c menu_set_type(menu->sym->type); sym 251 scripts/kconfig/menu.c if (menu->sym && menu->sym->type == S_UNKNOWN) sym 252 scripts/kconfig/menu.c menu_set_type(sym->type); sym 254 scripts/kconfig/menu.c parentdep = expr_alloc_symbol(sym); sym 265 scripts/kconfig/menu.c if (menu->sym) sym 266 scripts/kconfig/menu.c prop = menu->sym->prop; sym 275 scripts/kconfig/menu.c if (menu->sym && menu->sym->type != S_TRISTATE) sym 281 scripts/kconfig/menu.c expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep))); sym 287 scripts/kconfig/menu.c } else if (sym) { sym 294 scripts/kconfig/menu.c if (!expr_contains_symbol(dep, sym)) sym 296 scripts/kconfig/menu.c if (expr_depends_symbol(dep, sym)) sym 320 scripts/kconfig/menu.c if (sym && sym_is_choice(sym) && sym 321 scripts/kconfig/menu.c menu->sym && !sym_is_choice_value(menu->sym)) { sym 323 scripts/kconfig/menu.c menu->sym->flags |= SYMBOL_CHOICEVAL; sym 326 scripts/kconfig/menu.c for (prop = menu->sym->prop; prop; prop = prop->next) { sym 333 scripts/kconfig/menu.c prop->menu->parent->sym != sym) sym 342 scripts/kconfig/menu.c if (sym->type == S_TRISTATE && menu->sym->type != S_TRISTATE) { sym 343 scripts/kconfig/menu.c basedep = expr_alloc_comp(E_EQUAL, sym, &symbol_yes); sym 345 scripts/kconfig/menu.c for (prop = menu->sym->prop; prop; prop = prop->next) { sym 352 scripts/kconfig/menu.c menu_add_symbol(P_CHOICE, sym, NULL); sym 353 scripts/kconfig/menu.c prop = sym_get_choice_prop(sym); sym 357 scripts/kconfig/menu.c (*ep)->right.sym = menu->sym; sym 371 scripts/kconfig/menu.c if (sym && !(sym->flags & SYMBOL_WARNED)) { sym 372 scripts/kconfig/menu.c if (sym->type == S_UNKNOWN) sym 375 scripts/kconfig/menu.c if (sym_is_choice(sym) && !parent->prompt) sym 379 scripts/kconfig/menu.c sym_check_prop(sym); sym 380 scripts/kconfig/menu.c sym->flags |= SYMBOL_WARNED; sym 383 scripts/kconfig/menu.c if (sym && !sym_is_optional(sym) && parent->prompt) { sym 384 scripts/kconfig/menu.c sym->rev_dep.expr = expr_alloc_or(sym->rev_dep.expr, sym 393 scripts/kconfig/menu.c struct symbol *sym; sym 398 scripts/kconfig/menu.c sym = menu->sym; sym 399 scripts/kconfig/menu.c if (sym) { sym 400 scripts/kconfig/menu.c sym_calc_value(sym); sym 407 scripts/kconfig/menu.c if (!sym || sym_get_tristate_value(menu->sym) == no) sym 420 scripts/kconfig/menu.c else if (menu->sym) sym 421 scripts/kconfig/menu.c return menu->sym->name; sym 91 scripts/kconfig/qconf.cc sym_set_string_value(menu->sym, text(dataColIdx).latin1()); sym 102 scripts/kconfig/qconf.cc struct symbol* sym; sym 115 scripts/kconfig/qconf.cc sym = menu->sym; sym 125 scripts/kconfig/qconf.cc if (sym && list->rootEntry == menu) sym 129 scripts/kconfig/qconf.cc if (sym) sym 140 scripts/kconfig/qconf.cc if (!sym) sym 143 scripts/kconfig/qconf.cc setText(nameColIdx, QString::fromLocal8Bit(sym->name)); sym 145 scripts/kconfig/qconf.cc type = sym_get_type(sym); sym 151 scripts/kconfig/qconf.cc if (!sym_is_changable(sym) && !list->showAll) { sym 158 scripts/kconfig/qconf.cc expr = sym_get_tristate_value(sym); sym 161 scripts/kconfig/qconf.cc if (sym_is_choice_value(sym) && type == S_BOOLEAN) sym 174 scripts/kconfig/qconf.cc if (sym_is_choice_value(sym) && type == S_BOOLEAN) sym 183 scripts/kconfig/qconf.cc setText(noColIdx, sym_tristate_within_range(sym, no) ? "_" : 0); sym 185 scripts/kconfig/qconf.cc setText(modColIdx, sym_tristate_within_range(sym, mod) ? "_" : 0); sym 187 scripts/kconfig/qconf.cc setText(yesColIdx, sym_tristate_within_range(sym, yes) ? "_" : 0); sym 196 scripts/kconfig/qconf.cc data = sym_get_string_value(sym); sym 210 scripts/kconfig/qconf.cc if (!sym_has_value(sym) && visible) sym 224 scripts/kconfig/qconf.cc sym_calc_value(menu->sym); sym 259 scripts/kconfig/qconf.cc sym_calc_value(menu->sym); sym 289 scripts/kconfig/qconf.cc if (sym_get_string_value(item->menu->sym)) sym 290 scripts/kconfig/qconf.cc setText(QString::fromLocal8Bit(sym_get_string_value(item->menu->sym))); sym 304 scripts/kconfig/qconf.cc sym_set_string_value(item->menu->sym, text().latin1()); sym 444 scripts/kconfig/qconf.cc rootEntry->sym && rootEntry->prompt) { sym 462 scripts/kconfig/qconf.cc struct symbol* sym; sym 466 scripts/kconfig/qconf.cc sym = item->menu ? item->menu->sym : 0; sym 467 scripts/kconfig/qconf.cc if (!sym) sym 470 scripts/kconfig/qconf.cc type = sym_get_type(sym); sym 474 scripts/kconfig/qconf.cc oldval = sym_get_tristate_value(sym); sym 476 scripts/kconfig/qconf.cc if (!sym_set_tristate_value(sym, val)) sym 487 scripts/kconfig/qconf.cc struct symbol* sym; sym 494 scripts/kconfig/qconf.cc sym = menu->sym; sym 495 scripts/kconfig/qconf.cc if (!sym) { sym 501 scripts/kconfig/qconf.cc type = sym_get_type(sym); sym 505 scripts/kconfig/qconf.cc oldexpr = sym_get_tristate_value(sym); sym 506 scripts/kconfig/qconf.cc newexpr = sym_toggle_tristate_value(sym); sym 609 scripts/kconfig/qconf.cc if (!child->sym && !child->list && !child->prompt) sym 777 scripts/kconfig/qconf.cc else if (menu->sym) sym 948 scripts/kconfig/qconf.cc else if (sym) sym 959 scripts/kconfig/qconf.cc sym = NULL; sym 971 scripts/kconfig/qconf.cc sym = NULL; sym 986 scripts/kconfig/qconf.cc if (sscanf(p, "s%p", &s) == 1 && sym != s) { sym 987 scripts/kconfig/qconf.cc sym = s; sym 999 scripts/kconfig/qconf.cc str += print_filter(sym->name); sym 1001 scripts/kconfig/qconf.cc str += print_filter(sym_get_string_value(sym)); sym 1003 scripts/kconfig/qconf.cc str += sym->visible == yes ? "y" : sym->visible == mod ? "m" : "n"; sym 1005 scripts/kconfig/qconf.cc str += debug_info(sym); sym 1012 scripts/kconfig/qconf.cc struct symbol* sym; sym 1015 scripts/kconfig/qconf.cc sym = menu->sym; sym 1016 scripts/kconfig/qconf.cc if (sym) { sym 1021 scripts/kconfig/qconf.cc if (sym->name) { sym 1024 scripts/kconfig/qconf.cc head += QString().sprintf("<a href=\"s%p\">", sym); sym 1025 scripts/kconfig/qconf.cc head += print_filter(sym->name); sym 1030 scripts/kconfig/qconf.cc } else if (sym->name) { sym 1033 scripts/kconfig/qconf.cc head += QString().sprintf("<a href=\"s%p\">", sym); sym 1034 scripts/kconfig/qconf.cc head += print_filter(sym->name); sym 1042 scripts/kconfig/qconf.cc debug = debug_info(sym); sym 1073 scripts/kconfig/qconf.cc debug += print_filter(sym_type_name(sym->type)); sym 1074 scripts/kconfig/qconf.cc if (sym_is_choice(sym)) sym 1077 scripts/kconfig/qconf.cc if (sym->rev_dep.expr) { sym 1079 scripts/kconfig/qconf.cc expr_print(sym->rev_dep.expr, expr_print_help, &debug, E_NONE); sym 1082 scripts/kconfig/qconf.cc for (struct property *prop = sym->prop; prop; prop = prop->next) { sym 1100 scripts/kconfig/qconf.cc if (sym_is_choice(sym)) { sym 1158 scripts/kconfig/qconf.cc if (sym && sym->name && !(sym->flags & SYMBOL_CONST)) { sym 1159 scripts/kconfig/qconf.cc *text += QString().sprintf("<a href=\"s%p\">", sym); sym 267 scripts/kconfig/qconf.h QString debug_info(struct symbol *sym); sym 269 scripts/kconfig/qconf.h static void expr_print_help(void *data, struct symbol *sym, const char *str); sym 273 scripts/kconfig/qconf.h struct symbol *sym; sym 41 scripts/kconfig/symbol.c struct property *prop = prop_alloc(P_DEFAULT, sym); sym 48 scripts/kconfig/symbol.c struct symbol *sym; sym 58 scripts/kconfig/symbol.c sym = sym_lookup("UNAME_RELEASE", 0); sym 59 scripts/kconfig/symbol.c sym->type = S_STRING; sym 60 scripts/kconfig/symbol.c sym->flags |= SYMBOL_AUTO; sym 61 scripts/kconfig/symbol.c sym_add_default(sym, uts.release); sym 66 scripts/kconfig/symbol.c enum symbol_type type = sym->type; sym 69 scripts/kconfig/symbol.c if (sym_is_choice_value(sym) && sym->visible == yes) sym 102 scripts/kconfig/symbol.c for_all_choices(sym, prop) sym 111 scripts/kconfig/symbol.c for_all_properties(sym, prop, P_ENV) sym 120 scripts/kconfig/symbol.c for_all_defaults(sym, prop) { sym 132 scripts/kconfig/symbol.c for_all_properties(sym, prop, P_RANGE) { sym 142 scripts/kconfig/symbol.c sym_calc_value(sym); sym 143 scripts/kconfig/symbol.c switch (sym->type) { sym 153 scripts/kconfig/symbol.c return strtol(sym->curr.val, NULL, base); sym 162 scripts/kconfig/symbol.c switch (sym->type) { sym 172 scripts/kconfig/symbol.c prop = sym_get_range_prop(sym); sym 175 scripts/kconfig/symbol.c val = strtol(sym->curr.val, NULL, base); sym 176 scripts/kconfig/symbol.c val2 = sym_get_range_val(prop->expr->left.sym, base); sym 178 scripts/kconfig/symbol.c val2 = sym_get_range_val(prop->expr->right.sym, base); sym 182 scripts/kconfig/symbol.c if (sym->type == S_INT) sym 186 scripts/kconfig/symbol.c sym->curr.val = strdup(str); sym 196 scripts/kconfig/symbol.c for_all_prompts(sym, prop) { sym 200 scripts/kconfig/symbol.c if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) sym 202 scripts/kconfig/symbol.c if (sym->visible != tri) { sym 203 scripts/kconfig/symbol.c sym->visible = tri; sym 204 scripts/kconfig/symbol.c sym_set_changed(sym); sym 206 scripts/kconfig/symbol.c if (sym_is_choice_value(sym)) sym 209 scripts/kconfig/symbol.c if (sym->rev_dep.expr) sym 210 scripts/kconfig/symbol.c tri = expr_calc_value(sym->rev_dep.expr); sym 211 scripts/kconfig/symbol.c if (tri == mod && sym_get_type(sym) == S_BOOLEAN) sym 213 scripts/kconfig/symbol.c if (sym->rev_dep.tri != tri) { sym 214 scripts/kconfig/symbol.c sym->rev_dep.tri = tri; sym 215 scripts/kconfig/symbol.c sym_set_changed(sym); sym 226 scripts/kconfig/symbol.c def_sym = sym->def[S_DEF_USER].val; sym 234 scripts/kconfig/symbol.c for_all_defaults(sym, prop) { sym 245 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); sym 253 scripts/kconfig/symbol.c sym->curr.tri = no; sym 263 scripts/kconfig/symbol.c if (!sym) sym 266 scripts/kconfig/symbol.c if (sym->flags & SYMBOL_VALID) sym 268 scripts/kconfig/symbol.c sym->flags |= SYMBOL_VALID; sym 270 scripts/kconfig/symbol.c oldval = sym->curr; sym 272 scripts/kconfig/symbol.c switch (sym->type) { sym 283 scripts/kconfig/symbol.c sym->curr.val = sym->name; sym 284 scripts/kconfig/symbol.c sym->curr.tri = no; sym 287 scripts/kconfig/symbol.c if (!sym_is_choice_value(sym)) sym 288 scripts/kconfig/symbol.c sym->flags &= ~SYMBOL_WRITE; sym 290 scripts/kconfig/symbol.c sym_calc_visibility(sym); sym 293 scripts/kconfig/symbol.c sym->curr = newval; sym 295 scripts/kconfig/symbol.c switch (sym_get_type(sym)) { sym 298 scripts/kconfig/symbol.c if (sym_is_choice_value(sym) && sym->visible == yes) { sym 299 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); sym 300 scripts/kconfig/symbol.c newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; sym 302 scripts/kconfig/symbol.c if (sym->visible != no) { sym 306 scripts/kconfig/symbol.c sym->flags |= SYMBOL_WRITE; sym 307 scripts/kconfig/symbol.c if (sym_has_value(sym)) { sym 308 scripts/kconfig/symbol.c newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, sym 309 scripts/kconfig/symbol.c sym->visible); sym 313 scripts/kconfig/symbol.c if (sym->rev_dep.tri != no) sym 314 scripts/kconfig/symbol.c sym->flags |= SYMBOL_WRITE; sym 315 scripts/kconfig/symbol.c if (!sym_is_choice(sym)) { sym 316 scripts/kconfig/symbol.c prop = sym_get_default_prop(sym); sym 318 scripts/kconfig/symbol.c sym->flags |= SYMBOL_WRITE; sym 324 scripts/kconfig/symbol.c newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); sym 326 scripts/kconfig/symbol.c if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) sym 332 scripts/kconfig/symbol.c if (sym->visible != no) { sym 333 scripts/kconfig/symbol.c sym->flags |= SYMBOL_WRITE; sym 334 scripts/kconfig/symbol.c if (sym_has_value(sym)) { sym 335 scripts/kconfig/symbol.c newval.val = sym->def[S_DEF_USER].val; sym 339 scripts/kconfig/symbol.c prop = sym_get_default_prop(sym); sym 343 scripts/kconfig/symbol.c sym->flags |= SYMBOL_WRITE; sym 353 scripts/kconfig/symbol.c sym->curr = newval; sym 354 scripts/kconfig/symbol.c if (sym_is_choice(sym) && newval.tri == yes) sym 355 scripts/kconfig/symbol.c sym->curr.val = sym_calc_choice(sym); sym 356 scripts/kconfig/symbol.c sym_validate_range(sym); sym 358 scripts/kconfig/symbol.c if (memcmp(&oldval, &sym->curr, sizeof(oldval))) { sym 359 scripts/kconfig/symbol.c sym_set_changed(sym); sym 360 scripts/kconfig/symbol.c if (modules_sym == sym) { sym 366 scripts/kconfig/symbol.c if (sym_is_choice(sym)) { sym 368 scripts/kconfig/symbol.c int flags = sym->flags & (SYMBOL_CHANGED | SYMBOL_WRITE); sym 370 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); sym 378 scripts/kconfig/symbol.c if (sym->flags & SYMBOL_AUTO) sym 379 scripts/kconfig/symbol.c sym->flags &= ~SYMBOL_WRITE; sym 384 scripts/kconfig/symbol.c struct symbol *sym; sym 387 scripts/kconfig/symbol.c for_all_symbols(i, sym) sym 388 scripts/kconfig/symbol.c sym->flags &= ~SYMBOL_VALID; sym 398 scripts/kconfig/symbol.c sym->flags |= SYMBOL_CHANGED; sym 399 scripts/kconfig/symbol.c for (prop = sym->prop; prop; prop = prop->next) { sym 407 scripts/kconfig/symbol.c struct symbol *sym; sym 410 scripts/kconfig/symbol.c for_all_symbols(i, sym) sym 411 scripts/kconfig/symbol.c sym_set_changed(sym); sym 416 scripts/kconfig/symbol.c int type = sym_get_type(sym); sym 418 scripts/kconfig/symbol.c if (sym->visible == no) sym 426 scripts/kconfig/symbol.c if (sym->visible <= sym->rev_dep.tri) sym 428 scripts/kconfig/symbol.c if (sym_is_choice_value(sym) && sym->visible == yes) sym 430 scripts/kconfig/symbol.c return val >= sym->rev_dep.tri && val <= sym->visible; sym 435 scripts/kconfig/symbol.c tristate oldval = sym_get_tristate_value(sym); sym 437 scripts/kconfig/symbol.c if (oldval != val && !sym_tristate_within_range(sym, val)) sym 440 scripts/kconfig/symbol.c if (!(sym->flags & SYMBOL_DEF_USER)) { sym 441 scripts/kconfig/symbol.c sym->flags |= SYMBOL_DEF_USER; sym 442 scripts/kconfig/symbol.c sym_set_changed(sym); sym 448 scripts/kconfig/symbol.c if (sym_is_choice_value(sym) && val == yes) { sym 449 scripts/kconfig/symbol.c struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym)); sym 453 scripts/kconfig/symbol.c cs->def[S_DEF_USER].val = sym; sym 457 scripts/kconfig/symbol.c if (e->right.sym->visible != no) sym 458 scripts/kconfig/symbol.c e->right.sym->flags |= SYMBOL_DEF_USER; sym 462 scripts/kconfig/symbol.c sym->def[S_DEF_USER].tri = val; sym 473 scripts/kconfig/symbol.c oldval = newval = sym_get_tristate_value(sym); sym 486 scripts/kconfig/symbol.c if (sym_set_tristate_value(sym, newval)) sym 496 scripts/kconfig/symbol.c switch (sym->type) { sym 540 scripts/kconfig/symbol.c switch (sym->type) { sym 542 scripts/kconfig/symbol.c return sym_string_valid(sym, str); sym 544 scripts/kconfig/symbol.c if (!sym_string_valid(sym, str)) sym 546 scripts/kconfig/symbol.c prop = sym_get_range_prop(sym); sym 550 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 10) && sym 551 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 10); sym 553 scripts/kconfig/symbol.c if (!sym_string_valid(sym, str)) sym 555 scripts/kconfig/symbol.c prop = sym_get_range_prop(sym); sym 559 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 16) && sym 560 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 16); sym 565 scripts/kconfig/symbol.c return sym_tristate_within_range(sym, yes); sym 567 scripts/kconfig/symbol.c return sym_tristate_within_range(sym, mod); sym 569 scripts/kconfig/symbol.c return sym_tristate_within_range(sym, no); sym 583 scripts/kconfig/symbol.c switch (sym->type) { sym 588 scripts/kconfig/symbol.c return sym_set_tristate_value(sym, yes); sym 590 scripts/kconfig/symbol.c return sym_set_tristate_value(sym, mod); sym 592 scripts/kconfig/symbol.c return sym_set_tristate_value(sym, no); sym 599 scripts/kconfig/symbol.c if (!sym_string_within_range(sym, newval)) sym 602 scripts/kconfig/symbol.c if (!(sym->flags & SYMBOL_DEF_USER)) { sym 603 scripts/kconfig/symbol.c sym->flags |= SYMBOL_DEF_USER; sym 604 scripts/kconfig/symbol.c sym_set_changed(sym); sym 607 scripts/kconfig/symbol.c oldval = sym->def[S_DEF_USER].val; sym 609 scripts/kconfig/symbol.c if (sym->type == S_HEX && (newval[0] != '0' || (newval[1] != 'x' && newval[1] != 'X'))) { sym 611 scripts/kconfig/symbol.c sym->def[S_DEF_USER].val = val = malloc(size); sym 615 scripts/kconfig/symbol.c sym->def[S_DEF_USER].val = val = malloc(size); sym 630 scripts/kconfig/symbol.c switch (sym->type) { sym 633 scripts/kconfig/symbol.c val = sym_get_tristate_value(sym); sym 646 scripts/kconfig/symbol.c return (const char *)sym->curr.val; sym 651 scripts/kconfig/symbol.c return sym->visible > sym->rev_dep.tri; sym 728 scripts/kconfig/symbol.c struct symbol *sym, **sym_arr = NULL; sym 739 scripts/kconfig/symbol.c for_all_symbols(i, sym) { sym 740 scripts/kconfig/symbol.c if (sym->flags & SYMBOL_CONST || !sym->name) sym 742 scripts/kconfig/symbol.c if (regexec(&re, sym->name, 0, NULL, 0)) sym 753 scripts/kconfig/symbol.c sym_arr[cnt++] = sym; sym 765 scripts/kconfig/symbol.c struct symbol *sym; sym 772 scripts/kconfig/symbol.c sym = sym_check_expr_deps(e->left.expr); sym 773 scripts/kconfig/symbol.c if (sym) sym 774 scripts/kconfig/symbol.c return sym; sym 780 scripts/kconfig/symbol.c sym = sym_check_deps(e->left.sym); sym 781 scripts/kconfig/symbol.c if (sym) sym 782 scripts/kconfig/symbol.c return sym; sym 783 scripts/kconfig/symbol.c return sym_check_deps(e->right.sym); sym 785 scripts/kconfig/symbol.c return sym_check_deps(e->left.sym); sym 799 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(sym->rev_dep.expr); sym 803 scripts/kconfig/symbol.c for (prop = sym->prop; prop; prop = prop->next) { sym 809 scripts/kconfig/symbol.c if (prop->type != P_DEFAULT || sym_is_choice(sym)) sym 821 scripts/kconfig/symbol.c struct symbol *sym, *sym2; sym 826 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) sym 827 scripts/kconfig/symbol.c sym->flags |= (SYMBOL_CHECK | SYMBOL_CHECKED); sym 835 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) { sym 836 scripts/kconfig/symbol.c sym2 = sym_check_sym_deps(sym); sym 838 scripts/kconfig/symbol.c fprintf(stderr, " -> %s", sym->name); sym 843 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) sym 844 scripts/kconfig/symbol.c sym->flags &= ~SYMBOL_CHECK; sym 858 scripts/kconfig/symbol.c if (sym->flags & SYMBOL_CHECK) { sym 860 scripts/kconfig/symbol.c sym->prop->file->name, sym->prop->lineno, sym 861 scripts/kconfig/symbol.c sym->name ? sym->name : "<choice>"); sym 862 scripts/kconfig/symbol.c return sym; sym 864 scripts/kconfig/symbol.c if (sym->flags & SYMBOL_CHECKED) sym 867 scripts/kconfig/symbol.c if (sym_is_choice_value(sym)) { sym 869 scripts/kconfig/symbol.c prop = sym_get_choice_prop(sym); sym 871 scripts/kconfig/symbol.c } else if (sym_is_choice(sym)) { sym 872 scripts/kconfig/symbol.c sym2 = sym_check_choice_deps(sym); sym 874 scripts/kconfig/symbol.c sym->flags |= (SYMBOL_CHECK | SYMBOL_CHECKED); sym 875 scripts/kconfig/symbol.c sym2 = sym_check_sym_deps(sym); sym 876 scripts/kconfig/symbol.c sym->flags &= ~SYMBOL_CHECK; sym 880 scripts/kconfig/symbol.c fprintf(stderr, " -> %s", sym->name ? sym->name : "<choice>"); sym 881 scripts/kconfig/symbol.c if (sym2 == sym) { sym 899 scripts/kconfig/symbol.c prop->sym = sym; sym 904 scripts/kconfig/symbol.c if (sym) { sym 905 scripts/kconfig/symbol.c for (propp = &sym->prop; *propp; propp = &(*propp)->next) sym 917 scripts/kconfig/symbol.c return prop->expr->left.sym; sym 948 scripts/kconfig/symbol.c struct symbol *sym, *sym2; sym 952 scripts/kconfig/symbol.c sym = current_entry->sym; sym 953 scripts/kconfig/symbol.c sym->flags |= SYMBOL_AUTO; sym 954 scripts/kconfig/symbol.c for_all_properties(sym, prop, P_ENV) { sym 962 scripts/kconfig/symbol.c prop = prop_alloc(P_ENV, sym); sym 966 scripts/kconfig/symbol.c sym_env_list->right.sym = sym; sym 970 scripts/kconfig/symbol.c sym_add_default(sym, p); sym 32 scripts/kconfig/util.c struct symbol *sym, *env_sym; sym 52 scripts/kconfig/util.c expr_list_for_each_sym(sym_env_list, e, sym) { sym 56 scripts/kconfig/util.c prop = sym_get_env_prop(sym); sym 144 scripts/kconfig/zconf.y struct symbol *sym = sym_lookup($2, 0); sym 145 scripts/kconfig/zconf.y sym->flags |= SYMBOL_OPTIONAL; sym 146 scripts/kconfig/zconf.y menu_add_entry(sym); sym 158 scripts/kconfig/zconf.y struct symbol *sym = sym_lookup($2, 0); sym 159 scripts/kconfig/zconf.y sym->flags |= SYMBOL_OPTIONAL; sym 160 scripts/kconfig/zconf.y menu_add_entry(sym); sym 244 scripts/kconfig/zconf.y struct symbol *sym = sym_lookup($2, SYMBOL_CHOICE); sym 245 scripts/kconfig/zconf.y sym->flags |= SYMBOL_AUTO; sym 246 scripts/kconfig/zconf.y menu_add_entry(sym); sym 295 scripts/kconfig/zconf.y current_entry->sym->flags |= SYMBOL_OPTIONAL; sym 469 scripts/kconfig/zconf.y struct symbol *sym; sym 495 scripts/kconfig/zconf.y for_all_symbols(i, sym) { sym 496 scripts/kconfig/zconf.y if (sym_check_deps(sym)) sym 587 scripts/kconfig/zconf.y struct symbol *sym = menu->sym; sym 590 scripts/kconfig/zconf.y if (sym_is_choice(sym)) sym 593 scripts/kconfig/zconf.y fprintf(out, "config %s\n", sym->name); sym 594 scripts/kconfig/zconf.y switch (sym->type) { sym 614 scripts/kconfig/zconf.y for (prop = sym->prop; prop; prop = prop->next) { sym 656 scripts/kconfig/zconf.y struct symbol *sym; sym 661 scripts/kconfig/zconf.y if ((sym = menu->sym)) sym 742 scripts/mod/file2alias.c if (!sym->st_shndx || sym->st_shndx >= info->hdr->e_shnum) sym 746 scripts/mod/file2alias.c if (info->sechdrs[sym->st_shndx].sh_type & SHT_NOBITS) { sym 747 scripts/mod/file2alias.c zeros = calloc(1, sym->st_size); sym 751 scripts/mod/file2alias.c + info->sechdrs[sym->st_shndx].sh_offset sym 752 scripts/mod/file2alias.c + sym->st_value; sym 756 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 761 scripts/mod/file2alias.c do_usb_table(symval, sym->st_size, mod); sym 763 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 767 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 771 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 775 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 779 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 783 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 787 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 791 scripts/mod/file2alias.c do_pnp_device_entry(symval, sym->st_size, mod); sym 793 scripts/mod/file2alias.c do_pnp_card_entries(symval, sym->st_size, mod); sym 795 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 799 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 803 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 807 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 811 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 815 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 819 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 823 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 827 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 831 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 835 scripts/mod/file2alias.c do_table(symval, sym->st_size, sym 366 scripts/mod/modpost.c Elf_Sym *sym; sym 456 scripts/mod/modpost.c for (sym = info->symtab_start; sym < info->symtab_stop; sym++) { sym 457 scripts/mod/modpost.c sym->st_shndx = TO_NATIVE(sym->st_shndx); sym 458 scripts/mod/modpost.c sym->st_name = TO_NATIVE(sym->st_name); sym 459 scripts/mod/modpost.c sym->st_value = TO_NATIVE(sym->st_value); sym 460 scripts/mod/modpost.c sym->st_size = TO_NATIVE(sym->st_size); sym 496 scripts/mod/modpost.c enum export export = export_from_sec(info, sym->st_shndx); sym 498 scripts/mod/modpost.c switch (sym->st_shndx) { sym 505 scripts/mod/modpost.c crc = (unsigned int) sym->st_value; sym 512 scripts/mod/modpost.c if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && sym 513 scripts/mod/modpost.c ELF_ST_BIND(sym->st_info) != STB_WEAK) sym 526 scripts/mod/modpost.c if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) sym 542 scripts/mod/modpost.c ELF_ST_BIND(sym->st_info) == STB_WEAK, sym 632 scripts/mod/modpost.c if (sym) sym 633 scripts/mod/modpost.c return elf->strtab + sym->st_name; sym 659 scripts/mod/modpost.c if (*sym++ == '\0') sym 661 scripts/mod/modpost.c if (*sym != '.') sym 664 scripts/mod/modpost.c char c = *sym++; sym 667 scripts/mod/modpost.c } while (*sym); sym 689 scripts/mod/modpost.c if (strrcmp(sym, p + 1) == 0) sym 694 scripts/mod/modpost.c if (strncmp(sym, p, strlen(p) - 1) == 0) sym 699 scripts/mod/modpost.c if (strncmp(sym, p, strlen(p) - 1) == 0) { sym 700 scripts/mod/modpost.c if (number_prefix(sym + strlen(p) - 1)) sym 706 scripts/mod/modpost.c if (strcmp(p, sym) == 0) sym 996 scripts/mod/modpost.c Elf_Sym *sym; sym 1003 scripts/mod/modpost.c for (sym = elf->symtab_start; sym < elf->symtab_stop; sym++) { sym 1004 scripts/mod/modpost.c if (sym->st_shndx != relsym->st_shndx) sym 1006 scripts/mod/modpost.c if (ELF_ST_TYPE(sym->st_info) == STT_SECTION) sym 1008 scripts/mod/modpost.c if (sym->st_value == addr) sym 1009 scripts/mod/modpost.c return sym; sym 1011 scripts/mod/modpost.c d = sym->st_value - addr; sym 1013 scripts/mod/modpost.c d = addr - sym->st_value; sym 1016 scripts/mod/modpost.c near = sym; sym 1043 scripts/mod/modpost.c const char *name = elf->strtab + sym->st_name; sym 1059 scripts/mod/modpost.c Elf_Sym *sym; sym 1063 scripts/mod/modpost.c for (sym = elf->symtab_start; sym < elf->symtab_stop; sym++) { sym 1066 scripts/mod/modpost.c if (sym->st_shndx >= SHN_LORESERVE) sym 1068 scripts/mod/modpost.c symsec = sec_name(elf, sym->st_shndx); sym 1071 scripts/mod/modpost.c if (!is_valid_name(elf, sym)) sym 1073 scripts/mod/modpost.c if (sym->st_value <= addr) { sym 1074 scripts/mod/modpost.c if ((addr - sym->st_value) < distance) { sym 1075 scripts/mod/modpost.c distance = addr - sym->st_value; sym 1076 scripts/mod/modpost.c near = sym; sym 1077 scripts/mod/modpost.c } else if ((addr - sym->st_value) == distance) { sym 1078 scripts/mod/modpost.c near = sym; sym 1121 scripts/mod/modpost.c if (sym) sym 1122 scripts/mod/modpost.c return ELF_ST_TYPE(sym->st_info) == STT_FUNC; sym 1265 scripts/mod/modpost.c tosec = sec_name(elf, sym->st_shndx); sym 1275 scripts/mod/modpost.c to = find_elf_symbol(elf, r->r_addend, sym); sym 1365 scripts/mod/modpost.c Elf_Sym *sym; sym 1398 scripts/mod/modpost.c sym = elf->symtab_start + r_sym; sym 1400 scripts/mod/modpost.c if (sym->st_shndx >= SHN_LORESERVE) sym 1402 scripts/mod/modpost.c check_section_mismatch(modname, elf, &r, sym, fromsec); sym 1409 scripts/mod/modpost.c Elf_Sym *sym; sym 1456 scripts/mod/modpost.c sym = elf->symtab_start + r_sym; sym 1458 scripts/mod/modpost.c if (sym->st_shndx >= SHN_LORESERVE) sym 1460 scripts/mod/modpost.c check_section_mismatch(modname, elf, &r, sym, fromsec); sym 1496 scripts/mod/modpost.c const Elf_Sym *sym, *first_sym, *last_sym; sym 1510 scripts/mod/modpost.c for (sym = info->symtab_start; sym < info->symtab_stop; sym++) sym 1511 scripts/mod/modpost.c if (ELF_ST_TYPE(sym->st_info) == STT_OBJECT && sym 1512 scripts/mod/modpost.c sym->st_shndx == info->markers_strings_sec && sym 1513 scripts/mod/modpost.c !strncmp(info->strtab + sym->st_name, sym 1516 scripts/mod/modpost.c first_sym = sym; sym 1517 scripts/mod/modpost.c last_sym = sym; sym 1534 scripts/mod/modpost.c for (sym = first_sym; sym <= last_sym; sym++) sym 1535 scripts/mod/modpost.c if (ELF_ST_TYPE(sym->st_info) == STT_OBJECT && sym 1536 scripts/mod/modpost.c sym->st_shndx == info->markers_strings_sec && sym 1537 scripts/mod/modpost.c !strncmp(info->strtab + sym->st_name, sym 1539 scripts/mod/modpost.c const char *name = strings + sym->st_value; sym 1555 scripts/mod/modpost.c Elf_Sym *sym; sym 1585 scripts/mod/modpost.c for (sym = info.symtab_start; sym < info.symtab_stop; sym++) { sym 1586 scripts/mod/modpost.c symname = info.strtab + sym->st_name; sym 1588 scripts/mod/modpost.c handle_modversions(mod, &info, sym, symname); sym 1589 scripts/mod/modpost.c handle_moddevtable(mod, &info, sym, symname); sym 1926 scripts/mod/modpost.c if (sym->vmlinux || sym->kernel) sym 675 scripts/unifdef.c int sym; sym 702 scripts/unifdef.c sym = findsym(cp); sym 703 scripts/unifdef.c if (sym < 0) sym 705 scripts/unifdef.c *valp = (value[sym] != NULL); sym 713 scripts/unifdef.c sym = findsym(cp); sym 714 scripts/unifdef.c if (sym < 0) sym 716 scripts/unifdef.c if (value[sym] == NULL) sym 719 scripts/unifdef.c *valp = strtol(value[sym], &ep, 0); sym 720 scripts/unifdef.c if (*ep != '\0' || ep == value[sym]) sym 942 scripts/unifdef.c symind = findsym(sym); sym 948 scripts/unifdef.c symname[symind] = sym; sym 950 scripts/unifdef.c val = sym + (skipsym(sym) - sym);