• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/aic7xxx/aicasm/

Lines Matching refs:symbol

2  * Aic7xxx SCSI host adapter firmware asssembler symbol table implementation
75 perror("Unable to create new symbol");
81 stop("Unable to strdup symbol name", EX_SOFTWARE);
87 symbol_delete(symbol_t *symbol)
92 key.data = symbol->name;
93 key.size = strlen(symbol->name);
96 switch(symbol->type) {
100 if (symbol->info.rinfo != NULL)
101 free(symbol->info.rinfo);
104 if (symbol->info.ainfo != NULL)
105 free(symbol->info.ainfo);
111 if (symbol->info.finfo != NULL) {
112 symlist_free(&symbol->info.finfo->symrefs);
113 free(symbol->info.finfo);
118 if (symbol->info.cinfo != NULL)
119 free(symbol->info.cinfo);
122 if (symbol->info.linfo != NULL)
123 free(symbol->info.linfo);
129 free(symbol->name);
130 free(symbol);
165 * The semantics of get is to return an uninitialized symbol entry
216 if (strcmp(symname, curnode->symbol->name) == 0)
224 symlist_add(symlist_t *symlist, symbol_t *symbol, int how)
233 newnode->symbol = symbol;
239 switch(symbol->type) {
251 stop("symlist_add: Invalid symbol type for sorting",
259 && (curnode->symbol->type > newnode->symbol->type
260 || (curnode->symbol->type == newnode->symbol->type
261 && (curnode->symbol->info.finfo->value >
262 newnode->symbol->info.finfo->value))))
263 || (!field && (curnode->symbol->info.rinfo->address >
264 newnode->symbol->info.rinfo->address))) {
277 cursymbol = SLIST_NEXT(curnode, links)->symbol;
279 && (cursymbol->type > symbol->type
280 || (cursymbol->type == symbol->type
282 symbol->info.finfo->value))))
285 symbol->info.rinfo->address))) {
380 regnode->symbol->name);
390 lower_name = strdup(regnode->symbol->name);
392 stop("Unable to strdup symbol name", EX_SOFTWARE);
415 num_entries != 0 ? regnode->symbol->name : "NULL",
418 regnode->symbol->name,
419 regnode->symbol->info.rinfo->address);
436 regnode->symbol->name,
437 regnode->symbol->info.rinfo->address);
450 curnode->symbol->name);
452 num_tabs = 3 - (strlen(curnode->symbol->name) + 5) / 8;
457 curnode->symbol->info.finfo->value,
458 curnode->symbol->info.finfo->mask);
538 switch(curnode->symbol->type) {
548 fields = &curnode->symbol->info.rinfo->fields;
573 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs);
574 regname = regnode->symbol->name;
586 regname = curnode->symbol->info.ainfo->parent->name;
599 switch(curnode->symbol->type) {
604 value = curnode->symbol->info.rinfo->address;
612 parent = curnode->symbol->info.ainfo->parent;
622 value = curnode->symbol->info.finfo->value;
630 stop("symtable_dump: Invalid symbol type "
635 tab_str, curnode->symbol->name, tab_str2,
645 curnode->symbol->name,
646 curnode->symbol->info.cinfo->value);
656 curnode->symbol->name,
657 curnode->symbol->info.cinfo->value);
668 curnode->symbol->name,
669 curnode->symbol->info.linfo->address);