Searched refs:cache (Results 1 - 25 of 194) sorted by relevance

12345678

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccfns.c28 * Dispatch methods for credentials cache code.
34 krb5_cc_get_name (krb5_context context, krb5_ccache cache) argument
36 return cache->ops->get_name(context, cache);
40 krb5_cc_gen_new (krb5_context context, krb5_ccache *cache) argument
42 return (*cache)->ops->gen_new(context, cache);
46 krb5_cc_initialize(krb5_context context, krb5_ccache cache, argument
49 return cache->ops->init(context, cache, principa
53 krb5_cc_destroy(krb5_context context, krb5_ccache cache) argument
59 krb5_cc_close(krb5_context context, krb5_ccache cache) argument
65 krb5_cc_store_cred(krb5_context context, krb5_ccache cache, krb5_creds *creds) argument
94 krb5_cc_retrieve_cred(krb5_context context, krb5_ccache cache, krb5_flags flags, krb5_creds *mcreds, krb5_creds *creds) argument
118 krb5_cc_get_principal(krb5_context context, krb5_ccache cache, krb5_principal *principal) argument
125 krb5_cc_start_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor) argument
132 krb5_cc_next_cred(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor, krb5_creds *creds) argument
139 krb5_cc_end_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor) argument
146 krb5_cc_remove_cred(krb5_context context, krb5_ccache cache, krb5_flags flags, krb5_creds *creds) argument
153 krb5_cc_set_flags(krb5_context context, krb5_ccache cache, krb5_flags flags) argument
159 krb5_cc_get_flags(krb5_context context, krb5_ccache cache, krb5_flags *flags) argument
165 krb5_cc_get_type(krb5_context context, krb5_ccache cache) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcleanup.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
H A Dsetup.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
38 log_unsupported "Only physical disk could be cache device"
H A Dcache_003_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Adding an extra cache device works
40 # 1. Create pool with separated cache devices.
41 # 2. Add an extra cache devices
49 log_assert "Adding an extra cache device works."
55 cache $LDEV
57 cache
[all...]
H A Dcache_008_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # A mirror/raidz/raidz2 cache can not be added to existed pool.
40 # 1. Create pool with or without cache.
41 # 2. Add a mirror/raidz/raidz2 cache to this pool.
48 log_assert "A raidz/raidz2 cache can not be added to existed pool."
56 cache $LDEV
58 log_mustnot zpool add $TESTPOOL cache
[all...]
H A Dcache_011_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Remove cache device from pool with spare device should succeed.
40 # 1. Create pool with cache devices and spare devices
41 # 2. Remove cache device from the pool
54 log_assert "Remove cache device from pool with spare device should succeed"
60 cache $LDEV spare $LDEV2
68 log_pass "Remove cache devic
[all...]
H A Dcache_001_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Creating a pool with a cache device succeeds.
40 # 1. Create pool with separated cache devices.
47 log_assert "Creating a pool with a cache device succeeds."
53 cache $LDEV
65 log_pass "Creating a pool with a cache device succeeds."
H A Dcache_002_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Adding a cache device to normal pool works.
41 # 2. Add cache devices with different configuration
48 log_assert "Adding a cache device to normal pool works."
54 log_must zpool add $TESTPOOL cache $LDEV
65 log_pass "Adding a cache device to normal pool works."
H A Dcache_004_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Attaching a cache device fails.
40 # 1. Create pool with separated cache devices.
41 # 2. Attaching a cache device for existing cache device
48 log_assert "Attaching a cache device fails for an existing cache devic
[all...]
H A Dcache_005_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Replacing a cache device fails.
40 # 1. Create pool with cache devices.
41 # 2. Replacing one cache device
49 log_assert "Replacing a cache device fails."
55 cache $LDEV
65 log_pass "Replacing a cache devic
[all...]
H A Dcache_007_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # A mirror/raidz/raidz2 cache is not supported.
47 log_assert "A mirror/raidz/raidz2 cache is not supported."
55 cache $cachetype $LDEV $LDEV2
63 log_pass "A mirror/raidz/raidz2 cache is not supported."
H A Dcache_009_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Offline and online a cache device succeed.
40 # 1. Create pool with mirror cache devices.
41 # 2. Offine and online a cache device
49 log_assert "Offline and online a cache device succeed."
55 cache $LDEV $LDEV2
69 log_pass "Offline and online a cache devic
[all...]
H A Dcache_010_neg.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Verify cache device must be a block device.
41 # 2. Add different object as cache
63 log_mustnot zpool add $TESTPOOL cache /dev/rdsk/${dsk1}s0
67 log_mustnot zpool add $TESTPOOL cache $VDEV2
73 log_mustnot zpool add $TESTPOOL cache "/dev/rlofi/${lofidev#/dev/lofi/}"
82 log_mustnot zpool add $TESTPOOL cache /de
[all...]
H A Dcache_006_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Exporting and importing pool with cache devices passes.
40 # 1. Create pool with cache devices.
51 log_assert "Exporting and importing pool with cache devices passes."
57 cache $LDEV $LDEV2
85 log_pass "Exporting and importing pool with cache devices passes."
H A DMakefile19 TESTDIR = $(ROOTOPTPKG)/tests/functional/cache
35 FILES = cache.cfg \
36 cache.kshlib
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_cache.c29 * This module provides the kernel cache.
114 kidmap_purge_sid2pid_cache(idmap_sid2pid_cache_t *cache, size_t limit);
117 kidmap_purge_pid2sid_cache(idmap_pid2sid_cache_t *cache, size_t limit);
180 kidmap_cache_create(idmap_cache_t *cache) argument
182 avl_create(&cache->sid2pid.tree, (avl_comp_fn)kidmap_compare_sid,
184 mutex_init(&cache->sid2pid.mutex, NULL, MUTEX_DEFAULT, NULL);
185 cache->sid2pid.purge_time = 0;
186 cache->sid2pid.head.flink = &cache->sid2pid.head;
187 cache
209 kidmap_cache_delete(idmap_cache_t *cache) argument
244 kidmap_cache_get_data(idmap_cache_t *cache, size_t *uidbysid, size_t *gidbysid, size_t *pidbysid, size_t *sidbyuid, size_t *sidbygid) argument
264 kidmap_cache_purge(idmap_cache_t *cache) argument
320 kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t *uid) argument
350 kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, gid_t *gid) argument
380 kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t *pid, int *is_user) argument
418 kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix, uint32_t *rid, uid_t uid) argument
448 kidmap_cache_lookup_sidbygid(idmap_cache_t *cache, const char **sid_prefix, uint32_t *rid, gid_t gid) argument
478 kidmap_cache_add_sid2uid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t uid, int direction) argument
568 kidmap_cache_add_sid2gid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, gid_t gid, int direction) argument
656 kidmap_cache_add_sid2pid(idmap_cache_t *cache, const char *sid_prefix, uint32_t rid, uid_t pid, int is_user, int direction) argument
795 kidmap_purge_sid2pid_cache(idmap_sid2pid_cache_t *cache, size_t limit) argument
818 kidmap_purge_pid2sid_cache(idmap_pid2sid_cache_t *cache, size_t limit) argument
[all...]
H A Dkidmap_priv.h87 * There is a cache for every mapping request because a group SID
100 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, cons
[all...]
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dannapurna-alpine.dts49 d-cache-line-size = <64>; // 64 bytes
50 i-cache-line-size = <64>; // 64 bytes
51 d-cache-size = <0x8000>; // L1, 32K
52 i-cache-size = <0x8000>; // L1, 32K
62 d-cache-line-size = <64>; // 64 bytes
63 i-cache-line-size = <64>; // 64 bytes
64 d-cache-size = <0x8000>; // L1, 32K
65 i-cache-size = <0x8000>; // L1, 32K
75 d-cache-line-size = <64>; // 64 bytes
76 i-cache
[all...]
H A Dmeson8b.dtsi44 next-level-cache = <&L2>;
51 next-level-cache = <&L2>;
58 next-level-cache = <&L2>;
65 next-level-cache = <&L2>;
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregcache.c25 * regcomp() regex_t cache
52 Cache_t** cache; member in struct:State_s
58 * flush the cache
67 if (matchstate.cache[i] && matchstate.cache[i]->keep)
69 matchstate.cache[i]->keep = 0;
70 regfree(&matchstate.cache[i]->re);
90 * 0 pattern flushes the cache and reflags>0 extends cache
99 if (matchstate.cache
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c30 * memcache.c - routines that implement an in-memory cache.
64 /* Size used for calculation if given size of cache is 0 */
191 static int memcache_validate_basedn(LDAPMemCache *cache, const char *basedn);
195 static int memcache_adj_size(LDAPMemCache *cache, unsigned long size,
197 static int memcache_free_entry(LDAPMemCache *cache, ldapmemcacheRes *pRes);
198 static int memcache_expired(LDAPMemCache *cache, ldapmemcacheRes *pRes,
200 static int memcache_add_to_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
204 static int memcache_free_from_list(LDAPMemCache *cache, ldapmemcacheRes *pRes,
215 static int memcache_access(LDAPMemCache *cache, int mode,
218 static void memcache_print_list( LDAPMemCache *cache, in
488 ldap_memcache_flush( LDAPMemCache *cache, char *dn, int scope ) argument
858 memcache_validate_basedn(LDAPMemCache *cache, const char *basedn) argument
[all...]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_parse.c81 cachemgr_set_ttl(ldap_stat_t *cache, char *name, int value) argument
85 if (cache == NULL)
88 result = cachemgr_set_integer(&(cache->ldap_ttl),
/illumos-gate/usr/src/cmd/print/ppdmgr/
H A DMakefile26 MANIFEST= ppd-cache-update.xml
27 SVCMETHOD= ppd-cache-update
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_cfgdef.h37 #include "cache.h"
71 nscd_cfg_cache_t cache; member in struct:__anon991
79 nscd_cfg_stat_cache_t cache; member in struct:__anon992
88 nscd_cfg_stat_cache_t cache; member in struct:__anon993
99 nscd_cfg_global_cache_t cache; member in struct:__anon994
136 { 0, "svc:/system/name-service-cache:default"},
348 "cache-hit-threads",
443 "param-group-global-cache",
448 cache,
455 "global-enable-cache",
[all...]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-query.c277 cache_t *cache = NULL; local
364 if ((cache = (cache_t *)calloc(1, sizeof (*cache))) == NULL)
367 if ((cache->printer = (printer_t *)calloc(1, sizeof (*cache->printer)))
371 cache->printer->attributes = attributes;
372 svc->cache = cache;
383 list_append(&cache->jobs, job);
397 time(&cache
[all...]

Completed in 108 milliseconds

12345678