umem_cache_t
leaky_interested(const umem_cache_t *c)
leaky_estimate(uintptr_t addr, const umem_cache_t *c, size_t *est)
leaky_cache(uintptr_t addr, const umem_cache_t *c, leak_mtab_t **lmp)
umem_cache_t cache;
umastat_cache_nptc(uintptr_t addr, const umem_cache_t *cp, int *nptc)
umastat_cache_hdr(uintptr_t addr, const umem_cache_t *cp, void *ignored)
umastat_lwp_cache(uintptr_t addr, const umem_cache_t *cp, ulwp_t *ulwp)
umastat_cache(uintptr_t addr, const umem_cache_t *cp, umastat_vmem_t **kvp)
umem_read_ptc(umem_cache_t *cp,
bufctl_walk_callback(umem_cache_t *cp, mdb_walk_state_t *wsp, uintptr_t buf)
umem_cache_t *umw_cp;
umem_cache_t *cp;
umem_cache_t *cp = umw->umw_cp;
umem_init_walkers(uintptr_t addr, const umem_cache_t *c, int *sizes)
umem_walk_all(uintptr_t addr, const umem_cache_t *c, mdb_walk_state_t *wsp)
umem_cache_t *bhw_cache;
allocdby_walk_cache(uintptr_t addr, const umem_cache_t *c, allocdby_walk_t *abw)
const umem_cache_t *wi_cache;
const umem_cache_t *cp = wi->wi_cache;
whatis_walk_cache(uintptr_t addr, const umem_cache_t *c, whatis_info_t *wi)
whatis_walk_touch(uintptr_t addr, const umem_cache_t *c, whatis_info_t *wi)
whatis_walk_metadata(uintptr_t addr, const umem_cache_t *c, whatis_info_t *wi)
whatis_walk_notouch(uintptr_t addr, const umem_cache_t *c, whatis_info_t *wi)
umem_cache_t *cp = &umv->umv_cache;
umem_cache_t *cp = &umv->umv_cache;
umc_add(uintptr_t addr, const umem_cache_t *cp, umclist_t *umc)
const umem_cache_t *umu_cache; /* Current umem cache */
const umem_cache_t *cp = umu->umu_cache;
const umem_cache_t *cp = umu->umu_cache;
umem_cache_t c;
umem_cache_t *um_cp;
um_umem_cache_cb(uintptr_t addr, umem_cache_t *cp, umem_malloc_info_t *ump)
umem_cache_t c;
umem_cache_t c;
if (mdb_vread(&c, sizeof (umem_cache_t), cp) == -1) {
umem_cache_t c;
if (mdb_vread(&c, sizeof (umem_cache_t), ucw->ucw_current) == -1) {
umem_cache_t c;
(void *)(caddr + offsetof(umem_cache_t, cache_nullslab));
umem_cache_t c;
(void *)(caddr + offsetof(umem_cache_t, cache_nullslab));
uintptr_t caddr = saddr - offsetof(umem_cache_t, cache_nullslab);
umem_cache_t c;
umem_cache_t c;
umem_hash_lookup(umem_cache_t *cp, uintptr_t caddr, void *buf, uintptr_t *out)
umem_get_magsize(const umem_cache_t *cp)
umem_estimate_allocated(uintptr_t addr, const umem_cache_t *cp)
umem_read_magazines(umem_cache_t *cp, uintptr_t addr,
extern int umem_get_magsize(const umem_cache_t *);
extern size_t umem_estimate_allocated(uintptr_t, const umem_cache_t *);
static umem_cache_t *nsc_entry_cache;
static umem_cache_t *ecache;
umem_cache_destroy((umem_cache_t *)kc);
return (umem_cache_alloc((umem_cache_t *)kc,
umem_cache_free((umem_cache_t *)kc, p);
umem_cache_t *uc;
static umem_cache_t *ksocket_cache = NULL;
umem_genasm(int *cp, umem_cache_t **caches, int nc)
umem_cache_t *cp;
umem_findslab(umem_cache_t *cp, void *buf)
umem_error(int error, umem_cache_t *cparg, void *bufarg)
umem_cache_t *cp = cparg;
umem_alloc_retry(umem_cache_t *cp, int umflag)
umem_log_event(umem_log_header_t *lp, umem_cache_t *cp,
umem_slab_create(umem_cache_t *cp, int umflag)
umem_slab_destroy(umem_cache_t *cp, umem_slab_t *sp)
umem_slab_alloc(umem_cache_t *cp, int umflag)
umem_slab_free(umem_cache_t *cp, void *buf)
umem_cache_alloc_debug(umem_cache_t *cp, void *buf, int umflag)
umem_cache_free_debug(umem_cache_t *cp, void *buf)
umem_magazine_destroy(umem_cache_t *cp, umem_magazine_t *mp, int nrounds)
umem_depot_alloc(umem_cache_t *cp, umem_maglist_t *mlp)
umem_depot_free(umem_cache_t *cp, umem_maglist_t *mlp, umem_magazine_t *mp)
umem_depot_ws_update(umem_cache_t *cp)
umem_depot_ws_reap(umem_cache_t *cp)
_umem_cache_alloc(umem_cache_t *cp, int umflag)
_umem_cache_free(umem_cache_t *cp, void *buf)
umem_cache_t *cp = umem_alloc_table[index];
umem_cache_t *cp = umem_alloc_table[index];
umem_cache_t *cp = umem_alloc_table[index];
umem_cache_reap(umem_cache_t *cp)
umem_cache_magazine_purge(umem_cache_t *cp)
umem_cache_magazine_enable(umem_cache_t *cp)
umem_cache_magazine_resize(umem_cache_t *cp)
umem_hash_rescale(umem_cache_t *cp)
umem_cache_update(umem_cache_t *cp)
umem_cache_t *cp = umem_null_cache.cache_unext;
umem_cache_t *
umem_cache_t *cp, *cnext, *cprev;
umem_cache_destroy(umem_cache_t *cp)
umem_cache_t *cp;
umem_cache_t *cp;
umem_cache_t *umem_alloc_caches[NUM_ALLOC_SIZES];
sizeof (umem_cache_t));
static umem_cache_t *umem_slab_cache;
static umem_cache_t *umem_bufctl_cache;
static umem_cache_t *umem_bufctl_audit_cache;
umem_cache_t umem_null_cache;
static const umem_cache_t umem_null_cache_template = {
umem_cache_t umem_null_cache = {
static umem_cache_t *umem_alloc_table[UMEM_MAXBUF >> UMEM_ALIGN_SHIFT] = {
umem_cache_t *ump_cache; /* buffer's cache according to client */
umem_cache_t *ump_realcache; /* actual cache containing buffer */
umem_cache_applyall(void (*func)(umem_cache_t *))
umem_cache_t *cp;
umem_add_update_unlocked(umem_cache_t *cp, int flags)
umem_cache_t *cnext, *cprev;
umem_add_update(umem_cache_t *cp, int flags)
umem_remove_updates(umem_cache_t *cp)
extern umem_cache_t *umem_cache_create(char *, size_t,
extern void umem_cache_destroy(umem_cache_t *);
extern void *umem_cache_alloc(umem_cache_t *, int);
extern void umem_cache_free(umem_cache_t *, void *);
__umem_agent_free_bp(umem_cache_t *cp, void *buf)
extern void *_umem_cache_alloc(umem_cache_t *cache, int flags);
extern void _umem_cache_free(umem_cache_t *cache, void *buffer);
extern void umem_cache_applyall(void (*)(umem_cache_t *));
extern void umem_cache_update(umem_cache_t *);
extern boolean_t umem_genasm(int *, umem_cache_t **, int);
extern umem_cache_t umem_null_cache;
umem_cache_t *cp;
umem_cache_t *cnext, *cprev;
umem_lockup_cache(umem_cache_t *cp)
umem_release_cache(umem_cache_t *cp)
umem_cache_t *cp;
umem_cache_t *bc_cache; /* controlling cache */
umem_cache_t *mt_cache; /* magazine cache */
((size_t)(&((umem_cache_t *)0)->cache_cpu[ncpus]))
umem_cache_t *cache_next; /* forward cache linkage */
umem_cache_t *cache_prev; /* backward cache linkage */
umem_cache_t *cache_unext; /* next in update list */
umem_cache_t *cache_uprev; /* prev in update list */
umem_cache_t *cache_bufctl_cache; /* source of bufctls */
umem_genasm(int *alloc_sizes, umem_cache_t **caches, int ncaches)
umem_genasm(int *alloc_sizes, umem_cache_t **caches, int ncaches)
umem_cache_t *ddecache;
umem_cache_t *vdi_qcache; /* RO */