Searched refs:cache (Results 26 - 50 of 391) sorted by relevance

1234567891011>>

/freebsd-13-stable/tests/sys/cddl/zfs/tests/cache/
H A Dcache_004_neg.ksh32 . $STF_SUITE/tests/cache/cache.kshlib
41 # Attaching a cache device fails.
44 # 1. Create pool with separated cache devices.
45 # 2. Attaching a cache device for existing cache device
60 log_assert "Attaching a cache device fails."
66 cache $LDEV
76 log_pass "Attaching a cache device fails."
H A Dcache_007_neg.ksh32 . $STF_SUITE/tests/cache/cache.kshlib
41 # A mirror/raidz/raidz2 cache is not supported.
59 log_assert "A mirror/raidz/raidz2 cache is not supported."
67 cache $cachetype $LDEV $LDEV2
75 log_pass "A mirror/raidz/raidz2 cache is not supported."
H A Dcache_011_pos.ksh32 . $STF_SUITE/tests/cache/cache.kshlib
41 # Remove cache device from pool with spare device should succeed.
44 # 1. Create pool with cache devices and spare devices
45 # 2. Remove cache device from the pool
66 log_assert "Remove cache device from pool with spare device should succeed"
72 cache $LDEV spare $LDEV2
80 log_pass "Remove cache device from pool with spare device should succeed"
H A Dsetup.ksh32 . $STF_SUITE/tests/cache/cache.kshlib
H A Dcache_test.sh32 atf_set "descr" "Creating a pool with a cache device succeeds."
39 . $(atf_get_srcdir)/cache.kshlib
40 . $(atf_get_srcdir)/cache.cfg
49 . $(atf_get_srcdir)/cache.kshlib
50 . $(atf_get_srcdir)/cache.cfg
59 atf_set "descr" "Adding a cache device to normal pool works."
66 . $(atf_get_srcdir)/cache.kshlib
67 . $(atf_get_srcdir)/cache.cfg
76 . $(atf_get_srcdir)/cache.kshlib
77 . $(atf_get_srcdir)/cache
[all...]
H A Dcache_003_pos.ksh32 . $STF_SUITE/tests/cache/cache.kshlib
41 # Adding an extra cache device works
44 # 1. Create pool with separated cache devices.
45 # 2. Add an extra cache devices
61 log_assert "Adding an extra cache device works."
67 cache $LDEV
69 cache $LDEV2
81 log_pass "Adding an extra cache device works."
H A Dcache_001_pos.ksh32 . $STF_SUITE/tests/cache/cache.kshlib
41 # Creating a pool with a cache device succeeds.
44 # 1. Create pool with separated cache devices.
60 log_assert "Creating a pool with a cache device succeeds."
66 cache $LDEV
78 log_pass "Creating a pool with a cache device succeeds."
H A Dcache_002_pos.ksh32 . $STF_SUITE/tests/cache/cache.kshlib
41 # Adding a cache device to normal pool works.
45 # 2. Add cache devices with different configuration
61 log_assert "Adding a cache device to normal pool works."
67 log_must $ZPOOL add $TESTPOOL cache $LDEV
78 log_pass "Adding a cache device to normal pool works."
H A Dcache_005_neg.ksh32 . $STF_SUITE/tests/cache/cache.kshlib
41 # Replacing a cache device fails.
44 # 1. Create pool with cache devices.
45 # 2. Replacing one cache device
61 log_assert "Replacing a cache device fails."
67 cache $LDEV
77 log_pass "Replacing a cache device fails."
H A Dcache_009_pos.ksh32 . $STF_SUITE/tests/cache/cache.kshlib
41 # Offline and online a cache device succeed.
44 # 1. Create pool with mirror cache devices.
45 # 2. Offine and online a cache device
61 log_assert "Offline and online a cache device succeed."
67 cache $LDEV $LDEV2
85 log_pass "Offline and online a cache device succeed."
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
H A Dcache-membuffer.c2 * cache-membuffer.c: in-memory caching for Subversion
41 #include "cache.h"
46 * a shared (per-process) singleton membuffer cache instance and shallow
48 * For data management, they all forward to the singleton membuffer cache.
50 * A membuffer cache consists of two parts:
53 * representation, prefixed by their full cache keys. There may be
55 * (currently two) cache levels.
57 * 2. A directory of cache entries. This is organized similar to CPU
60 * that given key. The result is a GROUP_SIZE+-way associative cache
69 * Superficially, cache level
829 read_lock_cache(svn_membuffer_t *cache) argument
852 write_lock_cache(svn_membuffer_t *cache, svn_boolean_t *success) argument
889 force_write_lock_cache(svn_membuffer_t *cache) argument
909 unlock_cache(svn_membuffer_t *cache, svn_error_t *err) argument
970 is_group_initialized(svn_membuffer_t *cache, apr_uint32_t group_index) argument
983 initialize_group(svn_membuffer_t *cache, apr_uint32_t group_index) argument
1015 allocate_spare_group(svn_membuffer_t *cache) argument
1046 free_spare_group(svn_membuffer_t *cache, entry_group_t *group) argument
1067 last_group_in_chain(svn_membuffer_t *cache, entry_group_t *group) argument
1080 get_group(svn_membuffer_t *cache, apr_uint32_t start_group_index, apr_uint32_t chain_index) argument
1095 get_entry(svn_membuffer_t *cache, apr_uint32_t idx) argument
1103 get_index(svn_membuffer_t *cache, entry_t *entry) argument
1115 get_cache_level(svn_membuffer_t *cache, entry_t *entry) argument
1126 chain_entry(svn_membuffer_t *cache, cache_level_t *level, entry_t *entry, apr_uint32_t idx) argument
1177 unchain_entry(svn_membuffer_t *cache, cache_level_t *level, entry_t *entry, apr_uint32_t idx) argument
1206 drop_entry(svn_membuffer_t *cache, entry_t *entry) argument
1297 insert_entry(svn_membuffer_t *cache, entry_t *entry) argument
1334 get_group_index(svn_membuffer_t **cache, const entry_key_t *key) argument
1354 let_entry_age(svn_membuffer_t *cache, entry_t *entry) argument
1397 find_entry(svn_membuffer_t *cache, apr_uint32_t group_index, const full_key_t *to_find, svn_boolean_t find_empty) argument
1557 move_entry(svn_membuffer_t *cache, entry_t *entry) argument
1596 promote_entry(svn_membuffer_t *cache, entry_t *entry) argument
1631 ensure_data_insertable_l2(svn_membuffer_t *cache, entry_t *to_fit_in) argument
1777 ensure_data_insertable_l1(svn_membuffer_t *cache, apr_size_t size) argument
1836 svn_cache__membuffer_cache_create(svn_membuffer_t **cache, apr_size_t total_size, apr_size_t directory_size, apr_size_t segment_count, svn_boolean_t thread_safe, svn_boolean_t allow_blocking_writes, apr_pool_t *pool) argument
2058 svn_cache__membuffer_clear(svn_membuffer_t *cache) argument
2119 entry_exists_internal(svn_membuffer_t *cache, apr_uint32_t group_index, const full_key_t *to_find, svn_boolean_t *found) argument
2132 entry_exists(svn_membuffer_t *cache, apr_uint32_t group_index, const full_key_t *to_find, svn_boolean_t *found) argument
2151 select_level(svn_membuffer_t *cache, apr_size_t size, apr_uint32_t priority) argument
2193 membuffer_cache_set_internal(svn_membuffer_t *cache, const full_key_t *to_find, apr_uint32_t group_index, char *buffer, apr_size_t item_size, apr_uint32_t priority, DEBUG_CACHE_MEMBUFFER_TAG_ARG apr_pool_t *scratch_pool) argument
2323 membuffer_cache_set(svn_membuffer_t *cache, const full_key_t *key, void *item, svn_cache__serialize_func_t serializer, apr_uint32_t priority, DEBUG_CACHE_MEMBUFFER_TAG_ARG apr_pool_t *scratch_pool) argument
2361 increment_hit_counters(svn_membuffer_t *cache, entry_t *entry) argument
2383 membuffer_cache_get_internal(svn_membuffer_t *cache, apr_uint32_t group_index, const full_key_t *to_find, char **buffer, apr_size_t *item_size, DEBUG_CACHE_MEMBUFFER_TAG_ARG apr_pool_t *result_pool) argument
2442 membuffer_cache_get(svn_membuffer_t *cache, const full_key_t *key, void **item, svn_cache__deserialize_func_t deserializer, DEBUG_CACHE_MEMBUFFER_TAG_ARG apr_pool_t *result_pool) argument
2481 membuffer_cache_has_key_internal(svn_membuffer_t *cache, apr_uint32_t group_index, const full_key_t *to_find, svn_boolean_t *found) argument
2511 membuffer_cache_has_key(svn_membuffer_t *cache, const full_key_t *key, svn_boolean_t *found) argument
2541 membuffer_cache_get_partial_internal(svn_membuffer_t *cache, apr_uint32_t group_index, const full_key_t *to_find, void **item, svn_boolean_t *found, svn_cache__partial_getter_func_t deserializer, void *baton, DEBUG_CACHE_MEMBUFFER_TAG_ARG apr_pool_t *result_pool) argument
2593 membuffer_cache_get_partial(svn_membuffer_t *cache, const full_key_t *key, void **item, svn_boolean_t *found, svn_cache__partial_getter_func_t deserializer, void *baton, DEBUG_CACHE_MEMBUFFER_TAG_ARG apr_pool_t *result_pool) argument
2624 membuffer_cache_set_partial_internal(svn_membuffer_t *cache, apr_uint32_t group_index, const full_key_t *to_find, svn_cache__partial_setter_func_t func, void *baton, DEBUG_CACHE_MEMBUFFER_TAG_ARG apr_pool_t *scratch_pool) argument
2735 membuffer_cache_set_partial(svn_membuffer_t *cache, const full_key_t *key, svn_cache__partial_setter_func_t func, void *baton, DEBUG_CACHE_MEMBUFFER_TAG_ARG apr_pool_t *scratch_pool) argument
2813 get_prefix_key(const svn_membuffer_cache_t *cache) argument
2826 combine_long_key(svn_membuffer_cache_t *cache, const void *key, apr_ssize_t key_len) argument
2865 combine_key(svn_membuffer_cache_t *cache, const void *key, apr_ssize_t key_len) argument
2929 svn_membuffer_cache_t *cache = cache_void; local
2969 svn_membuffer_cache_t *cache = cache_void; local
3001 svn_membuffer_cache_t *cache = cache_void; local
3050 svn_membuffer_cache_t *cache = cache_void; local
3084 svn_membuffer_cache_t *cache = cache_void; local
3111 svn_membuffer_cache_t *cache = cache_void; local
3159 svn_membuffer_cache_t *cache = cache_void; local
3201 svn_membuffer_cache_t *cache = cache_void; local
3220 svn_membuffer_cache_t *cache = cache_void; local
3238 svn_membuffer_cache_t *cache = cache_void; local
3259 svn_membuffer_cache_t *cache = cache_void; local
3281 svn_membuffer_cache_t *cache = cache_void; local
3363 svn_membuffer_cache_t *cache = apr_pcalloc(result_pool, sizeof(*cache)); local
[all...]
H A Dcache_config.c32 /* The cache settings as a process-wide singleton.
53 * When running with a huge in-process cache, this number
67 /* Get the current FSFS cache configuration. */
75 * the process-global (singleton) membuffer cache and return it in the
82 svn_membuffer_t *cache = NULL; local
84 /* Limit the cache size to about half the available address space
95 /* auto-allocate cache */
103 * before the cache is complete: If the cache cannot be allocated
124 &cache,
161 static svn_membuffer_t *cache = NULL; local
[all...]
/freebsd-13-stable/lib/geom/cache/
H A DMakefile6 GEOM_CLASS= cache
/freebsd-13-stable/sys/modules/geom/geom_cache/
H A DMakefile3 .PATH: ${SRCTOP}/sys/geom/cache
/freebsd-13-stable/usr.sbin/nscd/
H A Dsingletons.h43 extern cache s_cache;
H A Dsingletons.c36 cache s_cache = INVALID_CACHE;
/freebsd-13-stable/libexec/rc/rc.d/
H A Dzpool23 for cachefile in /etc/zfs/zpool.cache /boot/zfs/zpool.cache; do
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cache/
H A Dcache_010_pos.ksh32 . $STF_SUITE/tests/functional/cache/cache.cfg
33 . $STF_SUITE/tests/functional/cache/cache.kshlib
37 # Verify that cache devices can be block devices, files or character devices
41 # 2. Add different object as cache
61 log_assert "Verify cache devices can be disk, file, lofi device or any " \
72 log_must zpool add $TESTPOOL cache \
78 log_must zpool add $TESTPOOL cache $dsk1
83 log_must zpool add $TESTPOOL cache
[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 DMakefile.am1 pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/cache
19 cache.cfg \
20 cache.kshlib
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_internal.h42 void *InternalAlloc(uptr size, InternalAllocatorCache *cache = nullptr,
45 InternalAllocatorCache *cache = nullptr);
47 InternalAllocatorCache *cache = nullptr);
49 InternalAllocatorCache *cache = nullptr);
50 void InternalFree(void *p, InternalAllocatorCache *cache = nullptr);
H A Dsanitizer_allocator.cpp51 static void *RawInternalAlloc(uptr size, InternalAllocatorCache *cache, argument
53 (void)cache;
71 InternalAllocatorCache *cache) {
72 (void)cache;
76 static void RawInternalFree(void *ptr, InternalAllocatorCache *cache) { argument
77 (void)cache;
108 static void *RawInternalAlloc(uptr size, InternalAllocatorCache *cache, argument
111 if (cache == 0) {
116 return internal_allocator()->Allocate(cache, size, alignment);
120 InternalAllocatorCache *cache) {
70 RawInternalRealloc(void *ptr, uptr size, InternalAllocatorCache *cache) argument
119 RawInternalRealloc(void *ptr, uptr size, InternalAllocatorCache *cache) argument
130 RawInternalFree(void *ptr, InternalAllocatorCache *cache) argument
149 InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) argument
159 InternalRealloc(void *addr, uptr size, InternalAllocatorCache *cache) argument
173 InternalReallocArray(void *addr, uptr count, uptr size, InternalAllocatorCache *cache) argument
185 InternalCalloc(uptr count, uptr size, InternalAllocatorCache *cache) argument
198 InternalFree(void *addr, InternalAllocatorCache *cache) argument
[all...]
/freebsd-13-stable/contrib/dialog/
H A Dinputstr.c108 DLG_TRACE(("# cache %p %p:%s\n", p, p->string, p->string));
197 #define load_cache(cache, string) &my_cache
205 same_cache2(CACHE * cache, const char *string, unsigned i_len) argument
211 if (cache->s_len == 0
212 || cache->s_len < s_len
213 || cache->list == 0
214 || !SAME_CACHE(cache, string, (size_t) s_len)) {
217 if (cache->list == 0) {
218 cache->list = dlg_malloc(int, need);
219 } else if (cache
245 same_cache1(CACHE * cache, const char *string, size_t i_len) argument
280 CACHE *cache = load_cache(cCntWideBytes, string); local
318 CACHE *cache = load_cache(cCntWideChars, string); local
357 CACHE *cache = load_cache(cInxWideChars, string); local
411 CACHE *cache = load_cache(cInxCols, string); local
[all...]
/freebsd-13-stable/contrib/unbound/contrib/
H A Dunbound_cache.cmd3 rem -- DNS cache save/load script
30 echo Loading cache from %program_path%\%fname%
41 echo Saving cache to %program_path%\%fname%
49 echo Loading cache from %program_path%\%fname%
56 echo Saving cache to %program_path%\%fname%
60 echo Loading cache from %program_path%\%fname%
68 echo Saving cache to %arg2%
76 echo Loading cache from %arg2%
83 echo Saving cache to %arg2%
87 echo Loading cache fro
[all...]
/freebsd-13-stable/crypto/openssl/crypto/x509v3/
H A Dpcy_map.c18 * Set policy mapping entries in cache. Note: this modifies the passed
26 X509_POLICY_CACHE *cache = x->policy_cache; local
43 data = policy_cache_find_data(cache, map->issuerDomainPolicy);
45 if (data == NULL && !cache->anyPolicy)
51 cache->anyPolicy->flags
55 data->qualifier_set = cache->anyPolicy->qualifier_set;
61 if (!sk_X509_POLICY_DATA_push(cache->data, data)) {

Completed in 196 milliseconds

1234567891011>>