/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 371 elfedit_section_t *cache; in elfedit_sec_getcap() local 382 *num = cache->sec_shdr->sh_size / in elfedit_sec_getcap() 383 cache->sec_shdr->sh_entsize; in elfedit_sec_getcap() 384 return (cache); in elfedit_sec_getcap() 414 elfedit_section_t *cache; in elfedit_sec_getdyn() local 419 EC_WORD(cache->sec_shndx), cache->sec_name); in elfedit_sec_getdyn() 421 *num = cache->sec_shdr->sh_size / cache->sec_shdr->sh_entsize; in elfedit_sec_getdyn() 422 return (cache); in elfedit_sec_getdyn() 453 elfedit_section_t *cache; in elfedit_sec_getsyminfo() local 463 cache->sec_shdr->sh_entsize; in elfedit_sec_getsyminfo() [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/shared/ |
H A D | shared.c | 63 rxbuf_cache_destroy(kmem_cache_t *cache) in rxbuf_cache_destroy() argument 65 kmem_cache_destroy(cache); in rxbuf_cache_destroy() 73 rxbuf_alloc(kmem_cache_t *cache, int kmflags, uint_t ref_cnt) in rxbuf_alloc() argument 79 rxb = kmem_cache_alloc(cache, kmflags); in rxbuf_alloc() 82 rxb->cache = cache; in rxbuf_alloc() 96 kmem_cache_free(rxb->cache, rxb); in rxbuf_free()
|
H A D | shared.h | 52 kmem_cache_t *cache; /* the kmem_cache this rxb came from */ member 71 void rxbuf_cache_destroy(kmem_cache_t *cache); 72 struct rxbuf *rxbuf_alloc(kmem_cache_t *cache, int kmflags, uint_t ref_cnt);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/ |
H A D | cleanup.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib
|
H A D | setup.ksh | 33 . $STF_SUITE/tests/functional/cache/cache.cfg 34 . $STF_SUITE/tests/functional/cache/cache.kshlib
|
H A D | cache_012_pos.ksh | 21 . $STF_SUITE/tests/functional/cache/cache.cfg 22 . $STF_SUITE/tests/functional/cache/cache.kshlib 86 log_must zpool create -f $TESTPOOL $VDEV cache $VCACHE
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 541 kmem_cache_t cache; in leaky_subr_add_leak() local 550 if (mdb_vread(&cache, sizeof (cache), addr) != -1 && in leaky_subr_add_leak() 551 (cache.cache_flags & KMF_LITE) && in leaky_subr_add_leak() 663 kmem_cache_t cache; in leaky_subr_dump() local 746 if (mdb_vread(&cache, sizeof (cache), lkb->lkb_data) == -1) { in leaky_subr_dump() 774 cache.cache_name, lk_bytes); in leaky_subr_dump() 778 cache.cache_name, lk_ttl, in leaky_subr_dump() 779 cache.cache_bufsize, lk_bytes); in leaky_subr_dump() 795 if (mdb_vread(&cache, sizeof (cache), lkb->lkb_cid) == -1) { in leaky_subr_dump() 827 cache.cache_name, lk_bytes); in leaky_subr_dump() [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | filesys_rcm.c | 692 cache_t *cache; in cache_create() local 726 cache->hash_size = size; in cache_create() 731 if (cache->mounts == NULL) { in cache_create() 735 free_cache(&cache); in cache_create() 745 free_cache(&cache); in cache_create() 762 free_cache(&cache); in cache_create() 772 return (cache); in cache_create() 957 if ((cache == NULL) || in cache_insert() 958 (cache->mounts == NULL) || in cache_insert() 1051 if ((cache == NULL) || (cache->mounts == NULL) || (rsrc == NULL)) { in cache_lookup() [all …]
|
H A D | dump_rcm.c | 69 static dump_conf_t *cache; variable 147 while ((dc = cache) != NULL) { in dump_unregister() 148 cache = cache->next; in dump_unregister() 450 for (ent = cache; ent != NULL; ent = ent->next) { in update_cache() 471 ent = cache; in update_cache() 521 for (dc = cache; dc != NULL; dc = dc->next) { in cache_lookup() 536 ent->next = cache; in cache_insert() 540 cache = ent; in cache_insert() 555 cache = ent->next; in cache_remove() 567 while ((dc = cache) != NULL) { in free_cache() [all …]
|
H A D | swap_rcm.c | 76 static swap_file_t *cache; variable 161 while ((sf = cache) != NULL) { in swap_unregister() 162 cache = cache->next; in swap_unregister() 456 for (sf = cache; sf != NULL; sf = sf->next) { in update_cache() 508 sf = cache; in update_cache() 639 while ((sf = cache) != NULL) { in free_cache() 640 cache = cache->next; in free_cache() 670 ent->next = cache; in cache_insert() 674 cache = ent; in cache_insert() 685 for (sf = cache; sf != NULL; sf = sf->next) { in cache_lookup() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kdestroy/ |
H A D | kdestroy.c | 108 krb5_ccache cache = NULL; local 224 if (cache == NULL) { 225 if (code = krb5_cc_default(kcontext, &cache)) { 236 code = krb5_cc_resolve (kcontext, cache_name, &cache); 242 code = krb5_cc_default(kcontext, &cache); 253 code = krb5_cc_get_principal(kcontext, cache, &me); 262 code = krb5_cc_destroy (kcontext, cache);
|
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | resource.c | 581 cache); in sunFmResourceTable_return() 586 request = cache->requests; in sunFmResourceTable_return() 587 reqinfo = cache->reqinfo; in sunFmResourceTable_return() 588 reginfo = cache->reginfo; in sunFmResourceTable_return() 615 netsnmp_free_delegated_cache(cache); in sunFmResourceTable_return() 632 netsnmp_free_delegated_cache(cache); in sunFmResourceTable_return() 671 netsnmp_free_delegated_cache(cache); in sunFmResourceTable_return() 723 cache); in sunFmResourceCount_return() 728 request = cache->requests; in sunFmResourceCount_return() 729 reqinfo = cache->reqinfo; in sunFmResourceCount_return() [all …]
|
H A D | problem.c | 712 cache); in sunFmProblemTable_return() 717 request = cache->requests; in sunFmProblemTable_return() 718 reqinfo = cache->reqinfo; in sunFmProblemTable_return() 719 reginfo = cache->reginfo; in sunFmProblemTable_return() 763 netsnmp_free_delegated_cache(cache); in sunFmProblemTable_return() 823 netsnmp_free_delegated_cache(cache); in sunFmProblemTable_return() 885 request = cache->requests; in sunFmFaultEventTable_return() 886 reqinfo = cache->reqinfo; in sunFmFaultEventTable_return() 887 reginfo = cache->reginfo; in sunFmFaultEventTable_return() 931 netsnmp_free_delegated_cache(cache); in sunFmFaultEventTable_return() [all …]
|
H A D | module.c | 550 netsnmp_delegated_cache *cache = (netsnmp_delegated_cache *)arg; in sunFmModuleTable_return() local 558 ASSERT(netsnmp_handler_check_cache(cache) != NULL); in sunFmModuleTable_return() 568 cache); in sunFmModuleTable_return() 573 request = cache->requests; in sunFmModuleTable_return() 574 reqinfo = cache->reqinfo; in sunFmModuleTable_return() 575 reginfo = cache->reginfo; in sunFmModuleTable_return() 602 netsnmp_free_delegated_cache(cache); in sunFmModuleTable_return() 611 netsnmp_free_delegated_cache(cache); in sunFmModuleTable_return() 619 netsnmp_free_delegated_cache(cache); in sunFmModuleTable_return() 650 netsnmp_free_delegated_cache(cache); in sunFmModuleTable_return()
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SunDATable.java | 81 private Vector cache = null; field in SunDATable 108 cache = getWireTable(conf.getConfiguredScopes(), Defaults.version); in SunDATable() 138 cache = getWireTable(useScopes, Defaults.version); in findDAScopes() 142 equivClasses = (Vector)cache.clone(); in findDAScopes() 214 for (i = 0; i < cache.size(); i++) { in removeDA() 215 DARecord rec = (DARecord)cache.elementAt(i); in removeDA() 235 cache.removeElementAt(i); in removeDA()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_hash.c | 51 toeplitz_hash(const uint32_t *cache, const uint8_t *input, in toeplitz_hash() argument 56 hash ^= cache[pos * (UINT8_MAX + 1) + *input]; in toeplitz_hash() 122 uint32_t *cache = kmem_alloc(SFXGE_TOEPLITZ_CACHE_SIZE * in toeplitz_cache_init() local 151 cache[i * (UINT8_MAX + 1) + byte] = res; in toeplitz_cache_init() 154 return (cache); in toeplitz_cache_init()
|
/illumos-gate/usr/src/uts/common/idmap/ |
H A D | idmap_kapi.c | 92 idmap_cache_t cache; member 161 kidmap_cache_purge(&zs->cache); in idmap_unreg_dh() 406 kidmap_cache_purge(&zs->cache); in idmap_purge_cache() 1200 idmap_cache_t *cache; in kidmap_get_mappings() local 1208 cache = &get_handle->zs->cache; in kidmap_get_mappings() 1268 cache, sid_prefix, in kidmap_get_mappings() 1274 cache, sid_prefix, in kidmap_get_mappings() 1291 cache, sid_prefix, in kidmap_get_mappings() 1297 cache, sid_prefix, in kidmap_get_mappings() 1321 cache, sid_prefix, in kidmap_get_mappings() [all …]
|
/illumos-gate/usr/src/cmd/krb5/klist/ |
H A D | klist.c | 397 krb5_ccache cache = NULL; local 410 if ((code = krb5_cc_default(kcontext, &cache))) { 418 if ((code = krb5_cc_resolve(kcontext, name, &cache))) { 432 krb5_cc_get_type(kcontext, cache), 433 krb5_cc_get_name(kcontext, cache)); 444 krb5_cc_get_type(kcontext, cache), 445 krb5_cc_get_name(kcontext, cache)); 464 krb5_cc_get_type(kcontext, cache), 465 krb5_cc_get_name(kcontext, cache), defname); 497 if ((code = krb5_cc_end_seq_get(kcontext, cache, &cur))) { [all …]
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_match.c | 59 struct cache { struct 60 struct cache *next; argument 72 static struct cache *head; 78 freenode(struct cache *n) in freenode() 94 static struct cache * 97 struct cache *n; in makenode() 124 struct cache *c, **pp; in in_cache() 265 struct cache *c; in __yp_match_cflookup() 318 struct cache *p, *n; in __empty_yp_cache() 460 struct cache *c; in __yp_match_rsvdport_cflookup()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 1708 vmu_cache_t *cache; in vmu_cache_alloc() local 1714 cache->vmc_refcnt = 1; in vmu_cache_alloc() 1715 return (cache); in vmu_cache_alloc() 1725 cache->vmc_refcnt++; in vmu_cache_hold() 1736 cache->vmc_refcnt--; in vmu_cache_rele() 1946 vmu_cache_t *cache; in vm_getusage() local 1955 vmu_cache_hold(cache); in vm_getusage() 1961 vmu_cache_rele(cache); in vm_getusage() 1977 vmu_cache_t *cache; in vm_getusage() local 2005 vmu_cache_hold(cache); in vm_getusage() [all …]
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_parse.c | 79 cachemgr_set_ttl(ldap_stat_t *cache, char *name, int value) in cachemgr_set_ttl() argument 83 if (cache == NULL) in cachemgr_set_ttl() 86 result = cachemgr_set_integer(&(cache->ldap_ttl), in cachemgr_set_ttl()
|
/illumos-gate/usr/src/cmd/sgs/pvs/common/ |
H A D | pvs.c | 79 typedef struct cache { struct 474 sym_local(Cache *cache, Cache *csym, const char *file) in sym_local() argument 482 strs = (char *)cache[shdr.sh_link].c_data->d_buf; in sym_local() 579 strs = (char *)cache[shdr.sh_link].c_data->d_buf; in gvers_need() 831 strs = (char *)cache[shdr.sh_link].c_data->d_buf; in gvers_def() 1013 Cache *cache, *_cache; in main() local 1168 _cache = cache; in main() 1239 vsdata_s.vsd_sym_data = cache[shdr.sh_link].c_data; in main() 1243 (const char *)cache[shdr.sh_link].c_data->d_buf; in main() 1263 sym_local(cache, _cache_loc, file); in main() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_020_pos.ksh | 104 if [[ -f /etc/zfs/zpool.cache ]] ; then 105 REF=$(strings /etc/zfs/zpool.cache | grep ${TESTPOOL}) 108 strings /etc/zfs/zpool.cache
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_cache.c | 1465 item = cache->head.blink; in idmap_purge_sid2uid_gid_cache() 1469 cache->uid_num--; in idmap_purge_sid2uid_gid_cache() 1471 cache->gid_num--; in idmap_purge_sid2uid_gid_cache() 1473 cache->pid_num--; in idmap_purge_sid2uid_gid_cache() 1479 cache->purge_time = now; in idmap_purge_sid2uid_gid_cache() 1495 cache->uid_num--; in idmap_purge_winname2uid_gid_cache() 1497 cache->gid_num--; in idmap_purge_winname2uid_gid_cache() 1505 cache->purge_time = now; in idmap_purge_winname2uid_gid_cache() 1521 cache->winname_num--; in idmap_purge_pid2sid_winname_cache() 1523 cache->sid_num--; in idmap_purge_pid2sid_winname_cache() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | leaky_subr.c | 885 umem_cache_t cache; in leaky_subr_dump() local 981 if (mdb_vread(&cache, sizeof (cache), lkb->lkb_data) == -1) { in leaky_subr_dump() 993 lk_bytes += (lkb->lkb_dups + 1) * cache.cache_bufsize; in leaky_subr_dump() 1009 cache.cache_name, lk_bytes); in leaky_subr_dump() 1013 cache.cache_name, lk_ttl, in leaky_subr_dump() 1014 cache.cache_bufsize, lk_bytes); in leaky_subr_dump() 1029 if (mdb_vread(&cache, sizeof (cache), lkb->lkb_data) == -1) { in leaky_subr_dump() 1041 lk_bytes += (lkb->lkb_dups + 1) * cache.cache_bufsize; in leaky_subr_dump() 1054 cache.cache_name, lk_bytes); in leaky_subr_dump() 1058 cache.cache_name, lk_ttl, in leaky_subr_dump() [all …]
|