Home
last modified time | relevance | path

Searched refs:umem_cache_t (Results 1 – 19 of 19) sorted by relevance

/titanic_44/usr/src/lib/libumem/common/
H A Dumem.h61 typedef struct umem_cache umem_cache_t; typedef
72 extern umem_cache_t *umem_cache_create(char *, size_t,
75 extern void umem_cache_destroy(umem_cache_t *);
77 extern void *umem_cache_alloc(umem_cache_t *, int);
78 extern void umem_cache_free(umem_cache_t *, void *);
H A Dumem_base.h63 extern umem_cache_t umem_null_cache;
114 extern void *_umem_cache_alloc(umem_cache_t *cache, int flags);
115 extern void _umem_cache_free(umem_cache_t *cache, void *buffer);
123 extern void umem_cache_applyall(void (*)(umem_cache_t *));
124 extern void umem_cache_update(umem_cache_t *);
150 extern int umem_genasm(int *, umem_cache_t **, int);
H A Dumem_impl.h144 umem_cache_t *bc_cache; /* controlling cache */
225 umem_cache_t *mt_cache; /* magazine cache */
232 ((size_t)(&((umem_cache_t *)0)->cache_cpu[ncpus]))
293 umem_cache_t *cache_next; /* forward cache linkage */
294 umem_cache_t *cache_prev; /* backward cache linkage */
295 umem_cache_t *cache_unext; /* next in update list */
296 umem_cache_t *cache_uprev; /* prev in update list */
316 umem_cache_t *cache_bufctl_cache; /* source of bufctls */
H A Dumem.c726 static umem_cache_t *umem_slab_cache;
727 static umem_cache_t *umem_bufctl_cache;
728 static umem_cache_t *umem_bufctl_audit_cache;
783 umem_cache_t umem_null_cache;
784 static const umem_cache_t umem_null_cache_template = {
786 umem_cache_t umem_null_cache = {
842 static umem_cache_t *umem_alloc_table[UMEM_MAXBUF >> UMEM_ALIGN_SHIFT] = {
882 umem_cache_t *ump_cache; /* buffer's cache according to client */
883 umem_cache_t *ump_realcache; /* actual cache containing buffer */
929 umem_cache_applyall(void (*func)(umem_cache_t *)) in umem_cache_applyall() argument
[all …]
H A Dumem_fork.c40 umem_lockup_cache(umem_cache_t *cp) in umem_lockup_cache()
53 umem_release_cache(umem_cache_t *cp) in umem_release_cache()
93 umem_cache_t *cp; in umem_lockup()
131 umem_cache_t *cp; in umem_do_release()
167 umem_cache_t *cnext, *cprev; in umem_do_release()
H A Dumem_agent_support.c37 __umem_agent_free_bp(umem_cache_t *cp, void *buf) in __umem_agent_free_bp()
/titanic_44/usr/src/lib/libfakekernel/common/
H A Dkmem.c89 umem_cache_t *uc; in kmem_cache_create()
109 umem_cache_destroy((umem_cache_t *)kc); in kmem_cache_destroy()
115 return (umem_cache_alloc((umem_cache_t *)kc, in kmem_cache_alloc()
122 umem_cache_free((umem_cache_t *)kc, p); in kmem_cache_free()
H A Dksocket.c62 static umem_cache_t *ksocket_cache = NULL;
/titanic_44/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c154 umem_init_walkers(uintptr_t addr, const umem_cache_t *c, int *sizes) in umem_init_walkers()
404 umem_cache_t c; in umem_cache_walk_init()
415 if (mdb_vread(&c, sizeof (umem_cache_t), cp) == -1) { in umem_cache_walk_init()
433 umem_cache_t c; in umem_cache_walk_step()
436 if (mdb_vread(&c, sizeof (umem_cache_t), ucw->ucw_current) == -1) { in umem_cache_walk_step()
554 umem_cache_t c; in umem_slab_walk_init()
567 (void *)(caddr + offsetof(umem_cache_t, cache_nullslab)); in umem_slab_walk_init()
577 umem_cache_t c; in umem_slab_walk_partial_init()
590 (void *)(caddr + offsetof(umem_cache_t, cache_nullslab)); in umem_slab_walk_partial_init()
613 uintptr_t caddr = saddr - offsetof(umem_cache_t, cache_nullslab); in umem_slab_walk_step()
[all …]
H A Dumem.h133 extern int umem_get_magsize(const umem_cache_t *);
134 extern size_t umem_estimate_allocated(uintptr_t, const umem_cache_t *);
H A Dlibumem.c124 umastat_cache_nptc(uintptr_t addr, const umem_cache_t *cp, int *nptc) in umastat_cache_nptc()
135 umastat_cache_hdr(uintptr_t addr, const umem_cache_t *cp, void *ignored) in umastat_cache_hdr()
154 umastat_lwp_cache(uintptr_t addr, const umem_cache_t *cp, ulwp_t *ulwp) in umastat_lwp_cache()
214 umastat_cache(uintptr_t addr, const umem_cache_t *cp, umastat_vmem_t **kvp) in umastat_cache()
H A Dleaky_subr.c429 leaky_interested(const umem_cache_t *c) in leaky_interested()
455 leaky_estimate(uintptr_t addr, const umem_cache_t *c, size_t *est) in leaky_estimate()
467 leaky_cache(uintptr_t addr, const umem_cache_t *c, leak_mtab_t **lmp) in leaky_cache()
887 umem_cache_t cache; in leaky_subr_dump()
/titanic_44/usr/src/lib/libumem/sparc/
H A Dumem_genasm.c40 umem_genasm(int *alloc_sizes, umem_cache_t **caches, int ncaches) in umem_genasm()
/titanic_44/usr/src/lib/libumem/amd64/
H A Dumem_genasm.c550 umem_genasm(int *cp, umem_cache_t **caches, int nc) in umem_genasm()
/titanic_44/usr/src/lib/libumem/i386/
H A Dumem_genasm.c540 umem_genasm(int *alloc_sizes, umem_cache_t **caches, int ncaches) in umem_genasm()
/titanic_44/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h338 typedef umem_cache_t kmem_cache_t;
/titanic_44/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c193 static umem_cache_t *ecache;
/titanic_44/usr/src/cmd/nscd/
H A Dcache.c105 static umem_cache_t *nsc_entry_cache;
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c97 umem_cache_t *ddecache;