Home
last modified time | relevance | path

Searched refs:cache_t (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/stand/lib/fs/common/
H A Dcache.c68 } cache_t; typedef
71 cache_t *aged[2]; /* .. LRU list */
72 int (*cmp)(cache_t *); /* .. Ptr to comparison function */
83 {{(cache_t *)&h, (cache_t *)&h}, f, sizeof (t), n}
95 static cache_t *
96 get_cache(cache_t *cap, head_t *chp) in get_cache()
126 cap->link[Prev] = (cache_t *)chp->aged; in get_cache()
141 static cache_t *
153 cache_t *cap, *cxp; in reclaim_cache()
154 cache_t *cpp = (cache_t *)chp; in reclaim_cache()
[all …]
/titanic_44/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc_impl.h53 } cache_t; typedef
66 cache_t *mt_cache;
67 cache_t *mt_hint;
H A Dmtmalloc.c118 static void create_cache(cache_t *, size_t bufsize, uint_t hunks);
126 static void reinit_cache(cache_t *);
253 cache_t *cacheptr; in realloc()
278 cacheptr = (cache_t *)*(uintptr_t *)mem; in realloc()
321 cacheptr = (cache_t *)*(uintptr_t *)mem; in realloc()
359 cache_t *cacheptr; in free()
411 cacheptr = (cache_t *)*(uintptr_t *)mem; in free()
896 create_cache(cache_t *cp, size_t size, uint_t chunksize) in create_cache()
902 cp->mt_freelist = ((caddr_t)cp + sizeof (cache_t)); in create_cache()
903 cp->mt_span = chunksize * HUNKSIZE - sizeof (cache_t); in create_cache()
[all …]
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Dfilesys_rcm.c84 } cache_t; typedef
105 static cache_t *cache_create();
106 static int cache_insert(cache_t *, struct mnttab *);
107 static int cache_sync(rcm_handle_t *, cache_t **);
108 static hashentry_t *cache_lookup(cache_t *, char *);
109 static void free_cache(cache_t **);
139 static cache_t *mnt_cache;
690 static cache_t *
694 cache_t *cache; in cache_create()
721 if ((cache = (cache_t *)calloc(1, sizeof (cache_t))) == NULL) { in cache_create()
[all …]
/titanic_44/usr/src/cmd/isns/isnsd/
H A Dcache.c54 static cache_t *imc;
78 imc = (cache_t *)calloc(sizeof (cache_t), 1); in cache_init()
H A Disns_cache.h66 } cache_t; typedef
/titanic_44/usr/src/lib/print/libpapi-lpd/common/
H A Dpapi_impl.h66 } cache_t; typedef
71 cache_t *cache; /* printer/job cache */
H A Dlpd-query.c277 cache_t *cache = NULL; in parse_lpd_query()
364 if ((cache = (cache_t *)calloc(1, sizeof (*cache))) == NULL) in parse_lpd_query()
498 cache_free(cache_t *item) in cache_free()
/titanic_44/usr/src/lib/libpkg/common/
H A Dnhash.h54 typedef struct cache_t { struct