Home
last modified time | relevance | path

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

12345678910>>...13

/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/usr/src/common/openssl/crypto/x509v3/
H A Dpcy_cache.c78 X509_POLICY_CACHE *cache = x->policy_cache; in policy_cache_create() local
83 cache->data = sk_X509_POLICY_DATA_new(policy_data_cmp); in policy_cache_create()
84 if (!cache->data) in policy_cache_create()
97 if (cache->anyPolicy) in policy_cache_create()
102 cache->anyPolicy = data; in policy_cache_create()
104 else if (sk_X509_POLICY_DATA_find(cache->data, data) != -1) in policy_cache_create()
109 else if (!sk_X509_POLICY_DATA_push(cache->data, data)) in policy_cache_create()
122 sk_X509_POLICY_DATA_pop_free(cache->data, policy_data_free); in policy_cache_create()
123 cache->data = NULL; in policy_cache_create()
131 X509_POLICY_CACHE *cache; in policy_cache_new() local
[all …]
H A Dpcy_map.c78 static X509_POLICY_REF *policy_map_find(X509_POLICY_CACHE *cache, ASN1_OBJECT *id) in policy_map_find() argument
84 idx = sk_X509_POLICY_REF_find(cache->maps, &tmp); in policy_map_find()
87 return sk_X509_POLICY_REF_value(cache->maps, idx); in policy_map_find()
99 X509_POLICY_CACHE *cache = x->policy_cache; in policy_cache_set_mapping() local
107 cache->maps = sk_X509_POLICY_REF_new(ref_cmp); in policy_cache_set_mapping()
120 if (policy_map_find(cache, map->subjectDomainPolicy) != NULL) in policy_cache_set_mapping()
127 data = policy_cache_find_data(cache, map->issuerDomainPolicy); in policy_cache_set_mapping()
129 if (!data && !cache->anyPolicy) in policy_cache_set_mapping()
136 cache->anyPolicy->flags in policy_cache_set_mapping()
140 data->qualifier_set = cache->anyPolicy->qualifier_set; in policy_cache_set_mapping()
[all …]
H A Dpcy_tree.c79 const X509_POLICY_CACHE *cache; in tree_init() local
119 cache = policy_cache_set(x); in tree_init()
121 if (cache == NULL) in tree_init()
129 else if ((ret == 1) && !cache->data) in tree_init()
135 && (cache->explicit_skip != -1) in tree_init()
136 && (cache->explicit_skip < explicit_policy)) in tree_init()
137 explicit_policy = cache->explicit_skip; in tree_init()
186 cache = policy_cache_set(x); in tree_init()
191 if (!cache->anyPolicy) in tree_init()
206 if ((cache->any_skip > 0) in tree_init()
[all …]
/onnv-gate/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Dcache.c111 hfsc_delete_cache(HfsCPrivateCache* cache) in hfsc_delete_cache() argument
113 hfsc_delete_cachetable(cache->table_list); in hfsc_delete_cache()
114 ped_free(cache->linked_ref); in hfsc_delete_cache()
115 ped_free(cache); in hfsc_delete_cache()
119 hfsc_cache_add_extent(HfsCPrivateCache* cache, uint32_t start, uint32_t length, in hfsc_cache_add_extent() argument
126 PED_ASSERT(idx < cache->linked_ref_size, return NULL); in hfsc_cache_add_extent()
128 for (ext = cache->linked_ref[idx]; in hfsc_cache_add_extent()
143 if ( cache->last_table->table_first_free in hfsc_cache_add_extent()
144 == cache->last_table->table_size ) { in hfsc_cache_add_extent()
145 cache->last_table->next_cache = in hfsc_cache_add_extent()
[all …]
H A Dreloc.c182 unsigned int *ptr_dest, HfsCPrivateCache* cache, in hfs_do_move() argument
221 ->cache[ref->ref_index].start_block in hfs_do_move()
224 ->cache[ref->ref_index].start_block = in hfs_do_move()
258 move = hfsc_cache_move_extent(cache, ref->ext_start, new_start); in hfs_do_move()
291 HfsCPrivateCache* cache) in hfs_move_extent_starting_at() argument
298 ref = hfsc_cache_search_extent(cache, *ptr_fblock); in hfs_move_extent_starting_at()
302 new_start = hfs_do_move(fs, ptr_fblock, ptr_to_fblock, cache, ref); in hfs_move_extent_starting_at()
305 new_start = hfs_do_move(fs,&new_start,ptr_to_fblock,cache,ref); in hfs_move_extent_starting_at()
318 hfs_cache_from_mdb(HfsCPrivateCache* cache, PedFileSystem* fs, in hfs_cache_from_mdb() argument
330 cache, in hfs_cache_from_mdb()
[all …]
H A Dreloc_plus.c184 unsigned int *ptr_dest, HfsCPrivateCache* cache, in hfsplus_do_move() argument
255 ->cache[ref->ref_index].start_block in hfsplus_do_move()
258 ->cache[ref->ref_index].start_block = in hfsplus_do_move()
263 ->cache[ref->ref_index].start_block in hfsplus_do_move()
266 ->cache[ref->ref_index].start_block = in hfsplus_do_move()
271 ->cache[ref->ref_index].start_block in hfsplus_do_move()
274 ->cache[ref->ref_index].start_block = in hfsplus_do_move()
313 move = hfsc_cache_move_extent(cache, ref->ext_start, new_start); in hfsplus_do_move()
358 HfsCPrivateCache* cache) in hfsplus_move_extent_starting_at() argument
363 ref = hfsc_cache_search_extent(cache, *ptr_fblock); in hfsplus_move_extent_starting_at()
[all …]
H A Dcache.h97 hfsc_delete_cache(HfsCPrivateCache* cache);
100 hfsc_cache_add_extent(HfsCPrivateCache* cache, uint32_t start, uint32_t length,
105 hfsc_cache_search_extent(HfsCPrivateCache* cache, uint32_t start);
108 hfsc_cache_move_extent(HfsCPrivateCache* cache, uint32_t old_start,
112 hfsc_cache_needed_buffer(HfsCPrivateCache* cache) in hfsc_cache_needed_buffer() argument
114 return cache->needed_alloc_size; in hfsc_cache_needed_buffer()
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/
H A DExpireTest.pm22 my %cache;
26 bless \%cache => $pack;
30 my ($cache, $key) = @_;
31 exists $cache->{$key} ? 1 : 0;
35 my ($cache, $key) = @_;
36 $cache->{$key};
40 my ($cache, $key, $val) = @_;
41 $cache->{$key} = $val;
46 delete $cache{$key};
H A DExpireFile.pm20 my $cache = $args{HASH} || {};
21 bless {ARGS => \%args, C => $cache} => $package;
28 my $cache = $self->{C};
30 $cache->{"C$key"} = $data;
31 $cache->{"T$key"} = $cur_date;
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DMemoize.pm119 my $cache = $cache_opt_args[0];
120 my $package = ref(tied %$cache);
124 $caches{$context} = $cache;
206 my $cache = $info->{$context};
207 if (tied %$cache && ! (tied %$cache)->can('CLEAR')) {
213 %$cache = ();
242 my $cache = $info->{S};
243 _crap_out($info->{NAME}, 'scalar') unless $cache;
244 if (exists $cache->{$argstr}) {
245 return $cache->{$argstr};
[all …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/rcm_daemon/common/
H A Dsvm_rcm.c149 typedef struct cache { struct
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 …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/
H A DMemoize.pm19 my $cache = $_[0][1]{$key};
20 return if defined $cache and not $cache; # Known to not exist
30 my $cache = $a->[1]{$key};
31 return $cache if defined $cache; # Existence cache
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Carp/
H A DHeavy.pm70 my $cache = shift;
72 $cache->{$pkg} ||= [{$pkg => $pkg}, [trusts_directly($pkg)]];
73 return @{$cache->{$pkg}};
174 my $cache;
183 redo if trusts($called, $caller, $cache);
184 redo if trusts($caller, $called, $cache);
221 my $cache = shift || {};
222 my ($known, $partial) = get_status($cache, $child);
228 my ($anc_knows, $anc_partial) = get_status($cache, $anc);
/onnv-gate/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 …]
/onnv-gate/usr/src/common/openssl/doc/ssl/
H A DSSL_CTX_set_session_cache_mode.pod19 SSL_CTX_get_session_cache_mode() returns the currently used cache mode.
42 The following session cache modes and modifiers are available:
52 Client sessions are added to the session cache. As there is no reliable way
61 Server sessions are added to the session cache. When a client proposes a
63 the internal session cache (unless SSL_SESS_CACHE_NO_INTERNAL_LOOKUP is set),
64 then (second) in the external cache if available. If the session is found, the
73 Normally the session cache is checked for expired sessions every
84 automatically look up sessions in the internal cache, even if sessions are
86 this flag guarantees that all lookups are directed to the external cache.
94 Normally a new session is added to the internal cache as well as any external
[all …]
H A DSSL_CTX_sess_set_cache_size.pod5 SSL_CTX_sess_set_cache_size, SSL_CTX_sess_get_cache_size - manipulate session cache size
16 SSL_CTX_sess_set_cache_size() sets the size of the internal session cache
19 SSL_CTX_sess_get_cache_size() returns the currently valid session cache size.
23 The internal session cache size is SSL_SESSION_CACHE_MAX_SIZE_DEFAULT,
29 added to the cache. New space may be added by calling
33 If the size of the session cache is reduced and more sessions are already
34 in the session cache, old session will be removed at the next time a

12345678910>>...13