usr/src/boot/common/bcache.c
169
bcache_free(void *cache)
usr/src/boot/common/bcache.c
171
struct bcache *bc = cache;
usr/src/cmd/idmap/idmapd/dbutils.c
1577
lookup_cache_sid2pid(sqlite *cache, idmap_mapping *req, idmap_id_res *res)
usr/src/cmd/idmap/idmapd/dbutils.c
1653
retcode = sql_compile_n_step_once(cache, sql, &vm, &ncol,
usr/src/cmd/idmap/idmapd/dbutils.c
1817
lookup_cache_sid2name(sqlite *cache, const char *sidprefix, idmap_rid_t rid,
usr/src/cmd/idmap/idmapd/dbutils.c
1849
retcode = sql_compile_n_step_once(cache, sql, &vm, &ncol, 3, &values);
usr/src/cmd/idmap/idmapd/dbutils.c
1896
lookup_name_cache(sqlite *cache, idmap_mapping *req, idmap_id_res *res)
usr/src/cmd/idmap/idmapd/dbutils.c
1912
retcode = lookup_cache_sid2name(cache,
usr/src/cmd/idmap/idmapd/dbutils.c
1917
retcode = lookup_cache_name2sid(cache, req->id1name,
usr/src/cmd/idmap/idmapd/dbutils.c
2710
retcode = lookup_cache_sid2pid(state->cache, req, res);
usr/src/cmd/idmap/idmapd/dbutils.c
2734
retcode = lookup_name_cache(state->cache, req, res);
usr/src/cmd/idmap/idmapd/dbutils.c
3772
retcode = sql_exec_no_cb(state->cache, IDMAP_CACHENAME, sql);
usr/src/cmd/idmap/idmapd/dbutils.c
3800
retcode = sql_exec_no_cb(state->cache, IDMAP_CACHENAME, sql);
usr/src/cmd/idmap/idmapd/dbutils.c
3853
retcode = sql_exec_no_cb(state->cache, IDMAP_CACHENAME, sql);
usr/src/cmd/idmap/idmapd/dbutils.c
3922
retcode = sql_exec_no_cb(state->cache, IDMAP_CACHENAME, sql);
usr/src/cmd/idmap/idmapd/dbutils.c
3950
retcode = sql_exec_no_cb(state->cache, IDMAP_CACHENAME, sql);
usr/src/cmd/idmap/idmapd/dbutils.c
3960
lookup_cache_pid2sid(sqlite *cache, idmap_mapping *req, idmap_id_res *res,
usr/src/cmd/idmap/idmapd/dbutils.c
4015
cache, sql, &vm, &ncol, 14, &values);
usr/src/cmd/idmap/idmapd/dbutils.c
4170
sqlite *cache,
usr/src/cmd/idmap/idmapd/dbutils.c
4213
retcode = sql_compile_n_step_once(cache, sql, &vm, &ncol, 4, &values);
usr/src/cmd/idmap/idmapd/dbutils.c
432
get_cache_handle(sqlite **cache)
usr/src/cmd/idmap/idmapd/dbutils.c
4376
sqlite *cache,
usr/src/cmd/idmap/idmapd/dbutils.c
4407
retcode = lookup_cache_name2sid(cache, name, domain, canonname,
usr/src/cmd/idmap/idmapd/dbutils.c
4594
retcode = lookup_name2sid(state->cache,
usr/src/cmd/idmap/idmapd/dbutils.c
463
*cache = tsd->cache_db;
usr/src/cmd/idmap/idmapd/dbutils.c
4777
retcode = lookup_cache_pid2sid(state->cache, req, res, is_user);
usr/src/cmd/idmap/idmapd/dbutils.c
4982
sqlite *cache = NULL;
usr/src/cmd/idmap/idmapd/dbutils.c
5003
rc = get_cache_handle(&cache);
usr/src/cmd/idmap/idmapd/dbutils.c
5016
rc = sql_exec_no_cb(cache, IDMAP_CACHENAME, sql1);
usr/src/cmd/idmap/idmapd/dbutils.c
5018
rc = sql_exec_no_cb(cache, IDMAP_CACHENAME, sql2);
usr/src/cmd/idmap/idmapd/dbutils.c
5023
kill_cache_handle(cache);
usr/src/cmd/idmap/idmapd/idmapd.h
152
sqlite *cache;
usr/src/cmd/idmap/idmapd/nldaputils.c
909
rc1 = lookup_name2sid(state->cache,
usr/src/cmd/idmap/idmapd/server.c
185
sqlite *cache = NULL, *db = NULL;
usr/src/cmd/idmap/idmapd/server.c
203
result->retcode = get_cache_handle(&cache);
usr/src/cmd/idmap/idmapd/server.c
206
state.cache = cache;
usr/src/cmd/idmap/idmapd/server.c
435
rc = sql_exec_no_cb(cache, IDMAP_CACHENAME, "BEGIN TRANSACTION;");
usr/src/cmd/idmap/idmapd/server.c
459
rc = sql_exec_no_cb(cache, IDMAP_CACHENAME,
usr/src/cmd/idmap/idmapd/server.c
462
rc = sql_exec_no_cb(cache, IDMAP_CACHENAME,
usr/src/cmd/idmap/idmapd/server.c
466
(void) sql_exec_no_cb(cache, IDMAP_CACHENAME,
usr/src/cmd/idmap/idmapd/server.c
471
kill_cache_handle(cache);
usr/src/cmd/idmap/idmapd/server.c
662
sqlite *cache = NULL;
usr/src/cmd/idmap/idmapd/server.c
685
result->retcode = get_cache_handle(&cache);
usr/src/cmd/idmap/idmapd/server.c
723
PROCESS_LIST_SVC_SQL(retcode, cache, IDMAP_CACHENAME, sql, limit,
usr/src/cmd/idmap/idmapd/server.c
727
kill_cache_handle(cache);
usr/src/cmd/isns/isnsd/dd.c
965
struct cache *c
usr/src/cmd/isns/isnsd/isns_dd.h
46
struct cache *c;
usr/src/cmd/isns/isnsd/isns_dd.h
88
int dd_matrix_init(struct cache *);
usr/src/cmd/isns/isnsd/isns_htab.h
62
struct cache *c;
usr/src/cmd/isns/isnsd/isns_obj.h
71
int obj_tab_init(struct cache *);
usr/src/cmd/isns/isnsd/obj.c
878
struct cache *c
usr/src/cmd/keyserv/keyserv_cache.c
1125
for (c = cache; c != 0; c = c->next) {
usr/src/cmd/keyserv/keyserv_cache.c
1147
c->next = cache;
usr/src/cmd/keyserv/keyserv_cache.c
1148
cache = c;
usr/src/cmd/keyserv/keyserv_cache.c
1168
for (c = cache; c != 0; c = c->next) {
usr/src/cmd/keyserv/keyserv_cache.c
48
static struct cachekey *cache = 0;
usr/src/cmd/krb5/kdestroy/kdestroy.c
108
krb5_ccache cache = NULL;
usr/src/cmd/krb5/kdestroy/kdestroy.c
224
if (cache == NULL) {
usr/src/cmd/krb5/kdestroy/kdestroy.c
225
if (code = krb5_cc_default(kcontext, &cache)) {
usr/src/cmd/krb5/kdestroy/kdestroy.c
236
code = krb5_cc_resolve (kcontext, cache_name, &cache);
usr/src/cmd/krb5/kdestroy/kdestroy.c
242
code = krb5_cc_default(kcontext, &cache);
usr/src/cmd/krb5/kdestroy/kdestroy.c
253
code = krb5_cc_get_principal(kcontext, cache, &me);
usr/src/cmd/krb5/kdestroy/kdestroy.c
262
code = krb5_cc_destroy (kcontext, cache);
usr/src/cmd/krb5/klist/klist.c
397
krb5_ccache cache = NULL;
usr/src/cmd/krb5/klist/klist.c
410
if ((code = krb5_cc_default(kcontext, &cache))) {
usr/src/cmd/krb5/klist/klist.c
418
if ((code = krb5_cc_resolve(kcontext, name, &cache))) {
usr/src/cmd/krb5/klist/klist.c
428
if ((code = krb5_cc_set_flags(kcontext, cache, flags))) {
usr/src/cmd/krb5/klist/klist.c
432
krb5_cc_get_type(kcontext, cache),
usr/src/cmd/krb5/klist/klist.c
433
krb5_cc_get_name(kcontext, cache));
usr/src/cmd/krb5/klist/klist.c
444
krb5_cc_get_type(kcontext, cache),
usr/src/cmd/krb5/klist/klist.c
445
krb5_cc_get_name(kcontext, cache));
usr/src/cmd/krb5/klist/klist.c
449
if ((code = krb5_cc_get_principal(kcontext, cache, &princ))) {
usr/src/cmd/krb5/klist/klist.c
464
krb5_cc_get_type(kcontext, cache),
usr/src/cmd/krb5/klist/klist.c
465
krb5_cc_get_name(kcontext, cache), defname);
usr/src/cmd/krb5/klist/klist.c
474
if ((code = krb5_cc_start_seq_get(kcontext, cache, &cur))) {
usr/src/cmd/krb5/klist/klist.c
480
while (!(code = krb5_cc_next_cred(kcontext, cache, &cur, &creds))) {
usr/src/cmd/krb5/klist/klist.c
497
if ((code = krb5_cc_end_seq_get(kcontext, cache, &cur))) {
usr/src/cmd/krb5/klist/klist.c
505
if ((code = krb5_cc_set_flags(kcontext, cache, flags))) {
usr/src/cmd/ldapcachemgr/cachemgr.c
365
ldap_stat_t *cache;
usr/src/cmd/ldapcachemgr/cachemgr.c
380
cache = getcacheptr("ldap");
usr/src/cmd/ldapcachemgr/cachemgr.c
385
cache->ldap_ttl = atoi(optarg);
usr/src/cmd/ldapcachemgr/cachemgr.h
107
extern int cachemgr_set_ttl(ldap_stat_t *cache, char *name, int value);
usr/src/cmd/ldapcachemgr/cachemgr_parse.c
79
cachemgr_set_ttl(ldap_stat_t *cache, char *name, int value)
usr/src/cmd/ldapcachemgr/cachemgr_parse.c
83
if (cache == NULL)
usr/src/cmd/ldapcachemgr/cachemgr_parse.c
86
result = cachemgr_set_integer(&(cache->ldap_ttl),
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
541
kmem_cache_t cache;
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
550
if (mdb_vread(&cache, sizeof (cache), addr) != -1 &&
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
551
(cache.cache_flags & KMF_LITE) &&
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
555
(uintptr_t)KMEM_BUFTAG(&cache, lmp->lkm_base)) != -1) {
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
663
kmem_cache_t cache;
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
746
if (mdb_vread(&cache, sizeof (cache), lkb->lkb_data) == -1) {
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
758
lk_bytes += (lkb->lkb_dups + 1) * cache.cache_bufsize;
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
774
cache.cache_name, lk_bytes);
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
778
cache.cache_name, lk_ttl,
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
779
cache.cache_bufsize, lk_bytes);
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
795
if (mdb_vread(&cache, sizeof (cache), lkb->lkb_cid) == -1) {
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
807
lk_bytes += (lkb->lkb_dups + 1) * cache.cache_bufsize;
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
827
cache.cache_name, lk_bytes);
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
831
cache.cache_name, lk_ttl,
usr/src/cmd/mdb/common/modules/genunix/leaky_subr.c
832
cache.cache_bufsize, lk_bytes);
usr/src/cmd/mdb/common/modules/genunix/net.c
1085
netstat_print_conn(const char *cache, int proto, mdb_walk_cb_t cbfunc,
usr/src/cmd/mdb/common/modules/genunix/net.c
1092
if (mdb_walk(cache, cbfunc, cbdata) == -1) {
usr/src/cmd/mdb/common/modules/genunix/net.c
1093
mdb_warn("failed to walk %s", cache);
usr/src/cmd/mdb/common/modules/genunix/net.c
1100
netstat_print_common(const char *cache, int proto, mdb_walk_cb_t cbfunc,
usr/src/cmd/mdb/common/modules/genunix/net.c
1110
status = netstat_print_conn(cache, proto, cbfunc, cbdata);
usr/src/cmd/mdb/common/modules/genunix/net.c
1115
status = netstat_print_conn(cache, proto, cbfunc, cbdata);
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
1009
cache.cache_name, lk_bytes);
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
1013
cache.cache_name, lk_ttl,
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
1014
cache.cache_bufsize, lk_bytes);
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
1029
if (mdb_vread(&cache, sizeof (cache), lkb->lkb_data) == -1) {
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
1041
lk_bytes += (lkb->lkb_dups + 1) * cache.cache_bufsize;
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
1054
cache.cache_name, lk_bytes);
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
1058
cache.cache_name, lk_ttl,
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
1059
cache.cache_bufsize, lk_bytes);
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
885
umem_cache_t cache;
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
981
if (mdb_vread(&cache, sizeof (cache), lkb->lkb_data) == -1) {
usr/src/cmd/mdb/common/modules/libumem/leaky_subr.c
993
lk_bytes += (lkb->lkb_dups + 1) * cache.cache_bufsize;
usr/src/cmd/modload/drvsubr.c
603
get_cached_n_to_m_file(char *filename, char ***cache)
usr/src/cmd/modload/drvsubr.c
724
*cache = ptr->cached_file;
usr/src/cmd/modload/drvsubr.c
82
static int get_cached_n_to_m_file(char *filename, char ***cache);
usr/src/cmd/nscd/nscd_cfgdef.h
1108
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1118
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1128
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1138
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1148
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1158
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1168
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1178
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1188
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1198
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1209
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1278
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1288
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1298
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1308
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1318
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1328
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1338
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1348
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1358
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
1368
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
448
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
460
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
591
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
603
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
615
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
627
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
639
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
651
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
663
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
675
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
687
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
699
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
71
nscd_cfg_cache_t cache;
usr/src/cmd/nscd/nscd_cfgdef.h
711
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
723
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
735
cache,
usr/src/cmd/nscd/nscd_cfgdef.h
79
nscd_cfg_stat_cache_t cache;
usr/src/cmd/nscd/nscd_cfgdef.h
88
nscd_cfg_stat_cache_t cache;
usr/src/cmd/nscd/nscd_cfgdef.h
99
nscd_cfg_global_cache_t cache;
usr/src/cmd/rcm_daemon/common/dump_rcm.c
147
while ((dc = cache) != NULL) {
usr/src/cmd/rcm_daemon/common/dump_rcm.c
148
cache = cache->next;
usr/src/cmd/rcm_daemon/common/dump_rcm.c
450
for (ent = cache; ent != NULL; ent = ent->next) {
usr/src/cmd/rcm_daemon/common/dump_rcm.c
471
ent = cache;
usr/src/cmd/rcm_daemon/common/dump_rcm.c
521
for (dc = cache; dc != NULL; dc = dc->next) {
usr/src/cmd/rcm_daemon/common/dump_rcm.c
536
ent->next = cache;
usr/src/cmd/rcm_daemon/common/dump_rcm.c
540
cache = ent;
usr/src/cmd/rcm_daemon/common/dump_rcm.c
555
cache = ent->next;
usr/src/cmd/rcm_daemon/common/dump_rcm.c
567
while ((dc = cache) != NULL) {
usr/src/cmd/rcm_daemon/common/dump_rcm.c
568
cache = cache->next;
usr/src/cmd/rcm_daemon/common/dump_rcm.c
69
static dump_conf_t *cache;
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
1021
cache->mounts[index] = entry->next;
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
1045
cache_lookup(cache_t *cache, char *rsrc)
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
1051
if ((cache == NULL) || (cache->mounts == NULL) || (rsrc == NULL)) {
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
1057
index = hash(cache->hash_size, rsrc);
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
1058
if (cache->mounts[index]) {
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
1059
for (entry = cache->mounts[index]; entry != NULL;
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
692
cache_t *cache;
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
719
if ((cache = (cache_t *)calloc(1, sizeof (cache_t))) == NULL) {
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
726
cache->hash_size = size;
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
727
cache->timestamp = st.st_mtime;
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
730
cache->mounts = (hashentry_t **)calloc(size, sizeof (hashentry_t *));
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
731
if (cache->mounts == NULL) {
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
735
free_cache(&cache);
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
745
free_cache(&cache);
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
758
if (cache_insert(cache, &mt) < 0) {
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
762
free_cache(&cache);
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
772
return (cache);
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
950
cache_insert(cache_t *cache, struct mnttab *mt)
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
957
if ((cache == NULL) ||
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
958
(cache->mounts == NULL) ||
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
979
index = hash(cache->hash_size, mt->mnt_special);
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
980
for (entry = cache->mounts[index]; entry != NULL; entry = entry->next) {
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
996
entry->next = cache->mounts[index];
usr/src/cmd/rcm_daemon/common/filesys_rcm.c
997
cache->mounts[index] = entry;
usr/src/cmd/rcm_daemon/common/swap_rcm.c
161
while ((sf = cache) != NULL) {
usr/src/cmd/rcm_daemon/common/swap_rcm.c
162
cache = cache->next;
usr/src/cmd/rcm_daemon/common/swap_rcm.c
456
for (sf = cache; sf != NULL; sf = sf->next) {
usr/src/cmd/rcm_daemon/common/swap_rcm.c
508
sf = cache;
usr/src/cmd/rcm_daemon/common/swap_rcm.c
639
while ((sf = cache) != NULL) {
usr/src/cmd/rcm_daemon/common/swap_rcm.c
640
cache = cache->next;
usr/src/cmd/rcm_daemon/common/swap_rcm.c
670
ent->next = cache;
usr/src/cmd/rcm_daemon/common/swap_rcm.c
674
cache = ent;
usr/src/cmd/rcm_daemon/common/swap_rcm.c
685
for (sf = cache; sf != NULL; sf = sf->next) {
usr/src/cmd/rcm_daemon/common/swap_rcm.c
707
cache = ent->next;
usr/src/cmd/rcm_daemon/common/swap_rcm.c
76
static swap_file_t *cache;
usr/src/cmd/sgs/elfdump/common/elfdump.c
1011
unwind_eh_frame(cache, cnt, shnum, uphdr, ehdr,
usr/src/cmd/sgs/elfdump/common/elfdump.c
1031
init_symtbl_state(SYMTBL_STATE *state, Cache *cache, Word shnum, Word secndx,
usr/src/cmd/sgs/elfdump/common/elfdump.c
1039
state->cache = cache;
usr/src/cmd/sgs/elfdump/common/elfdump.c
1042
state->seccache = &cache[secndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
107
Cache *cache; /* Pointer to cache entry for VERSYM */
usr/src/cmd/sgs/elfdump/common/elfdump.c
1081
if (versym && versym->cache &&
usr/src/cmd/sgs/elfdump/common/elfdump.c
1082
(versym->cache->c_shdr->sh_link == state->secndx))
usr/src/cmd/sgs/elfdump/common/elfdump.c
1102
Cache *_cache = &state->cache[symcnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
1193
&state->cache[state->seccache->c_shdr->sh_link], state->file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
1214
tshdr = state->cache[shndx].c_shdr;
usr/src/cmd/sgs/elfdump/common/elfdump.c
1215
sec = state->cache[shndx].c_name;
usr/src/cmd/sgs/elfdump/common/elfdump.c
122
Cache *cache; /* Cache of all section headers */
usr/src/cmd/sgs/elfdump/common/elfdump.c
1233
tshdr = state->cache[shndx].c_shdr;
usr/src/cmd/sgs/elfdump/common/elfdump.c
1234
sec = state->cache[shndx].c_name;
usr/src/cmd/sgs/elfdump/common/elfdump.c
1378
cap_section(const char *file, Cache *cache, Word shnum, Cache *ccache,
usr/src/cmd/sgs/elfdump/common/elfdump.c
1418
cicache = &cache[cshdr->sh_link];
usr/src/cmd/sgs/elfdump/common/elfdump.c
1439
scache = &cache[cishdr->sh_link];
usr/src/cmd/sgs/elfdump/common/elfdump.c
1449
if (!init_symtbl_state(&state, cache, shnum,
usr/src/cmd/sgs/elfdump/common/elfdump.c
1472
strcache = &cache[cshdr->sh_info];
usr/src/cmd/sgs/elfdump/common/elfdump.c
1647
chcache = &cache[cishdr->sh_info];
usr/src/cmd/sgs/elfdump/common/elfdump.c
1753
cap(const char *file, Cache *cache, Word shnum, Word phnum, Ehdr *ehdr,
usr/src/cmd/sgs/elfdump/common/elfdump.c
1786
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
1793
if (cap_section(file, cache, shnum, _cache, osabi,
usr/src/cmd/sgs/elfdump/common/elfdump.c
1834
interp(const char *file, Cache *cache, Word shnum, Word phnum, Elf *elf,
usr/src/cmd/sgs/elfdump/common/elfdump.c
1862
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
1912
syminfo(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, const char *file)
usr/src/cmd/sgs/elfdump/common/elfdump.c
1923
if (cache[cnt].c_shdr->sh_type == SHT_SUNW_syminfo) {
usr/src/cmd/sgs/elfdump/common/elfdump.c
1924
infocache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
1965
(cache[infoshdr->sh_info].c_shdr->sh_type != SHT_DYNAMIC)) {
usr/src/cmd/sgs/elfdump/common/elfdump.c
1969
dyncache = &cache[infoshdr->sh_info];
usr/src/cmd/sgs/elfdump/common/elfdump.c
2004
if (stringtbl(cache, 1, cnt, shnum, file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2354
versions(Cache *cache, Word shnum, const char *file, uint_t flags,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2364
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
2400
versym->cache = _cache;
usr/src/cmd/sgs/elfdump/common/elfdump.c
2473
&cache[verdef_cache->c_shdr->sh_link], file);
usr/src/cmd/sgs/elfdump/common/elfdump.c
2486
&cache[verneed_cache->c_shdr->sh_link], file, versym);
usr/src/cmd/sgs/elfdump/common/elfdump.c
2494
symbols(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2505
_cache = &cache[secndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
2516
if (!init_symtbl_state(&state, cache, shnum, secndx, ehdr,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2537
sunw_sort(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2552
sortcache = &cache[sortsecndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
2575
symcache = &cache[sortshdr->sh_link];
usr/src/cmd/sgs/elfdump/common/elfdump.c
2581
if (!init_symtbl_state(&ldynsym_state, cache, shnum,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2593
symcache = &cache[symsecndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
2607
if (!init_symtbl_state(&dynsym_state, cache, shnum,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2674
reloc(Cache *cache, Word shnum, Ehdr *ehdr, const char *file)
usr/src/cmd/sgs/elfdump/common/elfdump.c
2684
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
272
relsymname(Cache *cache, Cache *csec, Cache *strsec, Word symndx, Word symnum,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2724
if (stringtbl(cache, 1, cnt, shnum, file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2760
symname = relsymname(cache, _cache, strsec, symndx,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2943
Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, const char *file)
usr/src/cmd/sgs/elfdump/common/elfdump.c
296
cache[sym->st_shndx].c_name);
usr/src/cmd/sgs/elfdump/common/elfdump.c
2964
symlookup(symname, cache, shnum, &sym, target_cache,
usr/src/cmd/sgs/elfdump/common/elfdump.c
2977
dynamic(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, const char *file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
3020
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
3028
(void) stringtbl(cache, 0, cnt, shnum, file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
310
stringtbl(Cache *cache, int symtab, Word ndx, Word shnum, const char *file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
313
Shdr *shdr = cache[ndx].c_shdr;
usr/src/cmd/sgs/elfdump/common/elfdump.c
3130
Cache *_cache = &cache[cnt], *strsec;
usr/src/cmd/sgs/elfdump/common/elfdump.c
3141
if (stringtbl(cache, 0, cnt, shnum, file, 0, 0, &strsec) == 0)
usr/src/cmd/sgs/elfdump/common/elfdump.c
326
file, cache[ndx].c_name, EC_WORD(shdr->sh_link));
usr/src/cmd/sgs/elfdump/common/elfdump.c
3327
sec.fini, cache, shnum, ehdr, osabi, file);
usr/src/cmd/sgs/elfdump/common/elfdump.c
334
shdr = cache[ndx].c_shdr;
usr/src/cmd/sgs/elfdump/common/elfdump.c
3346
sec.init, cache, shnum, ehdr, osabi, file);
usr/src/cmd/sgs/elfdump/common/elfdump.c
338
file, cache[ndx].c_name);
usr/src/cmd/sgs/elfdump/common/elfdump.c
345
if ((cache[ndx].c_data == NULL) ||
usr/src/cmd/sgs/elfdump/common/elfdump.c
346
(cache[ndx].c_data->d_buf == NULL)) {
usr/src/cmd/sgs/elfdump/common/elfdump.c
348
file, cache[ndx].c_name);
usr/src/cmd/sgs/elfdump/common/elfdump.c
3518
move(Cache *cache, Word shnum, const char *file, uint_t flags)
usr/src/cmd/sgs/elfdump/common/elfdump.c
3526
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
3554
if (stringtbl(cache, 1, cnt, shnum, file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
358
*symsec = &cache[ndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
3600
symname = relsymname(cache, _cache, strsec,
usr/src/cmd/sgs/elfdump/common/elfdump.c
3610
(cache[shndx].c_shdr)->sh_type == SHT_NOBITS))) {
usr/src/cmd/sgs/elfdump/common/elfdump.c
366
file, cache[ndx].c_name, EC_WORD(shdr->sh_link));
usr/src/cmd/sgs/elfdump/common/elfdump.c
371
*strsec = &cache[shdr->sh_link];
usr/src/cmd/sgs/elfdump/common/elfdump.c
3765
note_entry(Cache *cache, Word *data, size_t size, Ehdr *ehdr, const char *file)
usr/src/cmd/sgs/elfdump/common/elfdump.c
3774
pnstate.pns_cache = cache;
usr/src/cmd/sgs/elfdump/common/elfdump.c
3895
note(Cache *cache, Word shnum, Ehdr *ehdr, const char *file)
usr/src/cmd/sgs/elfdump/common/elfdump.c
3903
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
3950
has_linux_abi_note(Cache *cache, Word shnum, const char *file)
usr/src/cmd/sgs/elfdump/common/elfdump.c
3956
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
396
symlookup(const char *name, Cache *cache, Word shnum, Sym **sym,
usr/src/cmd/sgs/elfdump/common/elfdump.c
4058
hash(Cache *cache, Word shnum, const char *file, uint_t flags)
usr/src/cmd/sgs/elfdump/common/elfdump.c
4067
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
4116
_cache = &cache[hshdr->sh_link];
usr/src/cmd/sgs/elfdump/common/elfdump.c
4187
hash_entry(_cache, &cache[sshdr->sh_link], hsecname,
usr/src/cmd/sgs/elfdump/common/elfdump.c
4204
hash_entry(_cache, &cache[sshdr->sh_link],
usr/src/cmd/sgs/elfdump/common/elfdump.c
4250
group(Cache *cache, Word shnum, const char *file, uint_t flags)
usr/src/cmd/sgs/elfdump/common/elfdump.c
4255
Cache *_cache = &cache[scnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
4276
if (stringtbl(cache, 1, scnt, shnum, file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
4325
grpnam = cache[sym->st_shndx].c_name;
usr/src/cmd/sgs/elfdump/common/elfdump.c
4340
name = cache[grpdata[gcnt]].c_name;
usr/src/cmd/sgs/elfdump/common/elfdump.c
4349
got(Cache *cache, Word shnum, Ehdr *ehdr, const char *file)
usr/src/cmd/sgs/elfdump/common/elfdump.c
4366
if (strncmp(cache[cnt].c_name, MSG_ORIG(MSG_ELF_GOT),
usr/src/cmd/sgs/elfdump/common/elfdump.c
4368
gotcache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
439
symname = string(symtab, cnt, &cache[shdr->sh_link], file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
4427
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
4473
if (stringtbl(cache, 1, cnt, shnum, file,
usr/src/cmd/sgs/elfdump/common/elfdump.c
4534
gip->g_symname = relsymname(cache, _cache,
usr/src/cmd/sgs/elfdump/common/elfdump.c
4542
if (symlookup(MSG_ORIG(MSG_SYM_GOT), cache, shnum, &gotsym, NULL,
usr/src/cmd/sgs/elfdump/common/elfdump.c
4631
Cache *cache, *_cache;
usr/src/cmd/sgs/elfdump/common/elfdump.c
464
sections(const char *file, Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi)
usr/src/cmd/sgs/elfdump/common/elfdump.c
4667
if ((*cache_ret = cache = malloc(shnum * sizeof (Cache))) == NULL) {
usr/src/cmd/sgs/elfdump/common/elfdump.c
4674
*cache = cache_init;
usr/src/cmd/sgs/elfdump/common/elfdump.c
4675
_cache = cache;
usr/src/cmd/sgs/elfdump/common/elfdump.c
469
Cache *_cache = &cache[seccnt];
usr/src/cmd/sgs/elfdump/common/elfdump.c
4839
sort_shdr_ndx_arr_cache = cache;
usr/src/cmd/sgs/elfdump/common/elfdump.c
4844
Cache *_cache = cache + shdr_ndx_arr[ndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
4861
Cache *_cache1 = cache + shdr_ndx_arr[ndx1];
usr/src/cmd/sgs/elfdump/common/elfdump.c
4903
Cache *_cache = &cache[ndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
4943
create_cache(const char *file, int fd, Elf *elf, Ehdr *ehdr, Cache **cache,
usr/src/cmd/sgs/elfdump/common/elfdump.c
4958
if (fake_shdr_cache(file, fd, elf, ehdr, cache, shnum) == 0)
usr/src/cmd/sgs/elfdump/common/elfdump.c
4962
cache, *flags) == 0)
usr/src/cmd/sgs/elfdump/common/elfdump.c
4978
Cache *cache;
usr/src/cmd/sgs/elfdump/common/elfdump.c
5090
if (create_cache(file, fd, elf, ehdr, &cache,
usr/src/cmd/sgs/elfdump/common/elfdump.c
5095
if (has_linux_abi_note(cache, shnum, file)) {
usr/src/cmd/sgs/elfdump/common/elfdump.c
5156
if (create_cache(file, fd, elf, ehdr, &cache, shstrndx,
usr/src/cmd/sgs/elfdump/common/elfdump.c
5173
Cache *_cache = &cache[ndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
5209
Cache *_cache = &cache[ndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
5312
sections(file, cache, shnum, ehdr, osabi);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5315
interp(file, cache, shnum, phnum, elf, ehdr);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5318
versions(cache, shnum, file, flags, &versym);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5321
symbols(cache, shnum, ehdr, osabi, &versym, file, flags);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5324
sunw_sort(cache, shnum, ehdr, osabi, &versym, file, flags);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5327
hash(cache, shnum, file, flags);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5330
got(cache, shnum, ehdr, file);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5333
group(cache, shnum, file, flags);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5336
syminfo(cache, shnum, ehdr, osabi, file);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5339
reloc(cache, shnum, ehdr, file);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5342
dynamic(cache, shnum, ehdr, osabi, file, phnum, elf);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5349
note_cnt = note(cache, shnum, ehdr, file);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5377
move(cache, shnum, file, flags);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5383
cap(file, cache, shnum, phnum, ehdr, osabi, elf, flags);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5387
unwind(cache, shnum, phnum, ehdr, osabi, file, elf, flags);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5393
fake_shdr_cache_free(cache, shnum);
usr/src/cmd/sgs/elfdump/common/elfdump.c
5395
free(cache);
usr/src/cmd/sgs/elfdump/common/elfdump.c
554
unwind_eh_frame(Cache *cache, Word shndx, Word shnum, Phdr *uphdr, Ehdr *ehdr,
usr/src/cmd/sgs/elfdump/common/elfdump.c
565
Cache *_cache = &cache[shndx];
usr/src/cmd/sgs/elfdump/common/elfdump.c
577
if (strncmp(cache[cnt].c_name, MSG_ORIG(MSG_ELF_GOT),
usr/src/cmd/sgs/elfdump/common/elfdump.c
579
gotaddr = cache[cnt].c_shdr->sh_addr;
usr/src/cmd/sgs/elfdump/common/elfdump.c
736
cache[eh_state->hdr_ndx].c_name,
usr/src/cmd/sgs/elfdump/common/elfdump.c
739
cache[eh_state->frame_ndx].c_name,
usr/src/cmd/sgs/elfdump/common/elfdump.c
872
uchar_t osabi, Half mach, Cache *cache, const char *file)
usr/src/cmd/sgs/elfdump/common/elfdump.c
877
if (phdr->pfield != cache->c_shdr->sfield) { \
usr/src/cmd/sgs/elfdump/common/elfdump.c
880
cache->c_ndx, \
usr/src/cmd/sgs/elfdump/common/elfdump.c
881
cache->c_name, \
usr/src/cmd/sgs/elfdump/common/elfdump.c
886
cache->c_shdr->sfield, \
usr/src/cmd/sgs/elfdump/common/elfdump.c
910
unwind(Cache *cache, Word shnum, Word phnum, Ehdr *ehdr, uchar_t osabi,
usr/src/cmd/sgs/elfdump/common/elfdump.c
956
Cache *_cache = &cache[cnt];
usr/src/cmd/sgs/elfdump/common/fake_shdr.c
1068
Cache **cache, size_t *shnum)
usr/src/cmd/sgs/elfdump/common/fake_shdr.c
1496
if ((*cache = _cache = malloc((*shnum) * sizeof (Cache))) == NULL) {
usr/src/cmd/sgs/elfdump/common/fake_shdr.c
1544
fake_shdr_cache_free(Cache *cache, size_t shnum)
usr/src/cmd/sgs/elfdump/common/fake_shdr.c
1548
for (_cache = cache; shnum--; _cache++) {
usr/src/cmd/sgs/elfdump/common/fake_shdr.c
1558
free(cache);
usr/src/cmd/sgs/elfedit/common/util_machelf.c
371
elfedit_section_t *cache;
usr/src/cmd/sgs/elfedit/common/util_machelf.c
376
cache = &obj_state->os_secarr[cnt];
usr/src/cmd/sgs/elfedit/common/util_machelf.c
377
if (cache->sec_shdr->sh_type == SHT_SUNW_cap) {
usr/src/cmd/sgs/elfedit/common/util_machelf.c
380
EC_WORD(cnt), cache->sec_name);
usr/src/cmd/sgs/elfedit/common/util_machelf.c
381
*cap = (Cap *) cache->sec_data->d_buf;
usr/src/cmd/sgs/elfedit/common/util_machelf.c
382
*num = cache->sec_shdr->sh_size /
usr/src/cmd/sgs/elfedit/common/util_machelf.c
383
cache->sec_shdr->sh_entsize;
usr/src/cmd/sgs/elfedit/common/util_machelf.c
384
return (cache);
usr/src/cmd/sgs/elfedit/common/util_machelf.c
414
elfedit_section_t *cache;
usr/src/cmd/sgs/elfedit/common/util_machelf.c
417
cache = &obj_state->os_secarr[obj_state->os_dynndx];
usr/src/cmd/sgs/elfedit/common/util_machelf.c
419
EC_WORD(cache->sec_shndx), cache->sec_name);
usr/src/cmd/sgs/elfedit/common/util_machelf.c
420
*dyn = (Dyn *) cache->sec_data->d_buf;
usr/src/cmd/sgs/elfedit/common/util_machelf.c
421
*num = cache->sec_shdr->sh_size / cache->sec_shdr->sh_entsize;
usr/src/cmd/sgs/elfedit/common/util_machelf.c
422
return (cache);
usr/src/cmd/sgs/elfedit/common/util_machelf.c
453
elfedit_section_t *cache;
usr/src/cmd/sgs/elfedit/common/util_machelf.c
456
cache = &obj_state->os_secarr[cnt];
usr/src/cmd/sgs/elfedit/common/util_machelf.c
457
if (cache->sec_shdr->sh_type == SHT_SUNW_syminfo) {
usr/src/cmd/sgs/elfedit/common/util_machelf.c
460
EC_WORD(cnt), cache->sec_name);
usr/src/cmd/sgs/elfedit/common/util_machelf.c
461
*syminfo = (Syminfo *) cache->sec_data->d_buf;
usr/src/cmd/sgs/elfedit/common/util_machelf.c
462
*num = cache->sec_shdr->sh_size /
usr/src/cmd/sgs/elfedit/common/util_machelf.c
463
cache->sec_shdr->sh_entsize;
usr/src/cmd/sgs/elfedit/common/util_machelf.c
464
return (cache);
usr/src/cmd/sgs/elfedit/modules/common/dyn.c
1593
elfedit_section_t *cache;
usr/src/cmd/sgs/elfedit/modules/common/dyn.c
1619
cache = &obj_state->os_secarr[obj_state->os_dynndx];
usr/src/cmd/sgs/elfedit/modules/common/dyn.c
1620
dyn = (Dyn *) cache->sec_data->d_buf;
usr/src/cmd/sgs/elfedit/modules/common/dyn.c
1621
i = cache->sec_shdr->sh_size / cache->sec_shdr->sh_entsize;
usr/src/cmd/sgs/libld/common/sections.c
2779
ld_gather_strmerge(Ofl_desc *ofl, Rel_cache *cache)
usr/src/cmd/sgs/libld/common/sections.c
2793
REL_CACHE_TRAVERSE(cache, idx1, rbcp, rsp) {
usr/src/cmd/sgs/librtld/common/dynamic.c
39
update_dynamic(Cache *cache, Cache *_cache, Rt_map *lmp, int flags,
usr/src/cmd/sgs/librtld/common/dynamic.c
52
__cache = &cache[_cache->c_shdr->sh_link];
usr/src/cmd/sgs/librtld/common/relocate.c
53
count_reloc(Cache *cache, Cache *_cache, Rt_map *lmp, int flags, Addr addr,
usr/src/cmd/sgs/librtld/common/relocate.c
83
__cache = &cache[shdr->sh_link];
usr/src/cmd/sgs/librtld/common/relocate.c
86
__cache = &cache[shdr->sh_link];
usr/src/cmd/sgs/librtld/common/syms.c
43
update_sym(Cache *cache, Cache *_cache, Addr edata, Half endx, Addr addr)
usr/src/cmd/sgs/librtld/common/syms.c
57
strs = (char *)cache[shdr->sh_link].c_data->d_buf;
usr/src/cmd/sgs/pvs/common/pvs.c
1013
Cache *cache, *_cache;
usr/src/cmd/sgs/pvs/common/pvs.c
1160
if ((cache = calloc(shnum, sizeof (Cache))) == NULL) {
usr/src/cmd/sgs/pvs/common/pvs.c
1168
_cache = cache;
usr/src/cmd/sgs/pvs/common/pvs.c
1239
vsdata_s.vsd_sym_data = cache[shdr.sh_link].c_data;
usr/src/cmd/sgs/pvs/common/pvs.c
1240
(void) gelf_getshdr(cache[shdr.sh_link].c_scn, &shdr);
usr/src/cmd/sgs/pvs/common/pvs.c
1243
(const char *)cache[shdr.sh_link].c_data->d_buf;
usr/src/cmd/sgs/pvs/common/pvs.c
1251
nerror = gvers_need(cache, _cache_need, vsdata, file);
usr/src/cmd/sgs/pvs/common/pvs.c
1257
derror = gvers_def(cache, _cache_def, vsdata, file);
usr/src/cmd/sgs/pvs/common/pvs.c
1263
sym_local(cache, _cache_loc, file);
usr/src/cmd/sgs/pvs/common/pvs.c
1286
free(cache);
usr/src/cmd/sgs/pvs/common/pvs.c
474
sym_local(Cache *cache, Cache *csym, const char *file)
usr/src/cmd/sgs/pvs/common/pvs.c
482
strs = (char *)cache[shdr.sh_link].c_data->d_buf;
usr/src/cmd/sgs/pvs/common/pvs.c
554
gvers_need(Cache *cache, Cache *need, const Gver_sym_data *vsdata,
usr/src/cmd/sgs/pvs/common/pvs.c
579
strs = (char *)cache[shdr.sh_link].c_data->d_buf;
usr/src/cmd/sgs/pvs/common/pvs.c
805
gvers_def(Cache *cache, Cache *def, const Gver_sym_data *vsdata,
usr/src/cmd/sgs/pvs/common/pvs.c
831
strs = (char *)cache[shdr.sh_link].c_data->d_buf;
usr/src/cmd/zic/zic.c
1581
itssymlink(char const *name, int *cache)
usr/src/cmd/zic/zic.c
1583
if (*cache == -2) {
usr/src/cmd/zic/zic.c
1585
*cache = readlink(name, &c, 1) < 0 ? 0 : c == '/' ? 1 : -1;
usr/src/cmd/zic/zic.c
1587
return *cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1676
processorid_t *cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1700
if ((cache = (processorid_t *)realloc(
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1704
ctl->zsctl_cpu_cache = cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1817
if ((cache = (processorid_t *)realloc(
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1821
ctl->zsctl_cpu_cache = cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1882
psetid_t *cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1940
if ((cache = (psetid_t *)realloc(ctl->zsctl_pset_cache,
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1945
ctl->zsctl_pset_cache = cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1971
if ((cache = (psetid_t *)realloc(ctl->zsctl_pset_cache,
usr/src/cmd/zonestat/zonestatd/zonestatd.c
1974
ctl->zsctl_pset_cache = cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
2380
zoneid_t *cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
2414
if ((cache = (zoneid_t *)realloc(ctl->zsctl_zone_cache,
usr/src/cmd/zonestat/zonestatd/zonestatd.c
2417
ctl->zsctl_zone_cache = cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3691
zs_usage_cache_t *cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3715
cache = (zs_usage_cache_t *)malloc(size);
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3716
if (cache == NULL) {
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3721
next = (char *)cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3722
cache->zsuc_size = size - sizeof (zs_usage_cache_t);
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3726
usage = cache->zsuc_usage = (zs_usage_t *)next;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3873
cache->zsuc_ref = 1;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3874
cache->zsuc_gen = g_gen_next;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3877
g_usage_cache = cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3902
zsd_usage_cache_rele(zs_usage_cache_t *cache)
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3905
cache->zsuc_ref--;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3906
if (cache->zsuc_ref == 0)
usr/src/cmd/zonestat/zonestatd/zonestatd.c
3907
free(cache);
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4201
zsd_usage_filter(zoneid_t zid, zs_usage_cache_t *cache, zs_usage_t *usage,
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4216
cusage = cache->zsuc_usage;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4222
cusage = cache->zsuc_usage;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4404
zs_usage_cache_t *cache;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4472
cache = zsd_usage_cache_hold_locked();
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4473
if (cache == NULL) {
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4481
usage = (zs_usage_t *)alloca(cache->zsuc_size);
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4484
zsd_usage_filter(zoneid, cache, usage, is_gz);
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4488
zsd_usage_cache_rele(cache);
usr/src/common/fs/ufsops.c
805
struct cache *next;
usr/src/common/fs/ufsops.c
814
struct cache *entry = bkmem_alloc(sizeof (*entry));
usr/src/common/fs/ufsops.c
830
struct cache *entry = icache;
usr/src/common/fs/ufsops.c
842
struct cache *next, *entry = icache;
usr/src/common/lzma/LzmaEnc.c
223
Byte cache;
usr/src/common/lzma/LzmaEnc.c
509
p->cache = 0;
usr/src/common/lzma/LzmaEnc.c
533
Byte temp = p->cache;
usr/src/common/lzma/LzmaEnc.c
544
p->cache = (Byte)((UInt32)p->low >> 24);
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
348
#define BLOCKHEAD(cache) ((struct block_head *) cache)
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
350
#define KEY(cache) ((struct key *) ((int) cache + BLKH_SIZE))
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
351
#define DC(cache) ((struct disk_child *) \
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
352
((int) cache + BLKH_SIZE + KEY_SIZE * nr_item))
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
695
char* cache = CACHE(depth);
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
703
return cache;
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
706
cache = CACHE(num_cached);
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
712
if (! block_read (blockNr, 0, INFO->blocksize, cache))
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
715
if (BLOCKHEAD (cache)->blk_level != depth)
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
722
return cache;
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
733
char *cache;
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
767
cache = ROOT;
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
769
cache = CACHE (depth);
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
772
cache = read_tree_node (INFO->blocks[depth], depth);
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
773
if (! cache)
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
779
int nr_item = BLOCKHEAD (cache)->blk_nr_item;
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
788
cache = read_tree_node (DC (cache)[key_nr].dc_block_number, --depth);
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
789
if (! cache)
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
823
char *cache;
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
833
cache = ROOT;
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
838
nr_item = BLOCKHEAD (cache)->blk_nr_item;
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
840
key = KEY (cache);
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
858
cache = read_tree_node (DC (cache)[i].dc_block_number, --depth);
usr/src/grub/grub-0.97/stage2/fsys_reiserfs.c
859
if (! cache)
usr/src/head/ldap.h
1306
int LDAP_CALL ldap_memcache_set(LDAP *ld, LDAPMemCache *cache);
usr/src/head/ldap.h
1308
LDAP_API(void) LDAP_CALL ldap_memcache_flush(LDAPMemCache *cache, char *dn,
usr/src/head/ldap.h
1310
LDAP_API(void) LDAP_CALL ldap_memcache_destroy(LDAPMemCache *cache);
usr/src/head/ldap.h
1311
LDAP_API(void) LDAP_CALL ldap_memcache_update(LDAPMemCache *cache);
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
341
fmd_agent_cpu_cache_list_t *cache)
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
343
for (uint_t cpuno = 0; cpuno < cache->fmc_ncpus; cpuno++) {
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
344
fmd_agent_cpu_cache_t *cpu_cache = &cache->fmc_cpus[cpuno];
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
359
if (cache->fmc_cpus != NULL) {
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
360
umem_free(cache->fmc_cpus, sizeof (fmd_agent_cpu_cache_t) *
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
361
cache->fmc_ncpus);
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
362
cache->fmc_cpus = NULL;
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
363
cache->fmc_ncpus = 0;
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
368
fmd_agent_cache_info_pop_cpu(fmd_agent_cpu_cache_list_t *cache,
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
375
fmd_agent_cpu_cache_t *cpu = &cache->fmc_cpus[cpuno];
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
406
fmd_agent_cache_info(fmd_agent_hdl_t *hdl, fmd_agent_cpu_cache_list_t *cache)
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
412
bzero(cache, sizeof (fmd_agent_cpu_cache_list_t));
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
425
cache->fmc_cpus = umem_zalloc(sizeof (fmd_agent_cpu_cache_t) * ncpus,
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
427
if (cache->fmc_cpus == NULL) {
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
431
cache->fmc_ncpus = ncpus;
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
432
for (uint_t i = 0; i < cache->fmc_ncpus; i++) {
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
433
if ((err = fmd_agent_cache_info_pop_cpu(cache, nvl, i)) != 0) {
usr/src/lib/fm/libfmd_agent/common/fmd_agent.c
441
fmd_agent_cache_info_free(hdl, cache);
usr/src/lib/fm/libfmd_snmp/common/module.c
552
netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg;
usr/src/lib/fm/libfmd_snmp/common/module.c
560
ASSERT(netsnmp_handler_check_cache(cache) != NULL);
usr/src/lib/fm/libfmd_snmp/common/module.c
570
cache);
usr/src/lib/fm/libfmd_snmp/common/module.c
575
request = cache->requests;
usr/src/lib/fm/libfmd_snmp/common/module.c
576
reqinfo = cache->reqinfo;
usr/src/lib/fm/libfmd_snmp/common/module.c
577
reginfo = cache->reginfo;
usr/src/lib/fm/libfmd_snmp/common/module.c
604
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/module.c
613
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/module.c
621
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/module.c
652
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
1050
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
695
netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg;
usr/src/lib/fm/libfmd_snmp/common/problem.c
702
ASSERT(netsnmp_handler_check_cache(cache) != NULL);
usr/src/lib/fm/libfmd_snmp/common/problem.c
712
cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
717
request = cache->requests;
usr/src/lib/fm/libfmd_snmp/common/problem.c
718
reqinfo = cache->reqinfo;
usr/src/lib/fm/libfmd_snmp/common/problem.c
719
reginfo = cache->reginfo;
usr/src/lib/fm/libfmd_snmp/common/problem.c
746
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
755
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
763
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
823
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
861
netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg;
usr/src/lib/fm/libfmd_snmp/common/problem.c
870
ASSERT(netsnmp_handler_check_cache(cache) != NULL);
usr/src/lib/fm/libfmd_snmp/common/problem.c
880
sunFmFaultEventTable_return, cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
885
request = cache->requests;
usr/src/lib/fm/libfmd_snmp/common/problem.c
886
reqinfo = cache->reqinfo;
usr/src/lib/fm/libfmd_snmp/common/problem.c
887
reginfo = cache->reginfo;
usr/src/lib/fm/libfmd_snmp/common/problem.c
914
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
923
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/problem.c
931
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/resource.c
565
netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg;
usr/src/lib/fm/libfmd_snmp/common/resource.c
573
ASSERT(netsnmp_handler_check_cache(cache) != NULL);
usr/src/lib/fm/libfmd_snmp/common/resource.c
583
cache);
usr/src/lib/fm/libfmd_snmp/common/resource.c
588
request = cache->requests;
usr/src/lib/fm/libfmd_snmp/common/resource.c
589
reqinfo = cache->reqinfo;
usr/src/lib/fm/libfmd_snmp/common/resource.c
590
reginfo = cache->reginfo;
usr/src/lib/fm/libfmd_snmp/common/resource.c
617
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/resource.c
626
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/resource.c
634
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/resource.c
673
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/libfmd_snmp/common/resource.c
710
netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg;
usr/src/lib/fm/libfmd_snmp/common/resource.c
715
ASSERT(netsnmp_handler_check_cache(cache) != NULL);
usr/src/lib/fm/libfmd_snmp/common/resource.c
725
cache);
usr/src/lib/fm/libfmd_snmp/common/resource.c
730
request = cache->requests;
usr/src/lib/fm/libfmd_snmp/common/resource.c
731
reqinfo = cache->reqinfo;
usr/src/lib/fm/libfmd_snmp/common/resource.c
759
netsnmp_free_delegated_cache(cache);
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1032
const spd_cache_t *cache, nvlist_t *spd, void *arg)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1040
if ((cache->sc_devices & SPD_DEVICE_PMIC_0) != 0)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1042
if ((cache->sc_devices & SPD_DEVICE_PMIC_1) != 0)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1044
if ((cache->sc_devices & SPD_DEVICE_PMIC_2) != 0)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1060
if ((cache->sc_devices & SPD_DEVICE_PMIC_0) != 0) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1068
if ((cache->sc_devices & SPD_DEVICE_PMIC_1) != 0) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1076
if ((cache->sc_devices & SPD_DEVICE_PMIC_2) != 0) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1097
const spd_cache_t *cache, nvlist_t *spd, void *arg)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1105
if ((cache->sc_devices & SPD_DEVICE_CD_0) != 0)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1107
if ((cache->sc_devices & SPD_DEVICE_CD_1) != 0)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1123
if ((cache->sc_devices & SPD_DEVICE_CD_0) != 0) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1131
if ((cache->sc_devices & SPD_DEVICE_CD_1) != 0) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1189
const spd_cache_t *cache)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1212
if (c->dc_always || (cache->sc_devices & c->dc_mask) != 0) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1219
uint32_t count = c->dc_count(c, cache, spd);
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
1231
if (pres && c->dc_mfg != NULL && !c->dc_mfg(mod, dimm, c, cache,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
321
topo_dimm_cache_spd(topo_mod_t *mod, nvlist_t *spd, spd_cache_t *cache)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
328
SPD_KEY_MOD_TYPE, DATA_TYPE_UINT32, &cache->sc_mod_type,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
329
SPD_KEY_NRANKS, DATA_TYPE_UINT32, &cache->sc_nranks,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
330
SPD_KEY_NSUBCHAN, DATA_TYPE_UINT32, &cache->sc_nsubchan,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
331
SPD_KEY_DATA_WIDTH, DATA_TYPE_UINT32, &cache->sc_data_bits,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
332
SPD_KEY_ECC_WIDTH, DATA_TYPE_UINT32, &cache->sc_ecc_bits,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
333
SPD_KEY_NBANK_BITS, DATA_TYPE_UINT32, &cache->sc_nbank_bits[0],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
334
SPD_KEY_NBGRP_BITS, DATA_TYPE_UINT32, &cache->sc_nbgrp_bits[0],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
335
SPD_KEY_NROW_BITS, DATA_TYPE_UINT32, &cache->sc_nrows[0],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
336
SPD_KEY_NCOL_BITS, DATA_TYPE_UINT32, &cache->sc_ncols[0],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
338
SPD_KEY_PKG_SL, DATA_TYPE_UINT32, &cache->sc_pkg_sl[0],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
339
SPD_KEY_PKG_NDIE, DATA_TYPE_UINT32, &cache->sc_pkg_ndie[0],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
340
SPD_KEY_DRAM_WIDTH, DATA_TYPE_UINT32, &cache->sc_dram_width[0],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
341
SPD_KEY_DIE_SIZE, DATA_TYPE_UINT64, &cache->sc_die_size[0],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
342
SPD_KEY_DEVS, DATA_TYPE_UINT32, &cache->sc_devices,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
353
cache->sc_dram_str = topo_dimm_dram_type2str(cache->sc_dram_type);
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
354
cache->sc_mod_str = topo_dimm_mod_type2str(cache->sc_mod_type);
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
355
cache->sc_vdd = topo_dimm_mod_vdd(cache->sc_dram_type);
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
360
cache->sc_asym = nvlist_lookup_boolean(spd, SPD_KEY_RANK_ASYM) == 0;
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
362
if (!cache->sc_asym)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
365
cache->sc_even_ranks = cache->sc_odd_ranks = cache->sc_nranks / 2;
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
366
if (cache->sc_nranks % 2 == 1)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
367
cache->sc_even_ranks++;
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
374
SPD_KEY_SEC_NBANK_BITS, DATA_TYPE_UINT32, &cache->sc_nbank_bits[1],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
375
SPD_KEY_SEC_NBGRP_BITS, DATA_TYPE_UINT32, &cache->sc_nbgrp_bits[1],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
376
SPD_KEY_SEC_NROW_BITS, DATA_TYPE_UINT32, &cache->sc_nrows[1],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
377
SPD_KEY_SEC_NCOL_BITS, DATA_TYPE_UINT32, &cache->sc_ncols[1],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
378
SPD_KEY_SEC_PKG_SL, DATA_TYPE_UINT32, &cache->sc_pkg_sl[1],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
379
SPD_KEY_SEC_PKG_NDIE, DATA_TYPE_UINT32, &cache->sc_pkg_ndie[1],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
380
SPD_KEY_SEC_DRAM_WIDTH, DATA_TYPE_UINT32, &cache->sc_dram_width[1],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
381
SPD_KEY_SEC_DIE_SIZE, DATA_TYPE_UINT32, &cache->sc_die_size[1],
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
424
topo_dimm_calc_size(topo_mod_t *mod, const spd_cache_t *cache, uint64_t *sizep)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
426
uint32_t pndie = cache->sc_pkg_ndie[0];
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
427
uint32_t width = cache->sc_data_bits * cache->sc_nsubchan /
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
428
cache->sc_dram_width[0];
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
431
if (cache->sc_pkg_sl[0] != SPD_SL_3DS)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
434
if (!cache->sc_asym) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
435
*sizep = pndie * width * cache->sc_nranks *
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
436
cache->sc_die_size[0] / 8;
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
440
if (cache->sc_nranks < 2) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
442
"only has %u ranks", cache->sc_nranks);
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
446
*sizep = pndie * width * cache->sc_even_ranks *
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
447
cache->sc_die_size[0] / 8;
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
449
pndie = cache->sc_pkg_ndie[1];
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
450
if (cache->sc_pkg_sl[1] != SPD_SL_3DS)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
453
*sizep += pndie * width * cache->sc_odd_ranks *
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
454
cache->sc_die_size[1] / 8;
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
464
topo_dimm_add_props(topo_mod_t *mod, tnode_t *dimm, const spd_cache_t *cache)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
470
nbgrps[0] = 1 << cache->sc_nbgrp_bits[0];
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
471
nbpbg[0] = 1 << cache->sc_nbank_bits[0];
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
474
if (!topo_dimm_calc_size(mod, cache, &size)) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
483
if (cache->sc_asym) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
485
nbgrps[1] = 1 << cache->sc_nbgrp_bits[1];
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
486
nbpbg[1] = 1 << cache->sc_nbank_bits[1];
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
491
TOPO_PROP_DIMM_RANKS, TOPO_TYPE_UINT32, cache->sc_nranks,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
496
TOPO_PROP_DIMM_SUBCHANNELS, TOPO_TYPE_UINT32, cache->sc_nsubchan,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
497
TOPO_PROP_DIMM_DATA_WIDTH, TOPO_TYPE_UINT32, cache->sc_data_bits,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
498
TOPO_PROP_DIMM_ECC_WIDTH, TOPO_TYPE_UINT32, cache->sc_ecc_bits,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
499
TOPO_PROP_DIMM_VDD, TOPO_TYPE_UINT32, cache->sc_vdd,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
501
TOPO_PROP_DIMM_TYPE, TOPO_TYPE_STRING, cache->sc_dram_str,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
502
TOPO_PROP_DIMM_MODULE_TYPE, TOPO_TYPE_STRING, cache->sc_mod_str,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
621
dimm_comp_count_solo(const dimm_comp_t *comp, const spd_cache_t *cache,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
640
dimm_comp_count_dies(const dimm_comp_t *comp, const spd_cache_t *cache,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
643
uint32_t chan_width = (cache->sc_ecc_bits + cache->sc_data_bits) *
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
644
cache->sc_nsubchan;
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
647
ndies_rank[0] = chan_width / cache->sc_dram_width[0];
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
648
if (cache->sc_asym) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
649
ndies_rank[1] = chan_width / cache->sc_dram_width[1];
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
650
} else if (cache->sc_nranks >= 2) {
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
658
dimm_comp_count_mask(const dimm_comp_t *comp, const spd_cache_t *cache,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
662
uint32_t combo_mask = cache->sc_devices & comp->dc_mask;
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
678
dimm_comp_count_regs(const dimm_comp_t *comp, const spd_cache_t *cache,
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
985
const spd_cache_t *cache, nvlist_t *spd, void *arg)
usr/src/lib/fm/topo/modules/common/dimm/topo_dimm.c
997
const spd_cache_t *cache, nvlist_t *spd, void *arg)
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_file.c
2435
krb5_fcc_remove_cred(krb5_context context, krb5_ccache cache, krb5_flags flags,
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_memory.c
116
krb5_mcc_data *cache;
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_memory.c
205
if ((*curr)->cache == d) {
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_memory.c
266
if (!strcmp(ptr->cache->name, residual))
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_memory.c
269
d = ptr->cache;
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_memory.c
461
n->cache = d;
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_memory.c
514
if (!strcmp(ptr->cache->name, uniquename)) {
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_memory.c
624
krb5_mcc_remove_cred(krb5_context context, krb5_ccache cache, krb5_flags flags,
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_memory.c
740
(*ccache)->data = cdata->cur->cache;
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccbase.c
181
krb5_cc_resolve (krb5_context context, const char *name, krb5_ccache *cache)
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccbase.c
197
return (*krb5_cc_dfl_ops->resolve)(context, cache, name);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccbase.c
222
*cache = (krb5_ccache) 0;
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccbase.c
230
return ops->resolve(context, cache, resid);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
101
ret = cache->ops->retrieve(context, cache, flags, mcreds, creds);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
112
ret = cache->ops->retrieve(context, cache, flags, mcreds, creds);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
118
krb5_cc_get_principal (krb5_context context, krb5_ccache cache,
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
121
return cache->ops->get_princ(context, cache, principal);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
125
krb5_cc_start_seq_get (krb5_context context, krb5_ccache cache,
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
128
return cache->ops->get_first(context, cache, cursor);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
132
krb5_cc_next_cred (krb5_context context, krb5_ccache cache,
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
135
return cache->ops->get_next(context, cache, cursor, creds);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
139
krb5_cc_end_seq_get (krb5_context context, krb5_ccache cache,
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
142
return cache->ops->end_get(context, cache, cursor);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
146
krb5_cc_remove_cred (krb5_context context, krb5_ccache cache, krb5_flags flags,
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
149
return cache->ops->remove_cred(context, cache, flags, creds);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
153
krb5_cc_set_flags (krb5_context context, krb5_ccache cache, krb5_flags flags)
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
155
return cache->ops->set_flags(context, cache, flags);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
159
krb5_cc_get_flags (krb5_context context, krb5_ccache cache, krb5_flags *flags)
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
161
return cache->ops->get_flags(context, cache, flags);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
165
krb5_cc_get_type (krb5_context context, krb5_ccache cache)
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
167
return cache->ops->prefix;
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
34
krb5_cc_get_name (krb5_context context, krb5_ccache cache)
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
36
return cache->ops->get_name(context, cache);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
40
krb5_cc_gen_new (krb5_context context, krb5_ccache *cache)
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
42
return (*cache)->ops->gen_new(context, cache);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
46
krb5_cc_initialize(krb5_context context, krb5_ccache cache,
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
49
return cache->ops->init(context, cache, principal);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
53
krb5_cc_destroy (krb5_context context, krb5_ccache cache)
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
55
return cache->ops->destroy(context, cache);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
59
krb5_cc_close (krb5_context context, krb5_ccache cache)
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
61
return cache->ops->close(context, cache);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
65
krb5_cc_store_cred (krb5_context context, krb5_ccache cache,
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
72
ret = cache->ops->store(context, cache, creds);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
86
ret = cache->ops->store(context, cache, creds);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ccfns.c
94
krb5_cc_retrieve_cred (krb5_context context, krb5_ccache cache,
usr/src/lib/krb5/kadm5/clnt/client_init.c
786
#define krb5_cc_get_type(context, cache) ((cache)->ops->prefix)
usr/src/lib/libdevinfo/devinfo_devlink.h
148
struct cache cache;
usr/src/lib/libdevinfo/devinfo_devlink.h
248
#define CACHE(h) (&(h)->cache)
usr/src/lib/libidmap/common/idmap_cache.c
1458
idmap_purge_sid2uid_gid_cache(sid2uid_gid_cache_t *cache, size_t limit)
usr/src/lib/libidmap/common/idmap_cache.c
1463
while (avl_numnodes(&cache->tree) > limit) {
usr/src/lib/libidmap/common/idmap_cache.c
1465
item = cache->head.blink;
usr/src/lib/libidmap/common/idmap_cache.c
1467
avl_remove(&cache->tree, item);
usr/src/lib/libidmap/common/idmap_cache.c
1469
cache->uid_num--;
usr/src/lib/libidmap/common/idmap_cache.c
1471
cache->gid_num--;
usr/src/lib/libidmap/common/idmap_cache.c
1473
cache->pid_num--;
usr/src/lib/libidmap/common/idmap_cache.c
1479
cache->purge_time = now;
usr/src/lib/libidmap/common/idmap_cache.c
1484
idmap_purge_winname2uid_gid_cache(winname2uid_gid_cache_t *cache, size_t limit)
usr/src/lib/libidmap/common/idmap_cache.c
1489
while (avl_numnodes(&cache->tree) > limit) {
usr/src/lib/libidmap/common/idmap_cache.c
1491
item = cache->head.blink;
usr/src/lib/libidmap/common/idmap_cache.c
1493
avl_remove(&cache->tree, item);
usr/src/lib/libidmap/common/idmap_cache.c
1495
cache->uid_num--;
usr/src/lib/libidmap/common/idmap_cache.c
1497
cache->gid_num--;
usr/src/lib/libidmap/common/idmap_cache.c
1505
cache->purge_time = now;
usr/src/lib/libidmap/common/idmap_cache.c
1510
idmap_purge_pid2sid_winname_cache(pid2sid_winname_cache_t *cache, size_t limit)
usr/src/lib/libidmap/common/idmap_cache.c
1515
while (avl_numnodes(&cache->tree) > limit) {
usr/src/lib/libidmap/common/idmap_cache.c
1517
item = cache->head.blink;
usr/src/lib/libidmap/common/idmap_cache.c
1519
avl_remove(&cache->tree, item);
usr/src/lib/libidmap/common/idmap_cache.c
1521
cache->winname_num--;
usr/src/lib/libidmap/common/idmap_cache.c
1523
cache->sid_num--;
usr/src/lib/libidmap/common/idmap_cache.c
1533
cache->purge_time = now;
usr/src/lib/libidmap/common/idmap_cache.c
182
idmap_purge_sid2uid_gid_cache(sid2uid_gid_cache_t *cache, size_t limit);
usr/src/lib/libidmap/common/idmap_cache.c
185
idmap_purge_pid2sid_winname_cache(pid2sid_winname_cache_t *cache, size_t limit);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1276
memcache_free_entry(LDAPMemCache *cache, ldapmemcacheRes *pRes)
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1294
memcache_adj_size(cache, size, MEMCACHE_SIZE_ENTRIES,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1303
memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes, int index)
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1313
if (cache->ldmemc_resHead[index] == pRes)
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1314
cache->ldmemc_resHead[index] = pRes->ldmemcr_next[index];
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1316
if (cache->ldmemc_resTail[index] == pRes)
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1317
cache->ldmemc_resTail[index] = pRes->ldmemcr_prev[index];
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1327
memcache_add_to_list(LDAPMemCache *cache, ldapmemcacheRes *pRes, int index)
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1329
if (cache->ldmemc_resHead[index])
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1330
cache->ldmemc_resHead[index]->ldmemcr_prev[index] = pRes;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1332
cache->ldmemc_resTail[index] = pRes;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1335
pRes->ldmemcr_next[index] = cache->ldmemc_resHead[index];
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1336
cache->ldmemc_resHead[index] = pRes;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1365
memcache_print_list( LDAPMemCache *cache, int index )
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1388
cache, name, 0 );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1389
for ( restmp = cache->ldmemc_resHead[index]; restmp != NULL;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1398
cache, name, 0 );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1404
memcache_expired(LDAPMemCache *cache, ldapmemcacheRes *pRes,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1407
if (!cache->ldmemc_ttl)
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1413
cache->ldmemc_ttl);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1418
memcache_access(LDAPMemCache *cache, int mode,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1430
nRes = htable_get(cache->ldmemc_resTmp, pData2, (void**)&pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1443
nRes = memcache_adj_size(cache, size, MEMCACHE_SIZE_ENTRIES,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1446
nRes = htable_put(cache->ldmemc_resTmp, pData2, (void*)pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1448
memcache_add_to_list(cache, pRes, LIST_TMP);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1450
memcache_free_entry(cache, pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1460
nRes = htable_get(cache->ldmemc_resTmp, pData1, (void**)&pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1466
nRes = htable_remove(cache->ldmemc_resTmp, pData1, NULL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1468
memcache_free_from_list(cache, pRes, LIST_TMP);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1469
memcache_free_entry(cache, pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1473
nRes = memcache_adj_size(cache, size, MEMCACHE_SIZE_ENTRIES,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1477
nRes = htable_remove(cache->ldmemc_resTmp, pData1, NULL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1479
memcache_free_from_list(cache, pRes, LIST_TMP);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1480
memcache_free_entry(cache, pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1489
nRes = htable_remove(cache->ldmemc_resTmp, pData1, NULL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1491
memcache_free_from_list(cache, pRes, LIST_TMP);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1496
if ((nRes = htable_put(cache->ldmemc_resLookup,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1499
memcache_add_to_list(cache, pRes, LIST_TTL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1500
memcache_add_to_list(cache, pRes, LIST_LRU);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1502
memcache_free_entry(cache, pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1510
nRes = htable_get(cache->ldmemc_resLookup, pData1, (void**)ppRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1514
if (!memcache_expired(cache, *ppRes, (unsigned long)time(0))) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1515
memcache_free_from_list(cache, *ppRes, LIST_LRU);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1516
memcache_add_to_list(cache, *ppRes, LIST_LRU);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1520
nRes = htable_remove(cache->ldmemc_resLookup, pData1, NULL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1522
memcache_free_from_list(cache, *ppRes, LIST_TTL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1523
memcache_free_from_list(cache, *ppRes, LIST_LRU);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1524
memcache_free_entry(cache, *ppRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1533
if ((nRes = htable_remove(cache->ldmemc_resTmp, pData1,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1535
memcache_free_from_list(cache, pCurRes, LIST_TMP);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1536
memcache_free_entry(cache, pCurRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1542
nRes = htable_removeall(cache->ldmemc_resTmp, (void*)cache);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1547
ldapmemcacheRes *pCurRes = cache->ldmemc_resTail[LIST_TTL];
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1550
for (; pCurRes; pCurRes = cache->ldmemc_resTail[LIST_TTL]) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1552
if (!memcache_expired(cache, pCurRes, curTime))
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1555
nRes = htable_remove(cache->ldmemc_resLookup,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1558
memcache_free_from_list(cache, pCurRes, LIST_TTL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1559
memcache_free_from_list(cache, pCurRes, LIST_LRU);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1560
memcache_free_entry(cache, pCurRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1566
ldapmemcacheRes *pCurRes = cache->ldmemc_resHead[LIST_TTL];
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1568
nRes = htable_removeall(cache->ldmemc_resLookup, (void*)cache);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1570
for (; pCurRes; pCurRes = cache->ldmemc_resHead[LIST_TTL]) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1571
memcache_free_from_list(cache, pCurRes, LIST_LRU);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1572
cache->ldmemc_resHead[LIST_TTL] =
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1573
cache->ldmemc_resHead[LIST_TTL]->ldmemcr_next[LIST_TTL];
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1574
memcache_free_entry(cache, pCurRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1576
cache->ldmemc_resTail[LIST_TTL] = NULL;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1589
if (cache->ldmemc_basedns) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1590
for (i = 0; cache->ldmemc_basedns[i]; i++) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1591
if ((memcache_compare_dn(cache->ldmemc_basedns[i], dn,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1593
(memcache_compare_dn(dn, cache->ldmemc_basedns[i],
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1597
if (cache->ldmemc_basedns[i] == NULL)
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1605
for (pRes = cache->ldmemc_resHead[list_id]; pRes != NULL;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1632
nRes = htable_remove(cache->ldmemc_resLookup,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1635
memcache_free_from_list(cache, pRes, LIST_TTL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1636
memcache_free_from_list(cache, pRes, LIST_LRU);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1638
nRes = htable_remove(cache->ldmemc_resTmp,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1641
memcache_free_from_list(cache, pRes, LIST_TMP);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1643
memcache_free_entry(cache, pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1650
ldapmemcacheRes *pRes = cache->ldmemc_resTail[LIST_LRU];
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1658
nRes = htable_remove(cache->ldmemc_resLookup,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1661
memcache_free_from_list(cache, pRes, LIST_TTL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1662
memcache_free_from_list(cache, pRes, LIST_LRU);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1663
memcache_free_entry(cache, pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1676
memcache_report_statistics( LDAPMemCache *cache )
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1680
if ( cache->ldmemc_stats.ldmemcstat_tries == 0 ) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1683
hitrate = ( 100L * cache->ldmemc_stats.ldmemcstat_hits ) /
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1684
cache->ldmemc_stats.ldmemcstat_tries;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1686
LDAPDebug( LDAP_DEBUG_STATS, "memcache 0x%x:\n", cache, 0, 0 );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1688
cache->ldmemc_stats.ldmemcstat_tries,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1689
cache->ldmemc_stats.ldmemcstat_hits, hitrate );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1690
if ( cache->ldmemc_size <= 0 ) { /* no size limit */
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1692
cache->ldmemc_size_used, 0, 0 );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1695
cache->ldmemc_size_used,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1696
cache->ldmemc_size - cache->ldmemc_size_used, 0 );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
190
static int memcache_validate_basedn(LDAPMemCache *cache, const char *basedn);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
194
static int memcache_adj_size(LDAPMemCache *cache, unsigned long size,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
196
static int memcache_free_entry(LDAPMemCache *cache, ldapmemcacheRes *pRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
197
static int memcache_expired(LDAPMemCache *cache, ldapmemcacheRes *pRes,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
1989
LDAPMemCache *cache = (LDAPMemCache*)pData;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
199
static int memcache_add_to_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
2011
memcache_free_from_list(cache, pCurRes, LIST_TMP);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
2012
memcache_free_entry(cache, pCurRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
2022
LDAPMemCache *cache = (LDAPMemCache*)pData;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
203
static int memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
2031
memcache_free_from_list(cache, pCurRes, LIST_TMP);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
2032
memcache_free_entry(cache, pCurRes);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
214
static int memcache_access(LDAPMemCache *cache, int mode,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
217
static void memcache_print_list( LDAPMemCache *cache, int index );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
218
static void memcache_report_statistics( LDAPMemCache *cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
357
ldap_memcache_set( LDAP *ld, LDAPMemCache *cache )
usr/src/lib/libldap5/sources/ldap/common/memcache.c
368
if (ld->ld_memcache != cache) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
409
if (cache == NULL) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
416
LDAP_MEMCACHE_MUTEX_LOCK( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
418
if ((nRes = memcache_adj_size(cache, sizeof(ldapmemcacheld),
usr/src/lib/libldap5/sources/ldap/common/memcache.c
420
LDAP_MEMCACHE_MUTEX_UNLOCK( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
427
memcache_adj_size(cache, sizeof(ldapmemcacheld),
usr/src/lib/libldap5/sources/ldap/common/memcache.c
432
pCur->ldmemcl_next = cache->ldmemc_lds;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
433
cache->ldmemc_lds = pCur;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
434
ld->ld_memcache = cache;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
437
LDAP_MEMCACHE_MUTEX_UNLOCK( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
470
ldap_memcache_update( LDAPMemCache *cache )
usr/src/lib/libldap5/sources/ldap/common/memcache.c
473
cache, 0, 0 );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
475
if ( !NSLDAPI_VALID_MEMCACHE_POINTER( cache )) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
479
LDAP_MEMCACHE_MUTEX_LOCK( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
480
memcache_access(cache, MEMCACHE_ACCESS_UPDATE, NULL, NULL, NULL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
481
LDAP_MEMCACHE_MUTEX_UNLOCK( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
487
ldap_memcache_flush( LDAPMemCache *cache, char *dn, int scope )
usr/src/lib/libldap5/sources/ldap/common/memcache.c
491
cache, ( dn == NULL ) ? "(null)" : dn, scope );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
493
if ( !NSLDAPI_VALID_MEMCACHE_POINTER( cache )) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
497
LDAP_MEMCACHE_MUTEX_LOCK( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
500
memcache_access(cache, MEMCACHE_ACCESS_FLUSH_ALL, NULL, NULL, NULL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
502
memcache_access(cache, MEMCACHE_ACCESS_FLUSH,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
506
LDAP_MEMCACHE_MUTEX_UNLOCK( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
512
ldap_memcache_destroy( LDAPMemCache *cache )
usr/src/lib/libldap5/sources/ldap/common/memcache.c
519
cache, 0, 0 );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
521
if ( !NSLDAPI_VALID_MEMCACHE_POINTER( cache )) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
526
LDAP_MEMCACHE_MUTEX_LOCK( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
528
for (pNode = cache->ldmemc_lds; pNode; pNode = pNextNode, i++) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
530
cache->ldmemc_lds = pNode->ldmemcl_next;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
539
LDAP_MEMCACHE_MUTEX_UNLOCK( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
542
if (cache->ldmemc_basedns) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
543
for (i = 0; cache->ldmemc_basedns[i]; i++) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
544
size += strlen(cache->ldmemc_basedns[i]) + 1;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
545
NSLDAPI_FREE(cache->ldmemc_basedns[i]);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
548
NSLDAPI_FREE(cache->ldmemc_basedns);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
552
if (cache->ldmemc_resTmp) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
553
size += htable_sizeinbytes(cache->ldmemc_resTmp);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
554
memcache_access(cache, MEMCACHE_ACCESS_DELETE_ALL, NULL, NULL, NULL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
555
htable_free(cache->ldmemc_resTmp);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
559
if (cache->ldmemc_resLookup) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
560
size += htable_sizeinbytes(cache->ldmemc_resLookup);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
561
memcache_access(cache, MEMCACHE_ACCESS_FLUSH_ALL, NULL, NULL, NULL);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
562
htable_free(cache->ldmemc_resLookup);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
565
memcache_adj_size(cache, size, MEMCACHE_SIZE_NON_ENTRIES,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
568
LDAP_MEMCACHE_MUTEX_FREE( cache );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
570
NSLDAPI_FREE(cache);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
857
memcache_validate_basedn(LDAPMemCache *cache, const char *basedn)
usr/src/lib/libldap5/sources/ldap/common/memcache.c
861
if ( cache->ldmemc_basedns == NULL ) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
872
return (cache->ldmemc_basedns && cache->ldmemc_basedns[0] ?
usr/src/lib/libldap5/sources/ldap/common/memcache.c
877
for (i = 0; cache->ldmemc_basedns[i]; i++) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
878
if (memcache_compare_dn(basedn, cache->ldmemc_basedns[i],
usr/src/lib/libldap5/sources/ldap/common/memcache.c
935
memcache_adj_size(LDAPMemCache *cache, unsigned long size,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
944
cache->ldmemc_size_used += size;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
945
if ((cache->ldmemc_size > 0) &&
usr/src/lib/libldap5/sources/ldap/common/memcache.c
946
(cache->ldmemc_size_used > cache->ldmemc_size)) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
948
if (size > cache->ldmemc_size_entries) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
949
cache->ldmemc_size_used -= size;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
952
cache->ldmemc_size_entries, 0, 0 );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
956
while (cache->ldmemc_size_used > cache->ldmemc_size) {
usr/src/lib/libldap5/sources/ldap/common/memcache.c
957
if (memcache_access(cache, MEMCACHE_ACCESS_FLUSH_LRU,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
959
cache->ldmemc_size_used -= size;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
968
cache->ldmemc_size_entries += size;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
970
cache->ldmemc_size_used -= size;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
971
assert(cache->ldmemc_size_used >= 0);
usr/src/lib/libldap5/sources/ldap/common/memcache.c
973
cache->ldmemc_size_entries -= size;
usr/src/lib/libldap5/sources/ldap/common/memcache.c
977
if ( cache->ldmemc_size == 0 ) { /* no size limit */
usr/src/lib/libldap5/sources/ldap/common/memcache.c
980
cache->ldmemc_size_used, 0, 0 );
usr/src/lib/libldap5/sources/ldap/common/memcache.c
984
"free space: %ld bytes).\n", cache->ldmemc_size_used,
usr/src/lib/libldap5/sources/ldap/common/memcache.c
985
cache->ldmemc_size - cache->ldmemc_size_used, 0 );
usr/src/lib/libmtmalloc/common/mtmalloc_impl.h
49
struct cache *mt_next; /* next cache in list */
usr/src/lib/libnsl/rpc/svc_vc.c
481
char *cache)
usr/src/lib/libnsl/rpc/svc_vc.c
504
cd->cf_cache = cache;
usr/src/lib/libnsl/yp/yp_match.c
124
struct cache *c, **pp;
usr/src/lib/libnsl/yp/yp_match.c
265
struct cache *c;
usr/src/lib/libnsl/yp/yp_match.c
318
struct cache *p, *n;
usr/src/lib/libnsl/yp/yp_match.c
460
struct cache *c;
usr/src/lib/libnsl/yp/yp_match.c
60
struct cache *next;
usr/src/lib/libnsl/yp/yp_match.c
72
static struct cache *head;
usr/src/lib/libnsl/yp/yp_match.c
78
freenode(struct cache *n)
usr/src/lib/libnsl/yp/yp_match.c
94
static struct cache *
usr/src/lib/libnsl/yp/yp_match.c
97
struct cache *n;
usr/src/lib/libproc/common/Psymtab.c
1844
} *cp, *cache = NULL, *dyn = NULL, *plt = NULL, *ctf = NULL,
usr/src/lib/libproc/common/Psymtab.c
1964
if ((cache = malloc(nshdrs * sizeof (*cache))) == NULL) {
usr/src/lib/libproc/common/Psymtab.c
1980
for (cp = cache + 1, scn = NULL; scn = elf_nextscn(elf, scn); cp++) {
usr/src/lib/libproc/common/Psymtab.c
2006
for (i = 1, cp = cache + 1; i < nshdrs; i++, cp++) {
usr/src/lib/libproc/common/Psymtab.c
2029
cache[shp->sh_link].c_data->d_buf;
usr/src/lib/libproc/common/Psymtab.c
2031
cache[shp->sh_link].c_data->d_size;
usr/src/lib/libproc/common/Psymtab.c
2033
symp->sym_strhdr = cache[shp->sh_link].c_shdr;
usr/src/lib/libproc/common/Psymtab.c
2064
(cache[shp->sh_link].c_shdr.sh_type != SHT_DYNSYM &&
usr/src/lib/libproc/common/Psymtab.c
2065
cache[shp->sh_link].c_shdr.sh_type != SHT_SYMTAB)) {
usr/src/lib/libproc/common/Psymtab.c
2244
cache[ctf->c_shdr.sh_link].c_shdr.sh_type == SHT_DYNSYM)
usr/src/lib/libproc/common/Psymtab.c
2330
free(cache);
usr/src/lib/libproc/common/Psymtab.c
2334
if (cache != NULL)
usr/src/lib/libproc/common/Psymtab.c
2335
free(cache);
usr/src/lib/libslp/javalib/com/sun/slp/SunDATable.java
108
cache = getWireTable(conf.getConfiguredScopes(), Defaults.version);
usr/src/lib/libslp/javalib/com/sun/slp/SunDATable.java
138
cache = getWireTable(useScopes, Defaults.version);
usr/src/lib/libslp/javalib/com/sun/slp/SunDATable.java
142
equivClasses = (Vector)cache.clone();
usr/src/lib/libslp/javalib/com/sun/slp/SunDATable.java
214
for (i = 0; i < cache.size(); i++) {
usr/src/lib/libslp/javalib/com/sun/slp/SunDATable.java
215
DARecord rec = (DARecord)cache.elementAt(i);
usr/src/lib/libslp/javalib/com/sun/slp/SunDATable.java
235
cache.removeElementAt(i);
usr/src/lib/libslp/javalib/com/sun/slp/SunDATable.java
81
private Vector cache = null;
usr/src/lib/libtecla/common/expand.c
103
DirCache cache; /* The cache of directory reader objects */
usr/src/lib/libtecla/common/expand.c
178
ef->cache.mem = NULL;
usr/src/lib/libtecla/common/expand.c
179
ef->cache.head = NULL;
usr/src/lib/libtecla/common/expand.c
180
ef->cache.next = NULL;
usr/src/lib/libtecla/common/expand.c
181
ef->cache.tail = NULL;
usr/src/lib/libtecla/common/expand.c
203
ef->cache.mem = _new_FreeList(sizeof(DirNode), DIR_CACHE_BLK);
usr/src/lib/libtecla/common/expand.c
204
if(!ef->cache.mem)
usr/src/lib/libtecla/common/expand.c
250
for(dnode=ef->cache.head; dnode; dnode=dnode->next)
usr/src/lib/libtecla/common/expand.c
256
ef->cache.mem = _del_FreeList(ef->cache.mem, 1);
usr/src/lib/libtecla/common/expand.c
257
ef->cache.head = ef->cache.tail = ef->cache.next = NULL;
usr/src/lib/libtecla/common/expand.c
690
DirCache *cache = &ef->cache;
usr/src/lib/libtecla/common/expand.c
694
if(!cache->next) {
usr/src/lib/libtecla/common/expand.c
695
node = (DirNode *) _new_FreeListNode(cache->mem);
usr/src/lib/libtecla/common/expand.c
714
node = (DirNode *) _del_FreeListNode(cache->mem, node);
usr/src/lib/libtecla/common/expand.c
720
node->prev = cache->tail;
usr/src/lib/libtecla/common/expand.c
721
if(cache->tail)
usr/src/lib/libtecla/common/expand.c
722
cache->tail->next = node;
usr/src/lib/libtecla/common/expand.c
724
cache->head = node;
usr/src/lib/libtecla/common/expand.c
725
cache->next = cache->tail = node;
usr/src/lib/libtecla/common/expand.c
730
node = cache->next;
usr/src/lib/libtecla/common/expand.c
742
cache->next = node->next;
usr/src/lib/libtecla/common/expand.c
746
cache->head = node->next;
usr/src/lib/libtecla/common/expand.c
750
cache->tail = node->prev;
usr/src/lib/libtecla/common/expand.c
774
DirCache *cache = &ef->cache;
usr/src/lib/libtecla/common/expand.c
783
node->prev = cache->tail;
usr/src/lib/libtecla/common/expand.c
784
if(cache->tail)
usr/src/lib/libtecla/common/expand.c
785
cache->tail->next = node;
usr/src/lib/libtecla/common/expand.c
787
cache->head = cache->tail = node;
usr/src/lib/libtecla/common/expand.c
788
if(!cache->next)
usr/src/lib/libtecla/common/expand.c
789
cache->next = node;
usr/src/lib/libumem/common/umem_base.h
113
extern void *_umem_cache_alloc(umem_cache_t *cache, int flags);
usr/src/lib/libumem/common/umem_base.h
114
extern void _umem_cache_free(umem_cache_t *cache, void *buffer);
usr/src/lib/libzfs/common/libzfs_pool.c
2065
boolean_t spare, cache;
usr/src/lib/libzfs/common/libzfs_pool.c
2068
nvlist_t *tgt = zpool_find_vdev(zhp, vd_path, &spare, &cache,
usr/src/lib/libzfs/common/libzfs_pool.c
2071
if ((tgt == NULL) || cache || spare) {
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
277
cache_t *cache = NULL;
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
364
if ((cache = (cache_t *)calloc(1, sizeof (*cache))) == NULL)
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
367
if ((cache->printer = (printer_t *)calloc(1, sizeof (*cache->printer)))
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
371
cache->printer->attributes = attributes;
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
372
svc->cache = cache;
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
383
list_append(&cache->jobs, job);
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
397
time(&cache->timestamp);
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
408
if (svc->cache != NULL) { /* this should be time based */
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
409
if (svc->cache->jobs == NULL) {
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
410
free(svc->cache);
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
411
svc->cache = NULL;
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
434
if (svc->cache != NULL) {
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
435
*printer = svc->cache->printer;
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
451
if (svc->cache != NULL) {
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
452
*jobs = svc->cache->jobs;
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
465
free(svc->cache);
usr/src/lib/print/libpapi-lpd/common/lpd-query.c
466
svc->cache = NULL;
usr/src/lib/print/libpapi-lpd/common/papi_impl.h
69
cache_t *cache; /* printer/job cache */
usr/src/lib/print/libpapi-lpd/common/service.c
107
if (svc->cache != NULL)
usr/src/lib/print/libpapi-lpd/common/service.c
108
cache_free(svc->cache);
usr/src/lib/scsi/plugins/ses/ses2/common/ses2_element_ctl.c
1826
CTL_DESC(SES_ET_NONVOLATILE_CACHE, cache),
usr/src/lib/smbsrv/libsmb/common/smb_cache.c
492
avl_tree_t *cache;
usr/src/lib/smbsrv/libsmb/common/smb_cache.c
494
cache = &chandle->ch_cache;
usr/src/lib/smbsrv/libsmb/common/smb_cache.c
495
while ((cnode = avl_destroy_nodes(cache, &cookie)) != NULL) {
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
376
overlay_targ_cache_t cache;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
379
bzero(&cache, sizeof (overlay_targ_cache_t));
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
380
cache.otc_linkid = inst->vri_linkid;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
382
ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_FLUSH, &cache);
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
395
overlay_targ_cache_t cache;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
398
bzero(&cache, sizeof (overlay_targ_cache_t));
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
399
cache.otc_linkid = inst->vri_linkid;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
400
bcopy(key, cache.otc_entry.otce_mac, ETHERADDRL);
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
402
ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_REMOVE, &cache);
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
417
overlay_targ_cache_t cache;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
420
bzero(&cache, sizeof (overlay_targ_cache_t));
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
421
cache.otc_linkid = inst->vri_linkid;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
422
bcopy(key, cache.otc_entry.otce_mac, ETHERADDRL);
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
424
ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_GET, &cache);
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
430
bcopy(cache.otc_entry.otce_dest.otp_mac, &entry->vcp_mac, ETHERADDRL);
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
431
entry->vcp_flags = cache.otc_entry.otce_flags;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
432
entry->vcp_ip = cache.otc_entry.otce_dest.otp_ip;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
433
entry->vcp_port = cache.otc_entry.otce_dest.otp_port;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
443
overlay_targ_cache_t cache;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
446
bzero(&cache, sizeof (overlay_targ_cache_t));
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
447
cache.otc_linkid = inst->vri_linkid;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
448
bcopy(key, cache.otc_entry.otce_mac, ETHERADDRL);
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
449
bcopy(&entry->vcp_mac, cache.otc_entry.otce_dest.otp_mac, ETHERADDRL);
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
450
cache.otc_entry.otce_flags = entry->vcp_flags;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
451
cache.otc_entry.otce_dest.otp_ip = entry->vcp_ip;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
452
cache.otc_entry.otce_dest.otp_port = entry->vcp_port;
usr/src/lib/varpd/libvarpd/common/libvarpd_overlay.c
454
ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_SET, &cache);
usr/src/stand/lib/fs/common/cache.c
63
struct cache *link[4]; /* .. Fwd/Bak links for hash chain & LRU */
usr/src/stand/lib/fs/common/cache.c
64
struct cache **chn; /* .. Hash chain link */
usr/src/uts/common/fs/nfs/nfs_export.c
2786
struct charset_cache *cache;
usr/src/uts/common/fs/nfs/nfs_export.c
2805
for (cache = exi->exi_charset; cache != NULL;
usr/src/uts/common/fs/nfs/nfs_export.c
2806
cache = exi->exi_charset) {
usr/src/uts/common/fs/nfs/nfs_export.c
2807
if (cache->inbound != (kiconv_t)-1)
usr/src/uts/common/fs/nfs/nfs_export.c
2808
(void) kiconv_close(cache->inbound);
usr/src/uts/common/fs/nfs/nfs_export.c
2809
if (cache->outbound != (kiconv_t)-1)
usr/src/uts/common/fs/nfs/nfs_export.c
2810
(void) kiconv_close(cache->outbound);
usr/src/uts/common/fs/nfs/nfs_export.c
2811
exi->exi_charset = cache->next;
usr/src/uts/common/fs/nfs/nfs_export.c
2812
kmem_free(cache, sizeof (struct charset_cache));
usr/src/uts/common/fs/zfs/dbuf.c
107
multilist_t *cache;
usr/src/uts/common/fs/zfs/dbuf.c
2350
multilist_remove(dbuf_caches[db->db_caching_status].cache, db);
usr/src/uts/common/fs/zfs/dbuf.c
3010
multilist_remove(dbuf_caches[db->db_caching_status].cache, db);
usr/src/uts/common/fs/zfs/dbuf.c
3243
multilist_insert(dbuf_caches[dcs].cache, db);
usr/src/uts/common/fs/zfs/dbuf.c
522
int idx = multilist_get_random_index(dbuf_caches[DB_DBUF_CACHE].cache);
usr/src/uts/common/fs/zfs/dbuf.c
524
dbuf_caches[DB_DBUF_CACHE].cache, idx);
usr/src/uts/common/fs/zfs/dbuf.c
670
dbuf_caches[dcs].cache =
usr/src/uts/common/fs/zfs/dbuf.c
709
multilist_destroy(dbuf_caches[dcs].cache);
usr/src/uts/common/fs/zfs/dmu_objset.c
1864
do_userquota_cacheflush(objset_t *os, userquota_cache_t *cache, dmu_tx_t *tx)
usr/src/uts/common/fs/zfs/dmu_objset.c
1872
while ((uqn = avl_destroy_nodes(&cache->uqc_user_deltas,
usr/src/uts/common/fs/zfs/dmu_objset.c
1885
avl_destroy(&cache->uqc_user_deltas);
usr/src/uts/common/fs/zfs/dmu_objset.c
1888
while ((uqn = avl_destroy_nodes(&cache->uqc_group_deltas,
usr/src/uts/common/fs/zfs/dmu_objset.c
1896
avl_destroy(&cache->uqc_group_deltas);
usr/src/uts/common/fs/zfs/dmu_objset.c
1900
while ((uqn = avl_destroy_nodes(&cache->uqc_project_deltas,
usr/src/uts/common/fs/zfs/dmu_objset.c
1908
avl_destroy(&cache->uqc_project_deltas);
usr/src/uts/common/fs/zfs/dmu_objset.c
1934
do_userquota_update(objset_t *os, userquota_cache_t *cache, uint64_t used,
usr/src/uts/common/fs/zfs/dmu_objset.c
1946
userquota_update_cache(&cache->uqc_user_deltas, name, delta);
usr/src/uts/common/fs/zfs/dmu_objset.c
1949
userquota_update_cache(&cache->uqc_group_deltas, name, delta);
usr/src/uts/common/fs/zfs/dmu_objset.c
1953
userquota_update_cache(&cache->uqc_project_deltas,
usr/src/uts/common/fs/zfs/dmu_objset.c
1960
do_userobjquota_update(objset_t *os, userquota_cache_t *cache, uint64_t flags,
usr/src/uts/common/fs/zfs/dmu_objset.c
1969
userquota_update_cache(&cache->uqc_user_deltas, name, delta);
usr/src/uts/common/fs/zfs/dmu_objset.c
1973
userquota_update_cache(&cache->uqc_group_deltas, name, delta);
usr/src/uts/common/fs/zfs/dmu_objset.c
1978
userquota_update_cache(&cache->uqc_project_deltas,
usr/src/uts/common/fs/zfs/dmu_objset.c
1997
userquota_cache_t cache = { 0 };
usr/src/uts/common/fs/zfs/dmu_objset.c
2004
avl_create(&cache.uqc_user_deltas, userquota_compare,
usr/src/uts/common/fs/zfs/dmu_objset.c
2006
avl_create(&cache.uqc_group_deltas, userquota_compare,
usr/src/uts/common/fs/zfs/dmu_objset.c
2009
avl_create(&cache.uqc_project_deltas, userquota_compare,
usr/src/uts/common/fs/zfs/dmu_objset.c
2023
do_userquota_update(os, &cache, dn->dn_oldused,
usr/src/uts/common/fs/zfs/dmu_objset.c
2026
do_userobjquota_update(os, &cache, dn->dn_oldflags,
usr/src/uts/common/fs/zfs/dmu_objset.c
2031
do_userquota_update(os, &cache,
usr/src/uts/common/fs/zfs/dmu_objset.c
2035
do_userobjquota_update(os, &cache,
usr/src/uts/common/fs/zfs/dmu_objset.c
2061
do_userquota_cacheflush(os, &cache, tx);
usr/src/uts/common/fs/zfs/lua/lfunc.c
117
f->cache = NULL;
usr/src/uts/common/fs/zfs/lua/lgc.c
175
if (p->cache == NULL) { /* first time? */
usr/src/uts/common/fs/zfs/lua/lgc.c
459
if (f->cache && iswhite(obj2gco(f->cache)))
usr/src/uts/common/fs/zfs/lua/lgc.c
460
f->cache = NULL; /* allow cache to be collected */
usr/src/uts/common/fs/zfs/lua/lobject.h
474
union Closure *cache; /* last created closure with this prototype */
usr/src/uts/common/fs/zfs/lua/lvm.c
440
Closure *c = p->cache;
usr/src/uts/common/fs/zfs/lua/lvm.c
476
p->cache = ncl; /* save it on cache for reuse */
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1364
krb5_cc_gen_new (krb5_context context, krb5_ccache *cache);
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1367
krb5_cc_initialize(krb5_context context, krb5_ccache cache,
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1371
krb5_cc_destroy (krb5_context context, krb5_ccache cache);
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1374
krb5_cc_close (krb5_context context, krb5_ccache cache);
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1377
krb5_cc_store_cred (krb5_context context, krb5_ccache cache,
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1381
krb5_cc_retrieve_cred (krb5_context context, krb5_ccache cache,
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1386
krb5_cc_get_principal (krb5_context context, krb5_ccache cache,
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1390
krb5_cc_start_seq_get (krb5_context context, krb5_ccache cache,
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1394
krb5_cc_next_cred (krb5_context context, krb5_ccache cache,
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1398
krb5_cc_end_seq_get (krb5_context context, krb5_ccache cache,
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1402
krb5_cc_remove_cred (krb5_context context, krb5_ccache cache, krb5_flags flags,
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1406
krb5_cc_set_flags (krb5_context context, krb5_ccache cache, krb5_flags flags);
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1409
krb5_cc_get_flags (krb5_context context, krb5_ccache cache, krb5_flags *flags);
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1412
krb5_cc_get_type (krb5_context context, krb5_ccache cache);
usr/src/uts/common/gssapi/mechs/krb5/include/krb5.h
1416
krb5_cc_get_name (krb5_context context, krb5_ccache cache);
usr/src/uts/common/idmap/idmap_cache.c
113
kidmap_purge_sid2pid_cache(idmap_sid2pid_cache_t *cache, size_t limit);
usr/src/uts/common/idmap/idmap_cache.c
116
kidmap_purge_pid2sid_cache(idmap_pid2sid_cache_t *cache, size_t limit);
usr/src/uts/common/idmap/idmap_cache.c
182
kidmap_cache_create(idmap_cache_t *cache)
usr/src/uts/common/idmap/idmap_cache.c
190
idmap_sid2pid_cache_t *sid2pid_hb = &cache->sid2pid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
207
idmap_pid2sid_cache_t *uid2sid_hb = &cache->uid2sid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
221
idmap_pid2sid_cache_t *gid2sid_hb = &cache->gid2sid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
234
kidmap_cache_delete(idmap_cache_t *cache)
usr/src/uts/common/idmap/idmap_cache.c
240
idmap_sid2pid_cache_t *sid2pid_hb = &cache->sid2pid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
253
idmap_pid2sid_cache_t *uid2sid_hb = &cache->uid2sid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
266
idmap_pid2sid_cache_t *gid2sid_hb = &cache->gid2sid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
284
kidmap_cache_get_data(idmap_cache_t *cache, size_t *uidbysid, size_t *gidbysid,
usr/src/uts/common/idmap/idmap_cache.c
297
idmap_sid2pid_cache_t *sid2pid_hb = &cache->sid2pid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
307
idmap_pid2sid_cache_t *uid2sid_hb = &cache->uid2sid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
315
idmap_pid2sid_cache_t *gid2sid_hb = &cache->gid2sid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
325
kidmap_cache_purge(idmap_cache_t *cache)
usr/src/uts/common/idmap/idmap_cache.c
331
idmap_sid2pid_cache_t *sid2pid_hb = &cache->sid2pid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
353
idmap_pid2sid_cache_t *uid2sid_hb = &cache->uid2sid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
372
idmap_pid2sid_cache_t *gid2sid_hb = &cache->gid2sid_hash[i];
usr/src/uts/common/idmap/idmap_cache.c
393
kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/idmap_cache.c
401
idmap_sid2pid_cache_t *sid2pid_hb = &cache->sid2pid_hash[idx];
usr/src/uts/common/idmap/idmap_cache.c
425
kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/idmap_cache.c
433
idmap_sid2pid_cache_t *sid2pid_hb = &cache->sid2pid_hash[idx];
usr/src/uts/common/idmap/idmap_cache.c
457
kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/idmap_cache.c
465
idmap_sid2pid_cache_t *sid2pid_hb = &cache->sid2pid_hash[idx];
usr/src/uts/common/idmap/idmap_cache.c
497
kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix,
usr/src/uts/common/idmap/idmap_cache.c
505
idmap_pid2sid_cache_t *uid2sid_hb = &cache->uid2sid_hash[idx];
usr/src/uts/common/idmap/idmap_cache.c
529
kidmap_cache_lookup_sidbygid(idmap_cache_t *cache, const char **sid_prefix,
usr/src/uts/common/idmap/idmap_cache.c
537
idmap_pid2sid_cache_t *gid2sid_hb = &cache->gid2sid_hash[idx];
usr/src/uts/common/idmap/idmap_cache.c
561
kidmap_cache_add_sid2uid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/idmap_cache.c
575
&cache->sid2pid_hash[rid & KIDMAP_HASH_MASK];
usr/src/uts/common/idmap/idmap_cache.c
619
&cache->uid2sid_hash[uid & KIDMAP_HASH_MASK];
usr/src/uts/common/idmap/idmap_cache.c
655
kidmap_cache_add_sid2gid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/idmap_cache.c
668
&cache->sid2pid_hash[rid & KIDMAP_HASH_MASK];
usr/src/uts/common/idmap/idmap_cache.c
712
&cache->gid2sid_hash[gid & KIDMAP_HASH_MASK];
usr/src/uts/common/idmap/idmap_cache.c
747
kidmap_cache_add_sid2pid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/idmap_cache.c
760
&cache->sid2pid_hash[rid & KIDMAP_HASH_MASK];
usr/src/uts/common/idmap/idmap_cache.c
827
&cache->uid2sid_hash[idx];
usr/src/uts/common/idmap/idmap_cache.c
858
&cache->gid2sid_hash[idx];
usr/src/uts/common/idmap/idmap_cache.c
895
kidmap_purge_sid2pid_cache(idmap_sid2pid_cache_t *cache, size_t limit)
usr/src/uts/common/idmap/idmap_cache.c
900
while (avl_numnodes(&cache->tree) > limit) {
usr/src/uts/common/idmap/idmap_cache.c
902
item = cache->head.blink;
usr/src/uts/common/idmap/idmap_cache.c
904
avl_remove(&cache->tree, item);
usr/src/uts/common/idmap/idmap_cache.c
906
cache->uid_num--;
usr/src/uts/common/idmap/idmap_cache.c
908
cache->gid_num--;
usr/src/uts/common/idmap/idmap_cache.c
910
cache->pid_num--;
usr/src/uts/common/idmap/idmap_cache.c
913
cache->purge_time = now;
usr/src/uts/common/idmap/idmap_cache.c
918
kidmap_purge_pid2sid_cache(idmap_pid2sid_cache_t *cache, size_t limit)
usr/src/uts/common/idmap/idmap_cache.c
923
while (avl_numnodes(&cache->tree) > limit) {
usr/src/uts/common/idmap/idmap_cache.c
925
item = cache->head.blink;
usr/src/uts/common/idmap/idmap_cache.c
927
avl_remove(&cache->tree, item);
usr/src/uts/common/idmap/idmap_cache.c
930
cache->purge_time = now;
usr/src/uts/common/idmap/idmap_kapi.c
1033
if (kidmap_cache_lookup_pidbysid(&get_handle->zs->cache, sid_prefix,
usr/src/uts/common/idmap/idmap_kapi.c
1092
if (kidmap_cache_lookup_sidbyuid(&get_handle->zs->cache,
usr/src/uts/common/idmap/idmap_kapi.c
1147
if (kidmap_cache_lookup_sidbygid(&get_handle->zs->cache,
usr/src/uts/common/idmap/idmap_kapi.c
1200
idmap_cache_t *cache;
usr/src/uts/common/idmap/idmap_kapi.c
1208
cache = &get_handle->zs->cache;
usr/src/uts/common/idmap/idmap_kapi.c
1268
cache, sid_prefix,
usr/src/uts/common/idmap/idmap_kapi.c
1274
cache, sid_prefix,
usr/src/uts/common/idmap/idmap_kapi.c
1291
cache, sid_prefix,
usr/src/uts/common/idmap/idmap_kapi.c
1297
cache, sid_prefix,
usr/src/uts/common/idmap/idmap_kapi.c
1321
cache, sid_prefix,
usr/src/uts/common/idmap/idmap_kapi.c
1328
cache, sid_prefix,
usr/src/uts/common/idmap/idmap_kapi.c
161
kidmap_cache_purge(&zs->cache);
usr/src/uts/common/idmap/idmap_kapi.c
193
kidmap_cache_get_data(&zs->cache, uidbysid, gidbysid,
usr/src/uts/common/idmap/idmap_kapi.c
323
kidmap_cache_create(&zs->cache);
usr/src/uts/common/idmap/idmap_kapi.c
341
kidmap_cache_delete(&zs->cache);
usr/src/uts/common/idmap/idmap_kapi.c
406
kidmap_cache_purge(&zs->cache);
usr/src/uts/common/idmap/idmap_kapi.c
442
if (kidmap_cache_lookup_uidbysid(&zs->cache, sid_prefix, rid, uid)
usr/src/uts/common/idmap/idmap_kapi.c
471
kidmap_cache_add_sid2uid(&zs->cache,
usr/src/uts/common/idmap/idmap_kapi.c
519
if (kidmap_cache_lookup_gidbysid(&zs->cache, sid_prefix, rid, gid)
usr/src/uts/common/idmap/idmap_kapi.c
548
kidmap_cache_add_sid2gid(&zs->cache,
usr/src/uts/common/idmap/idmap_kapi.c
596
if (kidmap_cache_lookup_pidbysid(&zs->cache, sid_prefix, rid, pid,
usr/src/uts/common/idmap/idmap_kapi.c
633
kidmap_cache_add_sid2pid(&zs->cache,
usr/src/uts/common/idmap/idmap_kapi.c
685
if (kidmap_cache_lookup_sidbyuid(&zs->cache, sid_prefix, rid, uid)
usr/src/uts/common/idmap/idmap_kapi.c
718
kidmap_cache_add_sid2uid(&zs->cache,
usr/src/uts/common/idmap/idmap_kapi.c
768
if (kidmap_cache_lookup_sidbygid(&zs->cache, sid_prefix, rid, gid)
usr/src/uts/common/idmap/idmap_kapi.c
801
kidmap_cache_add_sid2gid(&zs->cache,
usr/src/uts/common/idmap/idmap_kapi.c
909
if (kidmap_cache_lookup_uidbysid(&get_handle->zs->cache, sid_prefix,
usr/src/uts/common/idmap/idmap_kapi.c
92
idmap_cache_t cache;
usr/src/uts/common/idmap/idmap_kapi.c
970
if (kidmap_cache_lookup_gidbysid(&get_handle->zs->cache, sid_prefix,
usr/src/uts/common/idmap/kidmap_priv.h
105
kidmap_cache_create(idmap_cache_t *cache);
usr/src/uts/common/idmap/kidmap_priv.h
108
kidmap_cache_delete(idmap_cache_t *cache);
usr/src/uts/common/idmap/kidmap_priv.h
111
kidmap_cache_purge(idmap_cache_t *cache);
usr/src/uts/common/idmap/kidmap_priv.h
115
kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/kidmap_priv.h
119
kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/kidmap_priv.h
123
kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/kidmap_priv.h
127
kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix,
usr/src/uts/common/idmap/kidmap_priv.h
131
kidmap_cache_lookup_sidbygid(idmap_cache_t *cache, const char **sid_prefix,
usr/src/uts/common/idmap/kidmap_priv.h
136
kidmap_cache_add_sid2uid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/kidmap_priv.h
140
kidmap_cache_add_sid2gid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/kidmap_priv.h
144
kidmap_cache_add_sid2pid(idmap_cache_t *cache, const char *sid_prefix,
usr/src/uts/common/idmap/kidmap_priv.h
147
kidmap_cache_get_data(idmap_cache_t *cache, size_t *uidbysid, size_t *gidbysid,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3669
rxbuf_alloc(kmem_cache_t *cache, int kmflags, uint_t ref_cnt)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3675
rxb = kmem_cache_alloc(cache, kmflags);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3678
rxb->cache = cache;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3692
kmem_cache_free(rxb->cache, rxb);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
77
kmem_cache_t *cache; /* the kmem_cache this rxb came from */
usr/src/uts/common/io/devinfo.c
1002
bcopy(cache->cache_data, pa, cache->cache_size);
usr/src/uts/common/io/devinfo.c
1004
return (cache->cache_size);
usr/src/uts/common/io/devinfo.c
1014
di_mem2cache(struct di_state *st, struct di_cache *cache)
usr/src/uts/common/io/devinfo.c
1018
ASSERT(cache->cache_size == 0);
usr/src/uts/common/io/devinfo.c
1019
ASSERT(cache->cache_data == NULL);
usr/src/uts/common/io/devinfo.c
1021
ASSERT(DI_CACHE_LOCKED(*cache));
usr/src/uts/common/io/devinfo.c
1042
cache->cache_data = kmem_alloc(map_size, KM_SLEEP);
usr/src/uts/common/io/devinfo.c
1043
cache->cache_size = map_size;
usr/src/uts/common/io/devinfo.c
1044
di_copymem(st, cache->cache_data, cache->cache_size);
usr/src/uts/common/io/devinfo.c
3753
di_cache_write(struct di_cache *cache)
usr/src/uts/common/io/devinfo.c
3764
ASSERT(DI_CACHE_LOCKED(*cache));
usr/src/uts/common/io/devinfo.c
3767
if (cache->cache_size == 0) {
usr/src/uts/common/io/devinfo.c
3768
ASSERT(cache->cache_data == NULL);
usr/src/uts/common/io/devinfo.c
3773
ASSERT(cache->cache_size > 0);
usr/src/uts/common/io/devinfo.c
3774
ASSERT(cache->cache_data);
usr/src/uts/common/io/devinfo.c
3781
all = (struct di_all *)cache->cache_data;
usr/src/uts/common/io/devinfo.c
3796
if (all->map_size > cache->cache_size) {
usr/src/uts/common/io/devinfo.c
3798
" Skipping write", all->map_size, cache->cache_size));
usr/src/uts/common/io/devinfo.c
3844
buf = cache->cache_data;
usr/src/uts/common/io/devinfo.c
3911
di_cache_read(struct di_cache *cache)
usr/src/uts/common/io/devinfo.c
3922
ASSERT(DI_CACHE_LOCKED(*cache));
usr/src/uts/common/io/devinfo.c
3923
ASSERT(cache->cache_data == NULL);
usr/src/uts/common/io/devinfo.c
3924
ASSERT(cache->cache_size == 0);
usr/src/uts/common/io/devinfo.c
973
di_cache2mem(struct di_cache *cache, struct di_state *st)
usr/src/uts/common/io/devinfo.c
980
ASSERT(DI_CACHE_LOCKED(*cache));
usr/src/uts/common/io/devinfo.c
982
if (cache->cache_size == 0) {
usr/src/uts/common/io/devinfo.c
983
ASSERT(cache->cache_data == NULL);
usr/src/uts/common/io/devinfo.c
988
ASSERT(cache->cache_data);
usr/src/uts/common/io/devinfo.c
990
di_allocmem(st, cache->cache_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
18726
ha->nvram_cache->cache =
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
18728
if (ha->nvram_cache->cache == NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
18764
if (ha->nvram_cache->cache != NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
18765
kmem_free(ha->nvram_cache->cache,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_ioctl.c
1015
kmem_free(ha->nvram_cache->cache, ha->nvram_cache->size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_ioctl.c
1016
ha->nvram_cache->cache = (void *)nptr;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_ioctl.c
1053
ha->nvram_cache->cache == NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_ioctl.c
1070
rval2 = ql_get_nvram(ha, ha->nvram_cache->cache,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_ioctl.c
1088
if (ddi_copyout(ha->nvram_cache->cache, bp,
usr/src/uts/common/io/ib/clients/iser/iser_idm.c
1091
kmem_cache_free(iser_buf->cache, iser_buf);
usr/src/uts/common/io/ib/clients/iser/iser_resource.c
167
msg->cache = hca->iser_msg_cache;
usr/src/uts/common/io/ib/clients/iser/iser_resource.c
231
kmem_cache_free(msg->cache, msg);
usr/src/uts/common/io/ib/clients/iser/iser_resource.c
281
iser_buf->cache = hca->iser_buf_cache;
usr/src/uts/common/io/mac/mac_client.c
5094
uint32_t cache = mcip->mci_vidcache;
usr/src/uts/common/io/mac/mac_client.c
5100
if (MCIP_VIDCACHE_ISVALID(cache) && MCIP_VIDCACHE_VID(cache) == vid)
usr/src/uts/common/io/mac/mac_client.c
5101
return (MCIP_VIDCACHE_BOOL(cache) ? B_TRUE : B_FALSE);
usr/src/uts/common/io/scsi/targets/sd.c
220
int cache[NTARGETS_WIDE];
usr/src/uts/common/io/scsi/targets/sd.c
2483
cp->cache[i] = SCSIPROBE_EXISTS;
usr/src/uts/common/io/scsi/targets/sd.c
2551
cp->cache[i] = SCSIPROBE_EXISTS;
usr/src/uts/common/io/scsi/targets/sd.c
2559
cp->cache[tgt] = SCSIPROBE_EXISTS;
usr/src/uts/common/io/scsi/targets/sd.c
2563
if (cp->cache[tgt] != SCSIPROBE_EXISTS) {
usr/src/uts/common/io/scsi/targets/sd.c
2568
return (cp->cache[tgt] = scsi_probe(devp, waitfn));
usr/src/uts/common/io/sfxge/sfxge_hash.c
122
uint32_t *cache = kmem_alloc(SFXGE_TOEPLITZ_CACHE_SIZE *
usr/src/uts/common/io/sfxge/sfxge_hash.c
151
cache[i * (UINT8_MAX + 1) + byte] = res;
usr/src/uts/common/io/sfxge/sfxge_hash.c
154
return (cache);
usr/src/uts/common/io/sfxge/sfxge_hash.c
51
toeplitz_hash(const uint32_t *cache, const uint8_t *input,
usr/src/uts/common/io/sfxge/sfxge_hash.c
56
hash ^= cache[pos * (UINT8_MAX + 1) + *input];
usr/src/uts/common/os/callout.c
1953
callout_cache_t *cache;
usr/src/uts/common/os/callout.c
1966
for (cache = callout_caches; cache != NULL; cache = cache->cc_next) {
usr/src/uts/common/os/callout.c
1967
if (cache->cc_hand == hand)
usr/src/uts/common/os/callout.c
1974
if (cache == NULL) {
usr/src/uts/common/os/callout.c
1975
cache = kmem_alloc(sizeof (callout_cache_t), KM_SLEEP);
usr/src/uts/common/os/callout.c
1976
cache->cc_hand = hand;
usr/src/uts/common/os/callout.c
1979
cache->cc_cache = kmem_cache_create(s, sizeof (callout_t),
usr/src/uts/common/os/callout.c
1983
cache->cc_lcache = kmem_cache_create(s, sizeof (callout_list_t),
usr/src/uts/common/os/callout.c
1985
cache->cc_next = callout_caches;
usr/src/uts/common/os/callout.c
1986
callout_caches = cache;
usr/src/uts/common/os/callout.c
2001
ct->ct_cache = cache->cc_cache;
usr/src/uts/common/os/callout.c
2002
ct->ct_lcache = cache->cc_lcache;
usr/src/uts/common/os/devcfg.c
8085
i_ddi_di_cache_free(struct di_cache *cache)
usr/src/uts/common/os/devcfg.c
8090
ASSERT(mutex_owned(&cache->cache_lock));
usr/src/uts/common/os/devcfg.c
8092
if (cache->cache_size) {
usr/src/uts/common/os/devcfg.c
8093
ASSERT(cache->cache_size > 0);
usr/src/uts/common/os/devcfg.c
8094
ASSERT(cache->cache_data);
usr/src/uts/common/os/devcfg.c
8096
kmem_free(cache->cache_data, cache->cache_size);
usr/src/uts/common/os/devcfg.c
8097
cache->cache_data = NULL;
usr/src/uts/common/os/devcfg.c
8098
cache->cache_size = 0;
usr/src/uts/common/os/devcfg.c
8103
ASSERT(cache->cache_data == NULL);
usr/src/uts/common/os/log_sysevent.c
449
lofi_nvl_init(lofi_nvl_t *cache)
usr/src/uts/common/os/log_sysevent.c
451
mutex_init(&cache->ln_lock, NULL, MUTEX_DRIVER, NULL);
usr/src/uts/common/os/log_sysevent.c
452
cv_init(&cache->ln_cv, NULL, CV_DRIVER, NULL);
usr/src/uts/common/os/log_sysevent.c
453
(void) nvlist_alloc(&cache->ln_data, NV_UNIQUE_NAME, KM_SLEEP);
usr/src/uts/common/sys/autoconf.h
284
extern void i_ddi_di_cache_free(struct di_cache *cache);
usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_api.h
1578
void *cache;
usr/src/uts/common/sys/ib/clients/iser/iser_resource.h
142
kmem_cache_t *cache; /* back pointer for cleanup */
usr/src/uts/common/sys/ib/clients/iser/iser_resource.h
158
kmem_cache_t *cache; /* back pointer for cleanup */
usr/src/uts/common/vm/vm_usage.c
1708
vmu_cache_t *cache;
usr/src/uts/common/vm/vm_usage.c
1710
cache = kmem_zalloc(sizeof (vmu_cache_t), KM_SLEEP);
usr/src/uts/common/vm/vm_usage.c
1711
cache->vmc_results = kmem_zalloc(sizeof (vmusage_t) * nres, KM_SLEEP);
usr/src/uts/common/vm/vm_usage.c
1712
cache->vmc_nresults = nres;
usr/src/uts/common/vm/vm_usage.c
1713
cache->vmc_flags = flags;
usr/src/uts/common/vm/vm_usage.c
1714
cache->vmc_refcnt = 1;
usr/src/uts/common/vm/vm_usage.c
1715
return (cache);
usr/src/uts/common/vm/vm_usage.c
1722
vmu_cache_hold(vmu_cache_t *cache)
usr/src/uts/common/vm/vm_usage.c
1725
cache->vmc_refcnt++;
usr/src/uts/common/vm/vm_usage.c
1732
vmu_cache_rele(vmu_cache_t *cache)
usr/src/uts/common/vm/vm_usage.c
1735
ASSERT(cache->vmc_refcnt > 0);
usr/src/uts/common/vm/vm_usage.c
1736
cache->vmc_refcnt--;
usr/src/uts/common/vm/vm_usage.c
1737
if (cache->vmc_refcnt == 0) {
usr/src/uts/common/vm/vm_usage.c
1738
kmem_free(cache->vmc_results, sizeof (vmusage_t) *
usr/src/uts/common/vm/vm_usage.c
1739
cache->vmc_nresults);
usr/src/uts/common/vm/vm_usage.c
1740
kmem_free(cache, sizeof (vmu_cache_t));
usr/src/uts/common/vm/vm_usage.c
1749
vmu_copyout_results(vmu_cache_t *cache, vmusage_t *buf, size_t *nres,
usr/src/uts/common/vm/vm_usage.c
1783
for (result = cache->vmc_results, i = 0;
usr/src/uts/common/vm/vm_usage.c
1784
i < cache->vmc_nresults; result++, i++) {
usr/src/uts/common/vm/vm_usage.c
1946
vmu_cache_t *cache;
usr/src/uts/common/vm/vm_usage.c
1954
cache = vmu_data.vmu_cache;
usr/src/uts/common/vm/vm_usage.c
1955
vmu_cache_hold(cache);
usr/src/uts/common/vm/vm_usage.c
1958
ret = vmu_copyout_results(cache, buf, nres, flags_orig,
usr/src/uts/common/vm/vm_usage.c
1961
vmu_cache_rele(cache);
usr/src/uts/common/vm/vm_usage.c
1977
vmu_cache_t *cache;
usr/src/uts/common/vm/vm_usage.c
1994
cache = vmu_data.vmu_cache =
usr/src/uts/common/vm/vm_usage.c
1998
result = cache->vmc_results;
usr/src/uts/common/vm/vm_usage.c
2004
cache->vmc_timestamp = gethrtime();
usr/src/uts/common/vm/vm_usage.c
2005
vmu_cache_hold(cache);
usr/src/uts/common/vm/vm_usage.c
2016
ret = vmu_copyout_results(cache, buf, nres, flags_orig, cpflg);
usr/src/uts/common/vm/vm_usage.c
2018
vmu_cache_rele(cache);
usr/src/uts/i86pc/vm/hat_i86.c
668
kmem_cache_t *cache;
usr/src/uts/i86pc/vm/hat_i86.c
711
cache = hat32_hash_cache;
usr/src/uts/i86pc/vm/hat_i86.c
713
cache = hat_hash_cache;
usr/src/uts/i86pc/vm/hat_i86.c
716
cache = hat_hash_cache;
usr/src/uts/i86pc/vm/hat_i86.c
718
kmem_cache_free(cache, hat->hat_ht_hash);
usr/src/uts/intel/os/cpuid.c
8552
cpuid_getcache(struct cpu *cpu, uint32_t cno, x86_cache_t *cache)
usr/src/uts/intel/os/cpuid.c
8568
bzero(cache, sizeof (x86_cache_t));
usr/src/uts/intel/os/cpuid.c
8572
cache->xc_type = X86_CACHE_TYPE_DATA;
usr/src/uts/intel/os/cpuid.c
8575
cache->xc_type = X86_CACHE_TYPE_INST;
usr/src/uts/intel/os/cpuid.c
8578
cache->xc_type = X86_CACHE_TYPE_UNIFIED;
usr/src/uts/intel/os/cpuid.c
8584
cache->xc_level = CPI_CACHE_LVL(cp);
usr/src/uts/intel/os/cpuid.c
8586
cache->xc_flags |= X86_CACHE_F_FULL_ASSOC;
usr/src/uts/intel/os/cpuid.c
8588
cache->xc_nparts = CPI_CACHE_PARTS(cp) + 1;
usr/src/uts/intel/os/cpuid.c
8595
cache->xc_nsets = 1;
usr/src/uts/intel/os/cpuid.c
8597
cache->xc_nsets = CPI_CACHE_SETS(cp) + 1;
usr/src/uts/intel/os/cpuid.c
8599
cache->xc_nways = CPI_CACHE_WAYS(cp) + 1;
usr/src/uts/intel/os/cpuid.c
8600
cache->xc_line_size = CPI_CACHE_COH_LN_SZ(cp) + 1;
usr/src/uts/intel/os/cpuid.c
8601
cache->xc_size = cache->xc_nparts * cache->xc_nsets * cache->xc_nways *
usr/src/uts/intel/os/cpuid.c
8602
cache->xc_line_size;
usr/src/uts/intel/os/cpuid.c
8609
cache->xc_apic_shift = highbit(CPI_NTHR_SHR_CACHE(cp));
usr/src/uts/intel/os/cpuid.c
8628
cache->xc_id = (uint64_t)cache->xc_level << 40;
usr/src/uts/intel/os/cpuid.c
8629
cache->xc_id |= (uint64_t)cache->xc_type << 32;
usr/src/uts/intel/os/cpuid.c
8630
cache->xc_id |= (uint64_t)cpi->cpi_apicid >> cache->xc_apic_shift;
usr/src/uts/sfmmu/vm/hat_sfmmu.c
3159
if (!remap && (cache & CACHE_VAC) && !PP_ISNC(pp)) {
usr/src/uts/sfmmu/vm/hat_sfmmu.c
573
int cache; /* describes system cache */
usr/src/uts/sfmmu/vm/hat_sfmmu.c
9037
if (!(cache & CACHE_VAC) || PP_NEWPAGE(pp)) {
usr/src/uts/sfmmu/vm/hat_sfmmu.c
9057
if (cache & CACHE_VAC) {
usr/src/uts/sfmmu/vm/hat_sfmmu.c
9296
ASSERT(!(cache & CACHE_WRITEBACK));
usr/src/uts/sfmmu/vm/hat_sfmmu.c
9370
ASSERT(!(cache & CACHE_WRITEBACK));
usr/src/uts/sparc/sys/cpu.h
68
extern int cache;
usr/src/uts/sun4u/cpu/opl_olympus.c
573
cache |= (CACHE_VAC | CACHE_PTAG | CACHE_IOCOHERENT);
usr/src/uts/sun4u/cpu/spitfire.c
434
cache |= (CACHE_VAC | CACHE_PTAG | CACHE_IOCOHERENT);
usr/src/uts/sun4u/cpu/us3_common.c
492
cache |= (CACHE_VAC | CACHE_PTAG | CACHE_IOCOHERENT);
usr/src/uts/sun4u/io/mem_cache.c
524
switch (cache_info->cache) {
usr/src/uts/sun4u/io/mem_cache.c
567
switch (cache_info->cache) {
usr/src/uts/sun4u/io/mem_cache.c
601
switch (cache_info->cache) {
usr/src/uts/sun4u/io/mem_cache.c
609
cache_info->cache,
usr/src/uts/sun4u/io/mem_cache.c
674
cache_info->cache,
usr/src/uts/sun4u/io/mem_cache.c
727
switch (cache_info->cache) {
usr/src/uts/sun4u/io/mem_cache.c
746
cache_info->cache,
usr/src/uts/sun4u/io/mem_cache.c
783
cache_info->cache,
usr/src/uts/sun4u/io/mem_cache.c
834
switch (cache_info->cache) {
usr/src/uts/sun4u/io/mem_cache.c
924
cache_info.cache = cache_info32.cache;
usr/src/uts/sun4u/lw8/sys/sgenv_impl.h
179
static void sgenv_indicate_cache_update_needed(int cache);
usr/src/uts/sun4u/os/plat_ecc_dimm.c
113
dimm_sid_cache_t *cache;
usr/src/uts/sun4u/os/plat_ecc_dimm.c
119
cache = (dimm_sid_cache_t *)kmem_zalloc(sizeof (dimm_sid_cache_t) *
usr/src/uts/sun4u/os/plat_ecc_dimm.c
125
cache[i].mcid = plat_make_fru_cpuid(bd, 0, p);
usr/src/uts/sun4u/os/plat_ecc_dimm.c
128
return (cache);
usr/src/uts/sun4u/os/plat_ecc_dimm.c
132
plat_populate_sid_cache_one(dimm_sid_cache_t *cache, int bd)
usr/src/uts/sun4u/os/plat_ecc_dimm.c
156
if (cache[index].state != MC_DIMM_SIDS_REQUESTED)
usr/src/uts/sun4u/os/plat_ecc_dimm.c
162
dimmsidsp = cache[index].sids;
usr/src/uts/sun4u/os/plat_ecc_dimm.c
177
cache[index].state = MC_DIMM_SIDS_AVAILABLE;
usr/src/uts/sun4u/os/plat_ecc_dimm.c
182
plat_populate_sid_cache(dimm_sid_cache_t *cache, int max_entries)
usr/src/uts/sun4u/os/plat_ecc_dimm.c
193
if (cache[i].state == MC_DIMM_SIDS_REQUESTED) {
usr/src/uts/sun4u/os/plat_ecc_dimm.c
245
plat_populate_sid_cache_one(cache, bd);
usr/src/uts/sun4u/os/ppage.c
105
if (cache & CACHE_VAC) {
usr/src/uts/sun4u/os/ppage.c
164
if (cache & CACHE_VAC) {
usr/src/uts/sun4u/os/ppage.c
239
ASSERT((cache & CACHE_VAC)? (color < ppmap_pages) : 1);
usr/src/uts/sun4u/os/ppage.c
380
if (!use_hw_bcopy && (cache & CACHE_VAC))
usr/src/uts/sun4u/sys/machsystm.h
252
extern int cache;
usr/src/uts/sun4u/sys/mem_cache.h
82
cache_id_t cache;
usr/src/uts/sun4u/sys/mem_cache_ioctl.h
47
cache_id_t cache;
usr/src/uts/sun4v/cpu/generic.c
80
cache |= (CACHE_PTAG | CACHE_IOCOHERENT);
usr/src/uts/sun4v/cpu/niagara.c
113
cache |= (CACHE_PTAG | CACHE_IOCOHERENT);
usr/src/uts/sun4v/cpu/niagara2.c
138
cache |= (CACHE_PTAG | CACHE_IOCOHERENT);
usr/src/uts/sun4v/sys/machsystm.h
256
extern int cache;