/xen/xen/tools/kconfig/ |
A D | symbol.c | 353 sym->curr.val = sym->name; in sym_calc_value() 431 sym->curr.val = sym_calc_choice(sym); in sym_calc_value() 485 if (sym->visible <= sym->rev_dep.tri) in sym_tristate_within_range() 982 sym_match_arr[cnt++].sym = sym; in sym_re_search() 1020 stack->sym = sym; in dep_stack_insert() 1058 sym = stack->sym; in sym_check_print_recursive() 1079 sym->name ? sym->name : "<choice>", in sym_check_print_recursive() 1084 sym->name ? sym->name : "<choice>", in sym_check_print_recursive() 1089 sym->name ? sym->name : "<choice>", in sym_check_print_recursive() 1146 sym = sym_check_deps(e->left.sym); in sym_check_expr_deps() [all …]
|
A D | menu.c | 53 menu->sym = sym; in menu_add_entry() 113 struct symbol *sym = current_entry->sym; in menu_set_type() local 123 sym->name ? sym->name : "<choice>", in menu_set_type() 297 sym = parent->sym; in menu_finalize() 304 if (sym && sym_is_choice(sym)) { in menu_finalize() 410 if (sym && sym_is_choice(sym)) in menu_finalize() 493 if (sym && sym_is_choice(sym) && in menu_finalize() 530 (*ep)->right.sym = menu->sym; in menu_finalize() 638 sym = menu->sym; in menu_is_visible() 796 if (sym && sym->name) { in get_symbol_str() [all …]
|
A D | confdata.c | 415 sym = NULL; in conf_read_simple() 461 if (!sym) { in conf_read_simple() 488 if (sym && sym_is_choice_value(sym)) { in conf_read_simple() 532 if (sym_has_value(sym) && (sym->flags & SYMBOL_WRITE)) { in conf_read() 541 if (!strcmp(sym->curr.val, sym->def[S_DEF_USER].val)) in conf_read() 553 if (sym_has_value(sym) && !sym_is_choice_value(sym)) { in conf_read() 787 sym = menu->sym; in conf_write_defconfig() 889 sym = menu->sym; in conf_write() 890 if (!sym) { in conf_write() 1003 if ((sym->flags & SYMBOL_NO_WRITE) || !sym->name) in conf_touch_deps() [all …]
|
A D | expr.c | 23 e->left.sym = sym; in expr_alloc_symbol() 89 e->left.sym = org->left.sym; in expr_copy() 90 e->right.sym = org->right.sym; in expr_copy() 169 e1->left.sym == e2->left.sym && in __expr_eliminate_eq() 266 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq() 856 return dep->left.sym == sym; in expr_contains_symbol() 863 return dep->left.sym == sym || in expr_contains_symbol() 864 dep->right.sym == sym; in expr_contains_symbol() 883 return dep->left.sym == sym; in expr_depends_symbol() 885 if (dep->left.sym == sym) { in expr_depends_symbol() [all …]
|
A D | conf.c | 131 struct symbol *sym = menu->sym; in conf_string() local 164 struct symbol *sym = menu->sym; in conf_sym() local 191 if (!conf_askvalue(sym, sym_get_string_value(sym))) in conf_sym() 235 sym = menu->sym; in conf_choice() 334 sym_set_choice_value(sym, child->sym); in conf_choice() 353 sym = menu->sym; in conf() 381 if (!sym) in conf() 403 if (sym) in conf() 407 if (sym) in conf() 419 sym = menu->sym; in check_conf() [all …]
|
A D | lkc.h | 71 void menu_add_entry(struct symbol *sym); 111 struct symbol *sym_choice_default(struct symbol *sym); 114 struct symbol *sym_check_deps(struct symbol *sym); 120 return sym->curr.tri; in sym_get_tristate_value() 126 return (struct symbol *)sym->curr.val; in sym_get_choice_value() 134 static inline bool sym_is_choice(struct symbol *sym) in sym_is_choice() argument 136 return sym->flags & SYMBOL_CHOICE ? true : false; in sym_is_choice() 141 return sym->flags & SYMBOL_CHOICEVAL ? true : false; in sym_is_choice_value() 146 return sym->flags & SYMBOL_OPTIONAL ? true : false; in sym_is_optional() 149 static inline bool sym_has_value(struct symbol *sym) in sym_has_value() argument [all …]
|
A D | expr.h | 39 struct symbol *sym; member 52 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 134 #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sy… argument 206 #define for_all_properties(sym, st, tok) \ argument 207 for (st = sym->prop; st; st = st->next) \ 209 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument 210 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument 211 #define for_all_prompts(sym, st) \ argument 212 for (st = sym->prop; st; st = st->next) \ 235 struct symbol *sym; member [all …]
|
A D | mconf.c | 467 struct symbol *sym; in build_conf() local 485 sym = menu->sym; in build_conf() 487 if (!sym) { in build_conf() 620 (sym_has_value(sym) || !sym_is_changeable(sym)) ? in build_conf() 628 (sym_has_value(sym) || !sym_is_changeable(sym)) ? in build_conf() 680 sym = submenu->sym; in conf() 682 sym = NULL; in conf() 694 if (sym_is_choice(sym) && sym_get_tristate_value(sym) == yes) in conf() 705 if (sym) in conf() 811 if (child->sym) in conf_choice() [all …]
|
A D | lkc_proto.h | 37 void sym_calc_value(struct symbol *sym); 38 enum symbol_type sym_get_type(struct symbol *sym); 39 bool sym_tristate_within_range(struct symbol *sym,tristate tri); 40 bool sym_set_tristate_value(struct symbol *sym,tristate tri); 41 tristate sym_toggle_tristate_value(struct symbol *sym); 42 bool sym_string_valid(struct symbol *sym, const char *newval); 43 bool sym_string_within_range(struct symbol *sym, const char *str); 44 bool sym_set_string_value(struct symbol *sym, const char *newval); 45 bool sym_is_changeable(struct symbol *sym); 46 struct property * sym_get_choice_prop(struct symbol *sym); [all …]
|
A D | nconf.c | 737 struct symbol *sym; in build_conf() local 747 sym = menu->sym; in build_conf() 749 if (!sym) { in build_conf() 794 type = sym_get_type(sym); in build_conf() 795 if (sym_is_choice(sym)) { in build_conf() 906 (sym_has_value(sym) || !sym_is_changeable(sym)) ? in build_conf() 1072 struct symbol *sym; in conf() local 1159 sym = submenu->sym; in conf() 1254 if (child->sym == sym_get_choice_value(menu->sym)) in conf_choice() 1257 else if (child->sym) in conf_choice() [all …]
|
A D | qconf.cc | 119 sym = menu->sym; in updateMenu() 133 if (sym) in updateMenu() 144 if (!sym) in updateMenu() 471 sym = item->menu ? item->menu->sym : 0; in setValue() 472 if (!sym) in setValue() 499 sym = menu->sym; in changeValue() 500 if (!sym) { in changeValue() 1048 sym = NULL; in setInfo() 1076 sym = _menu->sym; in menuInfo() 1077 if (sym) { in menuInfo() [all …]
|
A D | gconf.c | 792 sym = menu->sym; in renderer_edited() 807 struct symbol *sym = menu->sym; in change_sym_value() local 810 if (!sym) in change_sym_value() 1039 struct symbol *sym = menu->sym; in fill_row() local 1052 sym && !sym_has_value(sym) ? "(NEW)" : ""); in fill_row() 1082 if (!sym) in fill_row() 1263 sym = child1->sym; in update_tree() 1319 } else if (sym && (sym->flags & SYMBOL_CHANGED)) { in update_tree() 1347 sym = child->sym; in display_tree() 1350 if (sym) in display_tree() [all …]
|
A D | parser.y | 238 sym->flags |= SYMBOL_NO_WRITE; 239 menu_add_entry(sym); 492 struct symbol *sym; variable 517 for_all_symbols(i, sym) { in for_all_symbols() argument 518 if (sym_check_deps(sym)) in for_all_symbols() 594 struct symbol *sym = menu->sym; in print_symbol() local 597 if (sym_is_choice(sym)) in print_symbol() 601 switch (sym->type) { in print_symbol() 668 fprintf(out, "%s\n", prop->sym->name); in print_symbol() 686 struct symbol *sym; in zconfdump() local [all …]
|
/xen/xen/tools/ |
A D | symbols.c | 42 unsigned char *sym; member 86 char *sym, stype; in read_symbol() local 120 sym[1] && strchr("cSsoh", sym[1]) && !sym[2])) { in read_symbol() 128 bool multi = strchr(str, '/') || (sym && sym[1] == 'o'); in read_symbol() 141 sym = str; in read_symbol() 144 sym++; in read_symbol() 181 sym = stpcpy(sym, filename); in read_symbol() 182 *sym++ = '#'; in read_symbol() 184 strcpy(sym, str); in read_symbol() 189 s->sym[0] = stype; in read_symbol() [all …]
|
/xen/xen/common/ |
A D | livepatch_elf.c | 220 struct livepatch_elf_sym *sym; in elf_get_sym() local 242 if ( !sym ) in elf_get_sym() 250 elf->sym = sym; in elf_get_sym() 265 sym[i].sym = s; in elf_get_sym() 284 ASSERT(elf->sym); in livepatch_elf_resolve_symbols() 288 unsigned int idx = elf->sym[i].sym->st_shndx; in livepatch_elf_resolve_symbols() 289 const Elf_Sym *sym = elf->sym[i].sym; in livepatch_elf_resolve_symbols() local 319 elf->name, elf->sym[i].name, sym->st_value); in livepatch_elf_resolve_symbols() 362 ASSERT(elf->sym); in livepatch_elf_perform_relocs() 529 xfree(elf->sym); in livepatch_elf_free() [all …]
|
/xen/xen/arch/arm/ |
A D | livepatch.c | 112 const struct livepatch_elf_sym *sym) in arch_livepatch_symbol_ok() argument 124 if ( sym->name[0] == '$' && sym->name[1] != '\0' ) in arch_livepatch_symbol_ok() 126 char p = sym->name[1]; in arch_livepatch_symbol_ok() 127 size_t len = strlen(sym->name); in arch_livepatch_symbol_ok() 129 if ( (len >= 3 && (sym->name[2] == '.' )) || (len == 2) ) in arch_livepatch_symbol_ok()
|
/xen/xen/arch/arm/arm32/ |
A D | livepatch.c | 103 const struct livepatch_elf_sym *sym) in arch_livepatch_symbol_deny() argument 109 if ( sym->name && sym->name[0] == '$' && sym->name[1] == 't' ) in arch_livepatch_symbol_deny() 110 return ( !sym->name[2] || sym->name[2] == '.' ); in arch_livepatch_symbol_deny() 269 else if ( !elf->sym[symndx].sym ) in arch_livepatch_perform() 276 val = elf->sym[symndx].sym->st_value; /* S */ in arch_livepatch_perform()
|
/xen/tools/firmware/rombios/ |
A D | Makefile | 13 rm -f as86-sym.txt ld86-sym.txt 14 rm -f rombios*.txt rombios*.sym usage biossums 26 -perl makesym.perl < rombios.txt > rombios.sym
|
/xen/xen/common/libelf/ |
A D | libelf-tools.c | 261 ELF_HANDLE_DECL(elf_sym) sym; in elf_sym_by_name() 265 for ( ; ptr < end; ptr += elf_size(elf, sym) ) in elf_sym_by_name() 267 sym = ELF_MAKE_HANDLE(elf_sym, ptr); in elf_sym_by_name() 268 info = elf_uval(elf, sym, st_info); in elf_sym_by_name() 269 name = elf_uval(elf, sym, st_name); in elf_sym_by_name() 277 return sym; in elf_sym_by_name() 285 ELF_HANDLE_DECL(elf_sym) sym; in elf_sym_by_index() 287 sym = ELF_MAKE_HANDLE(elf_sym, ptr + index * elf_size(elf, sym)); in elf_sym_by_index() 288 return sym; in elf_sym_by_index()
|
/xen/xen/include/asm-x86/ |
A D | config.h | 97 #define bootsym_phys(sym) \ argument 98 (((unsigned long)&(sym)-(unsigned long)&trampoline_start)+trampoline_phys) 99 #define bootsym(sym) \ argument 100 (*((typeof(sym) *)__va(bootsym_phys(sym))))
|
/xen/xen/arch/x86/ |
A D | livepatch.c | 211 const struct livepatch_elf_sym *sym) in arch_livepatch_symbol_ok() argument 218 const struct livepatch_elf_sym *sym) in arch_livepatch_symbol_deny() argument 258 else if ( !elf->sym[symndx].sym ) in arch_livepatch_perform_rela() 265 val = r->r_addend + elf->sym[symndx].sym->st_value; in arch_livepatch_perform_rela()
|
/xen/tools/firmware/hvmloader/ |
A D | 32bitbios_support.c | 106 Elf32_Sym *syms, *sym; in relocate_32bitbios() local 124 sym = &syms[ELF32_R_SYM(rels[j].r_info)]; in relocate_32bitbios() 126 fix = shdr[sym->st_shndx].sh_addr + sym->st_value; in relocate_32bitbios()
|
/xen/xen/include/asm-arm/arm64/ |
A D | macros.h | 18 .macro ldr_this_cpu, dst, sym, tmp 19 ldr \dst, =per_cpu__\sym
|
/xen/xen/include/xen/ |
A D | livepatch_elf.h | 23 const Elf_Sym *sym; member 32 struct livepatch_elf_sym *sym; /* Array of symbols , allocated by us. */ member
|
/xen/xen/arch/x86/boot/ |
A D | trampoline.S | 23 #define bootsym_rel(sym, off, opnd...) \ argument 24 bootsym(sym),##opnd; \ 30 #define bootsym_segrel(sym, off) \ argument 31 $0,$bootsym(sym); \
|