Lines Matching refs:nlist
77 #include <ddb/nlist.h> /* a.out symbol table */
85 private boolean_t aout_db_eq_name(struct nlist *, char *, int);
105 (sp = (struct nlist *)(((vm_offset_t *)(symtab)) + 1), \
106 ep = (struct nlist *)((char *)sp + *((int *)(symtab))))
115 struct nlist *sym1 = (struct nlist *) s1;
116 struct nlist *sym2 = (struct nlist *) s2;
130 return (((struct nlist *) sym1)->n_value -
131 ((struct nlist *) sym2)->n_value);
148 struct nlist *sym_start, *sym_end, *dbsym_start, *dbsym_end;
149 struct nlist *sp;
173 dbsym_start = (struct nlist *)pmap_steal_memory(((unsigned int)sym_end - (unsigned int)sym_start + 4096) & -4096); /* Get space for symbols */
207 sizeof(struct nlist), aout_db_order_symbols);
242 register struct nlist *sym_start, *sym_end, *sp;
273 struct nlist *sp,
311 private struct nlist *
313 struct nlist *sp,
314 struct nlist *ep,
317 struct nlist **fp,
320 struct nlist *file_sp = *fp;
321 struct nlist *found_sp = 0;
369 struct nlist *sp;
370 struct nlist *sp1;
371 struct nlist *ep;
372 struct nlist *ep1 = NULL;
373 struct nlist *fp = 0;
376 struct nlist *cur;
377 struct nlist *new;
382 sp = aout_db_search_name((struct nlist *)stab->start,
383 (struct nlist *)stab->end,
385 if (sp == (struct nlist *)0)
396 cur = aout_db_search_name(cur + 1, (struct nlist *)stab->end,
417 for (cur = new - 1; cur > (struct nlist *)stab->start; cur--) {
438 cur < (struct nlist *)stab->end; cur++) {
459 for (cur = new - 1; cur > (struct nlist *)stab->start; cur--) {
470 cur < (struct nlist *)stab->end; cur++) {
513 register struct nlist *sp = (struct nlist *)stab->start;
514 struct nlist *ep = (struct nlist *)stab->end;
515 struct nlist *fp = 0;
516 struct nlist *found_sp;
575 for (sp--; sp >= (struct nlist *)stab->start; sp--) {
673 register struct nlist *symp = 0;
674 struct nlist *sp, *ep, *cp;
677 sp = (struct nlist *)symtab->start;
678 ep = (struct nlist *)symtab->end;
681 struct nlist target;
687 sizeof(struct nlist), aout_db_compare_symbols);
718 sp = (struct nlist *) symtab->start;
738 register struct nlist *sp;
740 sp = (struct nlist *)sym;
763 struct nlist *sp, *cp;
764 register struct nlist *line_sp, *func_sp, *file_sp, *line_func;
767 struct nlist *ep = (struct nlist *)stab->end;
782 sp = (struct nlist *)stab->start;
784 struct nlist target;
790 (char **)&ep, sizeof(struct nlist),
853 sp = (struct nlist *)stab->start;