Home
last modified time | relevance | path

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

1234567891011

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccfns.c36 return cache->ops->get_name(context, cache); in krb5_cc_get_name()
42 return (*cache)->ops->gen_new(context, cache); in krb5_cc_gen_new()
49 return cache->ops->init(context, cache, principal); in krb5_cc_initialize()
55 return cache->ops->destroy(context, cache); in krb5_cc_destroy()
61 return cache->ops->close(context, cache); in krb5_cc_close()
72 ret = cache->ops->store(context, cache, creds); in krb5_cc_store_cred()
86 ret = cache->ops->store(context, cache, creds); in krb5_cc_store_cred()
128 return cache->ops->get_first(context, cache, cursor); in krb5_cc_start_seq_get()
142 return cache->ops->end_get(context, cache, cursor); in krb5_cc_end_seq_get()
155 return cache->ops->set_flags(context, cache, flags); in krb5_cc_set_flags()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c409 if (cache == NULL) { in ldap_memcache_set()
473 cache, 0, 0 ); in ldap_memcache_update()
519 cache, 0, 0 ); in ldap_memcache_destroy()
872 return (cache->ldmemc_basedns && cache->ldmemc_basedns[0] ? in memcache_validate_basedn()
946 (cache->ldmemc_size_used > cache->ldmemc_size)) {
956 while (cache->ldmemc_size_used > cache->ldmemc_size) {
985 cache->ldmemc_size - cache->ldmemc_size_used, 0 );
1388 cache, name, 0 );
1542 nRes = htable_removeall(cache->ldmemc_resTmp, (void*)cache);
1568 nRes = htable_removeall(cache->ldmemc_resLookup, (void*)cache);
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/dimm/
H A Dtopo_dimm.c315 cache->sc_dram_str = topo_dimm_dram_type2str(cache->sc_dram_type); in topo_dimm_cache_spd()
316 cache->sc_mod_str = topo_dimm_mod_type2str(cache->sc_mod_type); in topo_dimm_cache_spd()
317 cache->sc_vdd = topo_dimm_mod_vdd(cache->sc_dram_type); in topo_dimm_cache_spd()
324 if (!cache->sc_asym) in topo_dimm_cache_spd()
327 cache->sc_even_ranks = cache->sc_odd_ranks = cache->sc_nranks / 2; in topo_dimm_cache_spd()
329 cache->sc_even_ranks++; in topo_dimm_cache_spd()
389 uint32_t width = cache->sc_data_bits * cache->sc_nsubchan / in topo_dimm_calc_size()
396 if (!cache->sc_asym) { in topo_dimm_calc_size()
445 if (cache->sc_asym) { in topo_dimm_add_props()
605 uint32_t chan_width = (cache->sc_ecc_bits + cache->sc_data_bits) * in dimm_comp_count_dies()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregcache.c52 Cache_t** cache; member
67 if (matchstate.cache[i] && matchstate.cache[i]->keep) in flushcache()
69 matchstate.cache[i]->keep = 0; in flushcache()
70 regfree(&matchstate.cache[i]->re); in flushcache()
99 if (matchstate.cache = newof(matchstate.cache, Cache_t*, reflags, 0)) in regcache()
111 if (!matchstate.cache) in regcache()
141 if (!matchstate.cache[i]) in regcache()
145 …else if (*(Key_t*)matchstate.cache[i]->pattern == key && !strcmp(matchstate.cache[i]->pattern, pat… in regcache()
147 else if (!matchstate.cache[old] || matchstate.cache[old]->serial > matchstate.cache[i]->serial) in regcache()
158 …if (!(cp = matchstate.cache[unused]) && !(cp = matchstate.cache[unused] = newof(0, Cache_t, 1, 0))) in regcache()
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_cfgdef.h448 cache,
460 cache,
591 cache,
603 cache,
615 cache,
627 cache,
639 cache,
651 cache,
663 cache,
675 cache,
[all …]
/illumos-gate/usr/src/uts/common/idmap/
H A Dkidmap_priv.h105 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 Didmap_cache.c830 &cache->uid2sid_hash[idx]; in kidmap_cache_add_sid2pid()
861 &cache->gid2sid_hash[idx]; in kidmap_cache_add_sid2pid()
905 item = cache->head.blink; in kidmap_purge_sid2pid_cache()
907 avl_remove(&cache->tree, item); in kidmap_purge_sid2pid_cache()
909 cache->uid_num--; in kidmap_purge_sid2pid_cache()
911 cache->gid_num--; in kidmap_purge_sid2pid_cache()
913 cache->pid_num--; in kidmap_purge_sid2pid_cache()
916 cache->purge_time = now; in kidmap_purge_sid2pid_cache()
928 item = cache->head.blink; in kidmap_purge_pid2sid_cache()
930 avl_remove(&cache->tree, item); in kidmap_purge_pid2sid_cache()
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dexpand.c204 if(!ef->cache.mem) in new_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()
690 DirCache *cache = &ef->cache; in ef_open_dir() local
694 if(!cache->next) { in ef_open_dir()
721 if(cache->tail) in ef_open_dir()
725 cache->next = cache->tail = node; in ef_open_dir()
774 DirCache *cache = &ef->cache; in ef_close_dir() local
784 if(cache->tail) in ef_close_dir()
787 cache->head = cache->tail = node; in ef_close_dir()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache_010_neg.ksh33 . $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 Dcache_008_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
56 cache $LDEV
58 log_mustnot zpool add $TESTPOOL cache $cachetype $LDEV2
H A Dcache_003_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
55 cache $LDEV
57 cache $LDEV2
H A Dcache_007_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
55 cache $cachetype $LDEV $LDEV2
H A Dcache_001_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
53 cache $LDEV
H A Dcache_004_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
54 cache $LDEV
H A Dcache_011_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
60 cache $LDEV spare $LDEV2
H A Dcache_002_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
54 log_must zpool add $TESTPOOL cache $LDEV
H A Dcache_005_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
55 cache $LDEV
H A Dcache_009_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
55 cache $LDEV $LDEV2
H A Dcache_006_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
57 cache $LDEV $LDEV2
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-query.c277 cache_t *cache = NULL; in parse_lpd_query() local
364 if ((cache = (cache_t *)calloc(1, sizeof (*cache))) == NULL) in parse_lpd_query()
367 if ((cache->printer = (printer_t *)calloc(1, sizeof (*cache->printer))) in parse_lpd_query()
372 svc->cache = cache; in parse_lpd_query()
397 time(&cache->timestamp); in parse_lpd_query()
410 free(svc->cache); in cache_update()
411 svc->cache = NULL; in cache_update()
434 if (svc->cache != NULL) { in lpd_find_printer_info()
451 if (svc->cache != NULL) { in lpd_find_jobs_info()
465 free(svc->cache); in lpd_find_jobs_info()
[all …]
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_overlay.c376 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()
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()
417 overlay_targ_cache_t cache; in libvarpd_overlay_cache_get() local
420 bzero(&cache, sizeof (overlay_targ_cache_t)); in libvarpd_overlay_cache_get()
421 cache.otc_linkid = inst->vri_linkid; in libvarpd_overlay_cache_get()
443 overlay_targ_cache_t cache; in libvarpd_overlay_cache_set() local
[all …]
/illumos-gate/usr/src/lib/fm/libfmd_agent/common/
H A Dfmd_agent.c341 fmd_agent_cpu_cache_list_t *cache) in fmd_agent_cache_info_free() argument
359 if (cache->fmc_cpus != NULL) { 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()
375 fmd_agent_cpu_cache_t *cpu = &cache->fmc_cpus[cpuno]; in fmd_agent_cache_info_pop_cpu()
412 bzero(cache, sizeof (fmd_agent_cpu_cache_list_t)); in fmd_agent_cache_info()
427 if (cache->fmc_cpus == NULL) { in fmd_agent_cache_info()
431 cache->fmc_ncpus = ncpus; in fmd_agent_cache_info()
432 for (uint_t i = 0; i < cache->fmc_ncpus; i++) { in fmd_agent_cache_info()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c334 shdr = cache[ndx].c_shdr; in stringtbl()
358 *symsec = &cache[ndx]; in stringtbl()
880 cache->c_ndx, \ in check_phdr_v_shdr()
881 cache->c_name, \ in check_phdr_v_shdr()
1039 state->cache = cache; in init_symtbl_state()
2505 _cache = &cache[secndx]; in symbols()
4631 Cache *cache, *_cache; in shdr_cache() local
4674 *cache = cache_init; in shdr_cache()
4675 _cache = cache; in shdr_cache()
4978 Cache *cache; in regular() local
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_reiserfs.c348 #define BLOCKHEAD(cache) ((struct block_head *) cache) argument
703 return cache; in read_tree_node()
722 return cache; in read_tree_node()
733 char *cache; in next_key() local
767 cache = ROOT; in next_key()
773 if (! cache) in next_key()
789 if (! cache) in next_key()
823 char *cache; in search_stat() local
833 cache = ROOT; in search_stat()
858 cache = read_tree_node (DC (cache)[i].dc_block_number, --depth); in search_stat()
[all …]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dplat_ecc_dimm.c113 dimm_sid_cache_t *cache; in plat_alloc_sid_cache() local
119 cache = (dimm_sid_cache_t *)kmem_zalloc(sizeof (dimm_sid_cache_t) * in plat_alloc_sid_cache()
125 cache[i].mcid = plat_make_fru_cpuid(bd, 0, p); in plat_alloc_sid_cache()
128 return (cache); in plat_alloc_sid_cache()
132 plat_populate_sid_cache_one(dimm_sid_cache_t *cache, int bd) in plat_populate_sid_cache_one() argument
156 if (cache[index].state != MC_DIMM_SIDS_REQUESTED) in plat_populate_sid_cache_one()
162 dimmsidsp = cache[index].sids; in plat_populate_sid_cache_one()
177 cache[index].state = MC_DIMM_SIDS_AVAILABLE; in plat_populate_sid_cache_one()
182 plat_populate_sid_cache(dimm_sid_cache_t *cache, int max_entries) in plat_populate_sid_cache() argument
193 if (cache[i].state == MC_DIMM_SIDS_REQUESTED) { in plat_populate_sid_cache()
[all …]

1234567891011