Searched refs:cache_t (Results 1 – 11 of 11) sorted by relevance
/titanic_41/usr/src/stand/lib/fs/common/ |
H A D | cache.c | 68 } 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_41/usr/src/cmd/rcm_daemon/common/ |
H A D | svm_rcm.c | 153 } cache_t; typedef 162 static deventry_t *cache_dependent(cache_t *cache, char *devname, int devflags, 164 static deventry_t *cache_device(cache_t *cache, char *devname, 170 static int cache_all_devices(cache_t *cache); 171 static int cache_hsp(cache_t *cache, mdhspnamelist_t *nlp, md_hsp_t *hsp); 172 static int cache_trans(cache_t *cache, mdnamelist_t *nlp, md_trans_t *trans); 173 static int cache_mirror(cache_t *cache, mdnamelist_t *nlp, 175 static int cache_raid(cache_t *cache, mdnamelist_t *nlp, md_raid_t *raid); 176 static int cache_stripe(cache_t *cache, mdnamelist_t *nlp, 178 static int cache_sp(cache_t *cache, mdnamelist_t *nlp, md_sp_t *soft_part); [all …]
|
H A D | filesys_rcm.c | 84 } 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_41/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc_impl.h | 53 } cache_t; typedef 66 cache_t *mt_cache; 67 cache_t *mt_hint;
|
H A D | mtmalloc.c | 118 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_41/usr/src/cmd/isns/isnsd/ |
H A D | cache.c | 54 static cache_t *imc; 78 imc = (cache_t *)calloc(sizeof (cache_t), 1); in cache_init()
|
H A D | isns_cache.h | 66 } cache_t; typedef
|
/titanic_41/usr/src/lib/print/libpapi-lpd/common/ |
H A D | papi_impl.h | 66 } cache_t; typedef 71 cache_t *cache; /* printer/job cache */
|
H A D | lpd-query.c | 277 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_41/usr/src/lib/libpkg/common/ |
H A D | nhash.h | 54 typedef struct cache_t { struct
|
/titanic_41/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_hash.h | 55 typedef struct cache_t { struct
|