Home
last modified time | relevance | path

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

1234567891011

/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_cache.c186 cache->sid2pid.head.flink = &cache->sid2pid.head; in kidmap_cache_create()
187 cache->sid2pid.head.blink = &cache->sid2pid.head; in kidmap_cache_create()
196 cache->uid2sid.head.flink = &cache->uid2sid.head; in kidmap_cache_create()
197 cache->uid2sid.head.blink = &cache->uid2sid.head; in kidmap_cache_create()
203 cache->gid2sid.head.flink = &cache->gid2sid.head; in kidmap_cache_create()
204 cache->gid2sid.head.blink = &cache->gid2sid.head; in kidmap_cache_create()
280 cache->sid2pid.head.flink = &cache->sid2pid.head; in kidmap_cache_purge()
281 cache->sid2pid.head.blink = &cache->sid2pid.head; in kidmap_cache_purge()
298 cache->uid2sid.head.flink = &cache->uid2sid.head; in kidmap_cache_purge()
299 cache->uid2sid.head.blink = &cache->uid2sid.head; in kidmap_cache_purge()
[all …]
H A Dkidmap_priv.h100 kidmap_cache_create(idmap_cache_t *cache);
103 kidmap_cache_delete(idmap_cache_t *cache);
106 kidmap_cache_purge(idmap_cache_t *cache);
110 kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix,
114 kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix,
118 kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix,
122 kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix,
126 kidmap_cache_lookup_sidbygid(idmap_cache_t *cache, const char **sid_prefix,
131 kidmap_cache_add_sid2uid(idmap_cache_t *cache, const char *sid_prefix,
135 kidmap_cache_add_sid2gid(idmap_cache_t *cache, const char *sid_prefix,
[all …]
/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.c410 if (cache == NULL) { in ldap_memcache_set()
474 cache, 0, 0 ); in ldap_memcache_update()
520 cache, 0, 0 ); in ldap_memcache_destroy()
873 return (cache->ldmemc_basedns && cache->ldmemc_basedns[0] ? in memcache_validate_basedn()
947 (cache->ldmemc_size_used > cache->ldmemc_size)) {
957 while (cache->ldmemc_size_used > cache->ldmemc_size) {
986 cache->ldmemc_size - cache->ldmemc_size_used, 0 );
1389 cache, name, 0 );
1543 nRes = htable_removeall(cache->ldmemc_resTmp, (void*)cache);
1569 nRes = htable_removeall(cache->ldmemc_resLookup, (void*)cache);
[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/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
H A Dcleanup.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
/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/cmd/sgs/elfdump/common/
H A Delfdump.c334 shdr = cache[ndx].c_shdr; in stringtbl()
358 *symsec = &cache[ndx]; in stringtbl()
984 state->cache = cache; in init_symtbl_state()
1874 infocache = &cache[cnt]; in syminfo()
2455 _cache = &cache[secndx]; in symbols()
4292 gotcache = &cache[cnt]; in got()
4555 Cache *cache, *_cache; in shdr_cache() local
4598 *cache = cache_init; in shdr_cache()
4599 _cache = cache; in shdr_cache()
4898 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 …]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c371 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 Dshared.c63 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()

1234567891011