Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 240) sorted by relevance

12345678910

/titanic_44/usr/src/uts/common/idmap/
H A Didmap_cache.c114 kidmap_purge_sid2pid_cache(idmap_sid2pid_cache_t *cache, size_t limit);
117 kidmap_purge_pid2sid_cache(idmap_pid2sid_cache_t *cache, size_t limit);
180 kidmap_cache_create(idmap_cache_t *cache) in kidmap_cache_create() argument
182 avl_create(&cache->sid2pid.tree, (avl_comp_fn)kidmap_compare_sid, in kidmap_cache_create()
184 mutex_init(&cache->sid2pid.mutex, NULL, MUTEX_DEFAULT, NULL); in kidmap_cache_create()
185 cache->sid2pid.purge_time = 0; in kidmap_cache_create()
186 cache->sid2pid.head.flink = &cache->sid2pid.head; in kidmap_cache_create()
187 cache->sid2pid.head.blink = &cache->sid2pid.head; in kidmap_cache_create()
188 cache->sid2pid.uid_num = 0; in kidmap_cache_create()
189 cache->sid2pid.gid_num = 0; in kidmap_cache_create()
[all …]
H A Dkidmap_priv.h100 kidmap_cache_create(idmap_cache_t *cache);
103 kidmap_cache_delete(idmap_cache_t *cache);
106 kidmap_cache_purge(idmap_cache_t *cache);
110 kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix,
114 kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix,
118 kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix,
122 kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix,
126 kidmap_cache_lookup_sidbygid(idmap_cache_t *cache, const char **sid_prefix,
131 kidmap_cache_add_sid2uid(idmap_cache_t *cache, const char *sid_prefix,
135 kidmap_cache_add_sid2gid(idmap_cache_t *cache, const char *sid_prefix,
[all …]
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccfns.c34 krb5_cc_get_name (krb5_context context, krb5_ccache cache) in krb5_cc_get_name() argument
36 return cache->ops->get_name(context, cache); in krb5_cc_get_name()
40 krb5_cc_gen_new (krb5_context context, krb5_ccache *cache) in krb5_cc_gen_new() argument
42 return (*cache)->ops->gen_new(context, cache); in krb5_cc_gen_new()
46 krb5_cc_initialize(krb5_context context, krb5_ccache cache, in krb5_cc_initialize() argument
49 return cache->ops->init(context, cache, principal); in krb5_cc_initialize()
53 krb5_cc_destroy (krb5_context context, krb5_ccache cache) in krb5_cc_destroy() argument
55 return cache->ops->destroy(context, cache); in krb5_cc_destroy()
59 krb5_cc_close (krb5_context context, krb5_ccache cache) in krb5_cc_close() argument
61 return cache->ops->close(context, cache); in krb5_cc_close()
[all …]
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c191 static int memcache_validate_basedn(LDAPMemCache *cache, const char *basedn);
195 static int memcache_adj_size(LDAPMemCache *cache, unsigned long size,
197 static int memcache_free_entry(LDAPMemCache *cache, ldapmemcacheRes *pRes);
198 static int memcache_expired(LDAPMemCache *cache, ldapmemcacheRes *pRes,
200 static int memcache_add_to_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
204 static int memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
215 static int memcache_access(LDAPMemCache *cache, int mode,
218 static void memcache_print_list( LDAPMemCache *cache, int index );
219 static void memcache_report_statistics( LDAPMemCache *cache );
358 ldap_memcache_set( LDAP *ld, LDAPMemCache *cache ) in ldap_memcache_set() argument
[all …]
/titanic_44/usr/src/lib/libast/common/regex/
H A Dregcache.c52 Cache_t** cache; member
67 if (matchstate.cache[i] && matchstate.cache[i]->keep) in flushcache()
69 matchstate.cache[i]->keep = 0; in flushcache()
70 regfree(&matchstate.cache[i]->re); in flushcache()
99 if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) in regcache()
111 if (!matchstate.cache) in regcache()
113 if (!(matchstate.cache = newof(0, Cache_t*, CACHE, 0))) in regcache()
141 if (!matchstate.cache[i]) in regcache()
143 else if (!matchstate.cache[i]->keep) in regcache()
145 …else if (*(Key_t*)matchstate.cache[i]->pattern == key && !strcmp(matchstate.cache[i]->pattern, pat… in regcache()
[all …]
/titanic_44/usr/src/cmd/nscd/
H A Dnscd_cfgdef.h71 nscd_cfg_cache_t cache; member
79 nscd_cfg_stat_cache_t cache; member
88 nscd_cfg_stat_cache_t cache; member
99 nscd_cfg_global_cache_t cache; member
448 cache,
460 cache,
591 cache,
603 cache,
615 cache,
627 cache,
[all …]
/titanic_44/usr/src/lib/libtecla/common/
H A Dexpand.c105 DirCache cache; /* The cache of directory reader objects */ member
180 ef->cache.mem = NULL; in new_ExpandFile()
181 ef->cache.head = NULL; in new_ExpandFile()
182 ef->cache.next = NULL; in new_ExpandFile()
183 ef->cache.tail = NULL; in new_ExpandFile()
205 ef->cache.mem = _new_FreeList(sizeof(DirNode), DIR_CACHE_BLK); in new_ExpandFile()
206 if(!ef->cache.mem) in new_ExpandFile()
252 for(dnode=ef->cache.head; dnode; dnode=dnode->next) in del_ExpandFile()
258 ef->cache.mem = _del_FreeList(ef->cache.mem, 1); in del_ExpandFile()
259 ef->cache.head = ef->cache.tail = ef->cache.next = NULL; in del_ExpandFile()
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache_010_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
63 log_mustnot $ZPOOL add $TESTPOOL cache /dev/rdsk/${dsk1}s0
67 log_mustnot $ZPOOL add $TESTPOOL cache $VDEV2
73 log_mustnot $ZPOOL add $TESTPOOL cache "/dev/rlofi/${lofidev#/dev/lofi/}"
82 log_mustnot $ZPOOL add $TESTPOOL cache /dev/zvol/rdsk/$TESTPOOL2/$TESTVOL
H A Dcache_008_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
56 cache $LDEV
58 log_mustnot $ZPOOL add $TESTPOOL cache $cachetype $LDEV2
H A Dcache_003_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
55 cache $LDEV
57 cache $LDEV2
H A Dcache_007_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
55 cache $cachetype $LDEV $LDEV2
H A Dcache_001_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
53 cache $LDEV
H A Dcache_004_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
54 cache $LDEV
H A Dcache_011_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
60 cache $LDEV spare $LDEV2
H A Dcache_002_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
54 log_must $ZPOOL add $TESTPOOL cache $LDEV
H A Dcache_005_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
55 cache $LDEV
H A Dcache_009_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
55 cache $LDEV $LDEV2
H A Dcache_006_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
57 cache $LDEV $LDEV2
H A Dcleanup.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
/titanic_44/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-query.c277 cache_t *cache = NULL; in parse_lpd_query() local
364 if ((cache = (cache_t *)calloc(1, sizeof (*cache))) == NULL) in parse_lpd_query()
367 if ((cache->printer = (printer_t *)calloc(1, sizeof (*cache->printer))) in parse_lpd_query()
371 cache->printer->attributes = attributes; in parse_lpd_query()
372 svc->cache = cache; in parse_lpd_query()
383 list_append(&cache->jobs, job); in parse_lpd_query()
397 time(&cache->timestamp); in parse_lpd_query()
408 if (svc->cache != NULL) { /* this should be time based */ in cache_update()
409 if (svc->cache->jobs == NULL) { in cache_update()
410 free(svc->cache); in cache_update()
[all …]
/titanic_44/usr/src/uts/common/avs/ns/sdbc/
H A Dcache_kstats_readme.txt35 The existing sd_stat cache statistical reporting mechanism has been expanded
40 to each cached volume (or cache descriptor).
60 statistics that are global to the entire cache, while the _sd_shared_t struct
61 is used to track statistics particular to a cache descriptor (cd).
66 cache, summed over all cache descriptors.
82 sdbc_blksize st_blksize - cache block size (in bytes)
90 sdbc_cachesize st_cachesize - cache size (in bytes)
91 sdbc_numblocks st_numblocks - cache blocks
98 (flushed from the cache to disk).
118 These "cd" kstats present statistics which reflect the state of a single cache
[all …]
/titanic_44/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c103 Cache *cache; /* Pointer to cache entry for VERSYM */ member
118 Cache *cache; /* Cache of all section headers */ member
268 relsymname(Cache *cache, Cache *csec, Cache *strsec, Word symndx, Word symnum, in relsymname() argument
292 cache[sym->st_shndx].c_name); in relsymname()
306 stringtbl(Cache *cache, int symtab, Word ndx, Word shnum, const char *file, in stringtbl() argument
309 Shdr *shdr = cache[ndx].c_shdr; in stringtbl()
317 file, cache[ndx].c_name, EC_WORD(shdr->sh_link)); in stringtbl()
322 file, cache[ndx].c_name); in stringtbl()
329 if ((cache[ndx].c_data == NULL) || in stringtbl()
330 (cache[ndx].c_data->d_buf == NULL)) { in stringtbl()
[all …]
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dfsys_reiserfs.c348 #define BLOCKHEAD(cache) ((struct block_head *) cache) argument
350 #define KEY(cache) ((struct key *) ((int) cache + BLKH_SIZE)) argument
351 #define DC(cache) ((struct disk_child *) \ argument
352 ((int) cache + BLKH_SIZE + KEY_SIZE * nr_item))
695 char* cache = CACHE(depth); in read_tree_node() local
703 return cache; in read_tree_node()
706 cache = CACHE(num_cached); in read_tree_node()
712 if (! block_read (blockNr, 0, INFO->blocksize, cache)) in read_tree_node()
715 if (BLOCKHEAD (cache)->blk_level != depth) in read_tree_node()
722 return cache; in read_tree_node()
[all …]
/titanic_44/usr/src/uts/sun4u/os/
H A Dplat_ecc_dimm.c113 dimm_sid_cache_t *cache; in plat_alloc_sid_cache() local
119 cache = (dimm_sid_cache_t *)kmem_zalloc(sizeof (dimm_sid_cache_t) * in plat_alloc_sid_cache()
125 cache[i].mcid = plat_make_fru_cpuid(bd, 0, p); in plat_alloc_sid_cache()
128 return (cache); in plat_alloc_sid_cache()
132 plat_populate_sid_cache_one(dimm_sid_cache_t *cache, int bd) in plat_populate_sid_cache_one() argument
156 if (cache[index].state != MC_DIMM_SIDS_REQUESTED) in plat_populate_sid_cache_one()
162 dimmsidsp = cache[index].sids; in plat_populate_sid_cache_one()
177 cache[index].state = MC_DIMM_SIDS_AVAILABLE; in plat_populate_sid_cache_one()
182 plat_populate_sid_cache(dimm_sid_cache_t *cache, int max_entries) in plat_populate_sid_cache() argument
193 if (cache[i].state == MC_DIMM_SIDS_REQUESTED) { in plat_populate_sid_cache()
[all …]
/titanic_44/usr/src/uts/common/io/cxgbe/shared/
H A Dshared.c61 rxbuf_cache_destroy(kmem_cache_t *cache) in rxbuf_cache_destroy() argument
63 kmem_cache_destroy(cache); in rxbuf_cache_destroy()
71 rxbuf_alloc(kmem_cache_t *cache, int kmflags, uint_t ref_cnt) in rxbuf_alloc() argument
77 rxb = kmem_cache_alloc(cache, kmflags); in rxbuf_alloc()
80 rxb->cache = cache; in rxbuf_alloc()
94 kmem_cache_free(rxb->cache, rxb); in rxbuf_free()

12345678910