/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | ccfns.c | 34 krb5_cc_get_name (krb5_context context, krb5_ccache cache) in krb5_cc_get_name() argument 36 return cache->ops->get_name(context, cache); in krb5_cc_get_name() 40 krb5_cc_gen_new (krb5_context context, krb5_ccache *cache) in krb5_cc_gen_new() argument 42 return (*cache)->ops->gen_new(context, cache); in krb5_cc_gen_new() 46 krb5_cc_initialize(krb5_context context, krb5_ccache cache, in krb5_cc_initialize() argument 49 return cache->ops->init(context, cache, principal); in krb5_cc_initialize() 53 krb5_cc_destroy (krb5_context context, krb5_ccache cache) in krb5_cc_destroy() argument 55 return cache->ops->destroy(context, cache); in krb5_cc_destroy() 59 krb5_cc_close (krb5_context context, krb5_ccache cache) in krb5_cc_close() argument 61 return cache->ops->close(context, cache); in krb5_cc_close() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | memcache.c | 190 static int memcache_validate_basedn(LDAPMemCache *cache, const char *basedn); 194 static int memcache_adj_size(LDAPMemCache *cache, unsigned long size, 196 static int memcache_free_entry(LDAPMemCache *cache, ldapmemcacheRes *pRes); 197 static int memcache_expired(LDAPMemCache *cache, ldapmemcacheRes *pRes, 199 static int memcache_add_to_list(LDAPMemCache *cache, ldapmemcacheRes *pRes, 203 static int memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes, 214 static int memcache_access(LDAPMemCache *cache, int mode, 217 static void memcache_print_list( LDAPMemCache *cache, int index ); 218 static void memcache_report_statistics( LDAPMemCache *cache ); 357 ldap_memcache_set( LDAP *ld, LDAPMemCache *cache ) in ldap_memcache_set() argument [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/dimm/ |
H A D | topo_dimm.c | 321 topo_dimm_cache_spd(topo_mod_t *mod, nvlist_t *spd, spd_cache_t *cache) in topo_dimm_cache_spd() argument 328 SPD_KEY_MOD_TYPE, DATA_TYPE_UINT32, &cache->sc_mod_type, in topo_dimm_cache_spd() 329 SPD_KEY_NRANKS, DATA_TYPE_UINT32, &cache->sc_nranks, in topo_dimm_cache_spd() 330 SPD_KEY_NSUBCHAN, DATA_TYPE_UINT32, &cache->sc_nsubchan, in topo_dimm_cache_spd() 331 SPD_KEY_DATA_WIDTH, DATA_TYPE_UINT32, &cache->sc_data_bits, in topo_dimm_cache_spd() 332 SPD_KEY_ECC_WIDTH, DATA_TYPE_UINT32, &cache->sc_ecc_bits, in topo_dimm_cache_spd() 333 SPD_KEY_NBANK_BITS, DATA_TYPE_UINT32, &cache->sc_nbank_bits[0], in topo_dimm_cache_spd() 334 SPD_KEY_NBGRP_BITS, DATA_TYPE_UINT32, &cache->sc_nbgrp_bits[0], in topo_dimm_cache_spd() 335 SPD_KEY_NROW_BITS, DATA_TYPE_UINT32, &cache->sc_nrows[0], in topo_dimm_cache_spd() 336 SPD_KEY_NCOL_BITS, DATA_TYPE_UINT32, &cache->sc_ncols[0], in topo_dimm_cache_spd() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regcache.c | 52 Cache_t** cache; member 67 if (matchstate.cache[i] && matchstate.cache[i]->keep) in flushcache() 69 matchstate.cache[i]->keep = 0; in flushcache() 70 regfree(&matchstate.cache[i]->re); in flushcache() 99 if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) in regcache() 111 if (!matchstate.cache) in regcache() 113 if (!(matchstate.cache = newof(0, Cache_t*, CACHE, 0))) in regcache() 141 if (!matchstate.cache[i]) in regcache() 143 else if (!matchstate.cache[i]->keep) in regcache() 145 …else if (*(Key_t*)matchstate.cache[i]->pattern == key && !strcmp(matchstate.cache[i]->pattern, pat… in regcache() [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_cfgdef.h | 71 nscd_cfg_cache_t cache; member 79 nscd_cfg_stat_cache_t cache; member 88 nscd_cfg_stat_cache_t cache; member 99 nscd_cfg_global_cache_t cache; member 448 cache, 460 cache, 591 cache, 603 cache, 615 cache, 627 cache, [all …]
|
/illumos-gate/usr/src/uts/common/idmap/ |
H A D | kidmap_priv.h | 105 kidmap_cache_create(idmap_cache_t *cache); 108 kidmap_cache_delete(idmap_cache_t *cache); 111 kidmap_cache_purge(idmap_cache_t *cache); 115 kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix, 119 kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix, 123 kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix, 127 kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix, 131 kidmap_cache_lookup_sidbygid(idmap_cache_t *cache, const char **sid_prefix, 136 kidmap_cache_add_sid2uid(idmap_cache_t *cache, const char *sid_prefix, 140 kidmap_cache_add_sid2gid(idmap_cache_t *cache, const char *sid_prefix, [all …]
|
H A D | idmap_cache.c | 113 kidmap_purge_sid2pid_cache(idmap_sid2pid_cache_t *cache, size_t limit); 116 kidmap_purge_pid2sid_cache(idmap_pid2sid_cache_t *cache, size_t limit); 185 kidmap_cache_create(idmap_cache_t *cache) in kidmap_cache_create() argument 193 idmap_sid2pid_cache_t *sid2pid_hb = &cache->sid2pid_hash[i]; in kidmap_cache_create() 210 idmap_pid2sid_cache_t *uid2sid_hb = &cache->uid2sid_hash[i]; in kidmap_cache_create() 224 idmap_pid2sid_cache_t *gid2sid_hb = &cache->gid2sid_hash[i]; in kidmap_cache_create() 237 kidmap_cache_delete(idmap_cache_t *cache) in kidmap_cache_delete() argument 243 idmap_sid2pid_cache_t *sid2pid_hb = &cache->sid2pid_hash[i]; in kidmap_cache_delete() 256 idmap_pid2sid_cache_t *uid2sid_hb = &cache->uid2sid_hash[i]; in kidmap_cache_delete() 269 idmap_pid2sid_cache_t *gid2sid_hb = &cache->gid2sid_hash[i]; in kidmap_cache_delete() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | expand.c | 103 DirCache cache; /* The cache of directory reader objects */ member 178 ef->cache.mem = NULL; in new_ExpandFile() 179 ef->cache.head = NULL; in new_ExpandFile() 180 ef->cache.next = NULL; in new_ExpandFile() 181 ef->cache.tail = NULL; in new_ExpandFile() 203 ef->cache.mem = _new_FreeList(sizeof(DirNode), DIR_CACHE_BLK); in new_ExpandFile() 204 if(!ef->cache.mem) in new_ExpandFile() 250 for(dnode=ef->cache.head; dnode; dnode=dnode->next) in del_ExpandFile() 256 ef->cache.mem = _del_FreeList(ef->cache.mem, 1); in del_ExpandFile() 257 ef->cache.head = ef->cache.tail = ef->cache.next = NULL; in del_ExpandFile() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-query.c | 277 cache_t *cache = NULL; in parse_lpd_query() local 364 if ((cache = (cache_t *)calloc(1, sizeof (*cache))) == NULL) in parse_lpd_query() 367 if ((cache->printer = (printer_t *)calloc(1, sizeof (*cache->printer))) in parse_lpd_query() 371 cache->printer->attributes = attributes; in parse_lpd_query() 372 svc->cache = cache; in parse_lpd_query() 383 list_append(&cache->jobs, job); in parse_lpd_query() 397 time(&cache->timestamp); in parse_lpd_query() 408 if (svc->cache != NULL) { /* this should be time based */ in cache_update() 409 if (svc->cache->jobs == NULL) { in cache_update() 410 free(svc->cache); in cache_update() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/ |
H A D | cache_010_neg.ksh | 33 . $STF_SUITE/tests/functional/cache/cache.cfg 34 . $STF_SUITE/tests/functional/cache/cache.kshlib 65 log_mustnot zpool add $TESTPOOL cache /dev/rdsk/${dsk1}s0 72 log_mustnot zpool add $TESTPOOL cache "/dev/rlofi/${lofidev#/dev/lofi/}" 79 log_must zpool add $TESTPOOL cache $FILEDEV 84 log_mustnot zpool add $TESTPOOL cache /dev/zvol/rdsk/$TESTPOOL2/$TESTVOL
|
H A D | cache_008_neg.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib 56 cache $LDEV 58 log_mustnot zpool add $TESTPOOL cache $cachetype $LDEV2
|
H A D | cache_003_pos.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib 55 cache $LDEV 57 cache $LDEV2
|
H A D | cache_007_neg.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib 55 cache $cachetype $LDEV $LDEV2
|
H A D | cache_001_pos.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib 53 cache $LDEV
|
H A D | cache_004_neg.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib 54 cache $LDEV
|
H A D | cache_011_pos.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib 60 cache $LDEV spare $LDEV2
|
H A D | cache_002_pos.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib 54 log_must zpool add $TESTPOOL cache $LDEV
|
H A D | cache_005_neg.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib 55 cache $LDEV
|
H A D | cache_009_pos.ksh | 32 . $STF_SUITE/tests/functional/cache/cache.cfg 33 . $STF_SUITE/tests/functional/cache/cache.kshlib 55 cache $LDEV $LDEV2
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_overlay.c | 376 overlay_targ_cache_t cache; in libvarpd_overlay_cache_flush() local 379 bzero(&cache, sizeof (overlay_targ_cache_t)); in libvarpd_overlay_cache_flush() 380 cache.otc_linkid = inst->vri_linkid; in libvarpd_overlay_cache_flush() 382 ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_FLUSH, &cache); in libvarpd_overlay_cache_flush() 395 overlay_targ_cache_t cache; in libvarpd_overlay_cache_delete() local 398 bzero(&cache, sizeof (overlay_targ_cache_t)); in libvarpd_overlay_cache_delete() 399 cache.otc_linkid = inst->vri_linkid; in libvarpd_overlay_cache_delete() 400 bcopy(key, cache.otc_entry.otce_mac, ETHERADDRL); in libvarpd_overlay_cache_delete() 402 ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_REMOVE, &cache); in libvarpd_overlay_cache_delete() 417 overlay_targ_cache_t cache; in libvarpd_overlay_cache_get() local [all …]
|
/illumos-gate/usr/src/lib/fm/libfmd_agent/common/ |
H A D | fmd_agent.c | 341 fmd_agent_cpu_cache_list_t *cache) in fmd_agent_cache_info_free() argument 343 for (uint_t cpuno = 0; cpuno < cache->fmc_ncpus; cpuno++) { in fmd_agent_cache_info_free() 344 fmd_agent_cpu_cache_t *cpu_cache = &cache->fmc_cpus[cpuno]; in fmd_agent_cache_info_free() 359 if (cache->fmc_cpus != NULL) { in fmd_agent_cache_info_free() 360 umem_free(cache->fmc_cpus, sizeof (fmd_agent_cpu_cache_t) * in fmd_agent_cache_info_free() 361 cache->fmc_ncpus); in fmd_agent_cache_info_free() 362 cache->fmc_cpus = NULL; in fmd_agent_cache_info_free() 363 cache->fmc_ncpus = 0; in fmd_agent_cache_info_free() 368 fmd_agent_cache_info_pop_cpu(fmd_agent_cpu_cache_list_t *cache, in fmd_agent_cache_info_pop_cpu() argument 375 fmd_agent_cpu_cache_t *cpu = &cache->fmc_cpus[cpuno]; in fmd_agent_cache_info_pop_cpu() [all …]
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 107 Cache *cache; /* Pointer to cache entry for VERSYM */ member 122 Cache *cache; /* Cache of all section headers */ member 272 relsymname(Cache *cache, Cache *csec, Cache *strsec, Word symndx, Word symnum, in relsymname() argument 296 cache[sym->st_shndx].c_name); in relsymname() 310 stringtbl(Cache *cache, int symtab, Word ndx, Word shnum, const char *file, in stringtbl() argument 313 Shdr *shdr = cache[ndx].c_shdr; in stringtbl() 326 file, cache[ndx].c_name, EC_WORD(shdr->sh_link)); in stringtbl() 334 shdr = cache[ndx].c_shdr; in stringtbl() 338 file, cache[ndx].c_name); in stringtbl() 345 if ((cache[ndx].c_data == NULL) || in stringtbl() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_reiserfs.c | 348 #define BLOCKHEAD(cache) ((struct block_head *) cache) argument 350 #define KEY(cache) ((struct key *) ((int) cache + BLKH_SIZE)) argument 351 #define DC(cache) ((struct disk_child *) \ argument 352 ((int) cache + BLKH_SIZE + KEY_SIZE * nr_item)) 695 char* cache = CACHE(depth); in read_tree_node() local 703 return cache; in read_tree_node() 706 cache = CACHE(num_cached); in read_tree_node() 712 if (! block_read (blockNr, 0, INFO->blocksize, cache)) in read_tree_node() 715 if (BLOCKHEAD (cache)->blk_level != depth) in read_tree_node() 722 return cache; in read_tree_node() [all …]
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | plat_ecc_dimm.c | 113 dimm_sid_cache_t *cache; in plat_alloc_sid_cache() local 119 cache = (dimm_sid_cache_t *)kmem_zalloc(sizeof (dimm_sid_cache_t) * in plat_alloc_sid_cache() 125 cache[i].mcid = plat_make_fru_cpuid(bd, 0, p); in plat_alloc_sid_cache() 128 return (cache); in plat_alloc_sid_cache() 132 plat_populate_sid_cache_one(dimm_sid_cache_t *cache, int bd) in plat_populate_sid_cache_one() argument 156 if (cache[index].state != MC_DIMM_SIDS_REQUESTED) in plat_populate_sid_cache_one() 162 dimmsidsp = cache[index].sids; in plat_populate_sid_cache_one() 177 cache[index].state = MC_DIMM_SIDS_AVAILABLE; in plat_populate_sid_cache_one() 182 plat_populate_sid_cache(dimm_sid_cache_t *cache, int max_entries) in plat_populate_sid_cache() argument 193 if (cache[i].state == MC_DIMM_SIDS_REQUESTED) { in plat_populate_sid_cache() [all …]
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 371 elfedit_section_t *cache; in elfedit_sec_getcap() local 376 cache = &obj_state->os_secarr[cnt]; in elfedit_sec_getcap() 377 if (cache->sec_shdr->sh_type == SHT_SUNW_cap) { in elfedit_sec_getcap() 380 EC_WORD(cnt), cache->sec_name); in elfedit_sec_getcap() 381 *cap = (Cap *) cache->sec_data->d_buf; in elfedit_sec_getcap() 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 417 cache = &obj_state->os_secarr[obj_state->os_dynndx]; in elfedit_sec_getdyn() [all …]
|