Lines Matching refs:sym
89 Elf_Sym *sym, unsigned char type);
490 Elf_Sym sym;
879 __elfN(lookup_symbol)(ef, "__start_set_vt_drv_set", &sym,
881 p_start = sym.st_value + ef->off;
882 if (__elfN(lookup_symbol)(ef, "__stop_set_vt_drv_set", &sym,
884 p_end = sym.st_value + ef->off;
890 if (__elfN(lookup_symbol)(ef, "__start_set_modmetadata_set", &sym,
893 p_start = sym.st_value + ef->off;
894 if (__elfN(lookup_symbol)(ef, "__stop_set_modmetadata_set", &sym,
897 p_end = sym.st_value + ef->off;
1237 Elf_Sym sym;
1250 COPYOUT(ef->symtab + symnum, &sym, sizeof(sym));
1251 if (sym.st_name == 0) {
1256 strp = strdupout((vm_offset_t)(ef->strtab + sym.st_name));
1259 if (sym.st_shndx != SHN_UNDEF ||
1260 (sym.st_value != 0 &&
1261 ELF_ST_TYPE(sym.st_info) == type)) {
1262 *symp = sym;