Lines Matching defs:sym
59 GElf_Sym sym;
62 if (mdb_lookup_by_obj(UMEM_OBJNAME, "umem_alloc", &sym) == 0)
64 else if (mdb_lookup_by_obj(MDB_OBJ_EXEC, "umem_alloc", &sym) == 0)
79 umem_lookup_by_name(const char *name, GElf_Sym *sym)
82 UMEM_OBJNAME), name, sym));
89 GElf_Sym sym;
91 if (umem_lookup_by_name(name, &sym))
94 if (mdb_vread(buf, sym.st_size, (uintptr_t)sym.st_value)
95 == sym.st_size)
96 return ((ssize_t)sym.st_size);
102 is_umem_sym(const char *sym, const char *prefix)
104 char *tick_p = strrchr(sym, '`');
106 return (strncmp(sym, "libumem", 7) == 0 && tick_p != NULL &&