Home
last modified time | relevance | path

Searched refs:cache_lock (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/dports/net-mgmt/collectd5/collectd-5.12.0/src/daemon/
H A Dutils_cache.c235 pthread_mutex_lock(&cache_lock); in uc_check_timeout()
302 pthread_mutex_lock(&cache_lock); in uc_check_timeout()
332 pthread_mutex_lock(&cache_lock); in uc_update()
430 pthread_mutex_lock(&cache_lock); in uc_set_callbacks_mask()
451 pthread_mutex_lock(&cache_lock); in uc_get_rate_by_name()
522 pthread_mutex_lock(&cache_lock); in uc_get_value_by_name()
586 pthread_mutex_lock(&cache_lock); in uc_get_size()
608 pthread_mutex_lock(&cache_lock); in uc_get_names()
683 pthread_mutex_lock(&cache_lock); in uc_get_state()
705 pthread_mutex_lock(&cache_lock); in uc_set_state()
[all …]
/dports/devel/uthash/uthash-2.1.0/tests/lru_cache/
H A Dcache.c41 pthread_rwlock_t cache_lock; /**<A lock for concurrent access */ member
68 if ((rv = pthread_rwlock_init(&(new->cache_lock), NULL)) != 0) in foo_cache_create()
101 rv = pthread_rwlock_wrlock(&(cache->cache_lock)); in foo_cache_delete()
115 (void)pthread_rwlock_unlock(&(cache->cache_lock)); in foo_cache_delete()
116 (void)pthread_rwlock_destroy(&(cache->cache_lock)); in foo_cache_delete()
148 rv = pthread_rwlock_wrlock(&(cache->cache_lock)); in foo_cache_lookup()
161 rv = pthread_rwlock_unlock(&(cache->cache_lock)); in foo_cache_lookup()
191 if ((rv = pthread_rwlock_wrlock(&(cache->cache_lock))) != 0) in foo_cache_insert()
212 rv = pthread_rwlock_unlock(&(cache->cache_lock)); in foo_cache_insert()
218 (void)pthread_rwlock_unlock(&(cache->cache_lock)); in foo_cache_insert()
/dports/devel/z88dk/z88dk/ext/uthash/tests/lru_cache/
H A Dcache.c41 pthread_rwlock_t cache_lock; /**<A lock for concurrent access */ member
68 if ((rv = pthread_rwlock_init(&(new->cache_lock), NULL)) != 0) in foo_cache_create()
101 rv = pthread_rwlock_wrlock(&(cache->cache_lock)); in foo_cache_delete()
115 (void)pthread_rwlock_unlock(&(cache->cache_lock)); in foo_cache_delete()
116 (void)pthread_rwlock_destroy(&(cache->cache_lock)); in foo_cache_delete()
148 rv = pthread_rwlock_wrlock(&(cache->cache_lock)); in foo_cache_lookup()
161 rv = pthread_rwlock_unlock(&(cache->cache_lock)); in foo_cache_lookup()
191 if ((rv = pthread_rwlock_wrlock(&(cache->cache_lock))) != 0) in foo_cache_insert()
212 rv = pthread_rwlock_unlock(&(cache->cache_lock)); in foo_cache_insert()
218 (void)pthread_rwlock_unlock(&(cache->cache_lock)); in foo_cache_insert()
/dports/devel/efl/efl-1.25.1/src/lib/evas/common/
H A Devas_image_scalecache.c57 static SLK(cache_lock);
121 SLKI(cache_lock); in evas_common_scalecache_init()
451 SLKL(cache_lock); in evas_common_rgba_image_scalecache_size_set()
457 SLKU(cache_lock); in evas_common_rgba_image_scalecache_size_set()
466 SLKL(cache_lock); in evas_common_rgba_image_scalecache_size_get()
468 SLKU(cache_lock); in evas_common_rgba_image_scalecache_size_get()
479 SLKL(cache_lock); in evas_common_rgba_image_scalecache_prune()
481 SLKU(cache_lock); in evas_common_rgba_image_scalecache_prune()
490 SLKL(cache_lock); in evas_common_rgba_image_scalecache_dump()
495 SLKU(cache_lock); in evas_common_rgba_image_scalecache_dump()
[all …]
/dports/mail/libspf2/libspf2-1.2.10/src/libspf2/
H A Dspf_dns_cache.c92 pthread_mutex_t cache_lock; member
384 pthread_mutex_lock(&(spfhook->cache_lock)); in SPF_dns_cache_lookup()
390 pthread_mutex_unlock(&(spfhook->cache_lock)); in SPF_dns_cache_lookup()
403 pthread_mutex_unlock(&(spfhook->cache_lock)); in SPF_dns_cache_lookup()
413 pthread_mutex_lock(&(spfhook->cache_lock)); in SPF_dns_cache_lookup()
418 pthread_mutex_unlock(&(spfhook->cache_lock)); in SPF_dns_cache_lookup()
424 pthread_mutex_unlock(&(spfhook->cache_lock)); in SPF_dns_cache_lookup()
446 pthread_mutex_lock(&(spfhook->cache_lock)); in SPF_dns_cache_free()
465 pthread_mutex_unlock(&(spfhook->cache_lock)); in SPF_dns_cache_free()
476 pthread_mutex_destroy(&(spfhook->cache_lock)); in SPF_dns_cache_free()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysys/
H A Dmf_keycache.cc462 mysql_mutex_lock(&keycache->cache_lock); in resize_key_cache()
537 mysql_mutex_unlock(&keycache->cache_lock); in resize_key_cache()
580 mysql_mutex_lock(&keycache->cache_lock); in change_key_cache_param()
586 mysql_mutex_unlock(&keycache->cache_lock); in change_key_cache_param()
2042 mysql_mutex_lock(&keycache->cache_lock); in read_block()
2137 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2322 mysql_mutex_lock(&keycache->cache_lock); in key_cache_insert()
2563 mysql_mutex_lock(&keycache->cache_lock); in key_cache_write()
2945 mysql_mutex_unlock(&keycache->cache_lock); in flush_cached_blocks()
2954 mysql_mutex_lock(&keycache->cache_lock); in flush_cached_blocks()
[all …]
/dports/www/p5-HTML-Template-Compiled/HTML-Template-Compiled-1.003/t/
H A DHTC_Utils.pm5 @EXPORT_OK = qw($cache $cache_lock $tdir &cdir &create_cache &remove_cache);
8 $cache_lock = File::Spec->catdir(qw(t cache lock));
24 my $cache_lock = File::Spec->catdir($dir, 'lock');
25 unlink $cache_lock;
/dports/databases/percona57-server/percona-server-5.7.36-39/mysys/
H A Dmf_keycache.c476 mysql_mutex_lock(&keycache->cache_lock); in resize_key_cache()
555 mysql_mutex_unlock(&keycache->cache_lock); in resize_key_cache()
603 mysql_mutex_lock(&keycache->cache_lock); in change_key_cache_param()
610 mysql_mutex_unlock(&keycache->cache_lock); in change_key_cache_param()
2211 mysql_mutex_lock(&keycache->cache_lock); in read_block()
2323 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2484 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2543 mysql_mutex_lock(&keycache->cache_lock); in key_cache_insert()
2814 mysql_mutex_lock(&keycache->cache_lock); in key_cache_write()
3248 mysql_mutex_lock(&keycache->cache_lock); in flush_cached_blocks()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/mysys/
H A Dmf_keycache.c476 mysql_mutex_lock(&keycache->cache_lock); in resize_key_cache()
555 mysql_mutex_unlock(&keycache->cache_lock); in resize_key_cache()
603 mysql_mutex_lock(&keycache->cache_lock); in change_key_cache_param()
610 mysql_mutex_unlock(&keycache->cache_lock); in change_key_cache_param()
2211 mysql_mutex_lock(&keycache->cache_lock); in read_block()
2323 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2484 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2543 mysql_mutex_lock(&keycache->cache_lock); in key_cache_insert()
2814 mysql_mutex_lock(&keycache->cache_lock); in key_cache_write()
3248 mysql_mutex_lock(&keycache->cache_lock); in flush_cached_blocks()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/mysys/
H A Dmf_keycache.c476 mysql_mutex_lock(&keycache->cache_lock); in resize_key_cache()
555 mysql_mutex_unlock(&keycache->cache_lock); in resize_key_cache()
603 mysql_mutex_lock(&keycache->cache_lock); in change_key_cache_param()
610 mysql_mutex_unlock(&keycache->cache_lock); in change_key_cache_param()
2211 mysql_mutex_lock(&keycache->cache_lock); in read_block()
2323 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2484 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2543 mysql_mutex_lock(&keycache->cache_lock); in key_cache_insert()
2814 mysql_mutex_lock(&keycache->cache_lock); in key_cache_write()
3248 mysql_mutex_lock(&keycache->cache_lock); in flush_cached_blocks()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/mysys/
H A Dmf_keycache.c476 mysql_mutex_lock(&keycache->cache_lock); in resize_key_cache()
555 mysql_mutex_unlock(&keycache->cache_lock); in resize_key_cache()
603 mysql_mutex_lock(&keycache->cache_lock); in change_key_cache_param()
610 mysql_mutex_unlock(&keycache->cache_lock); in change_key_cache_param()
2211 mysql_mutex_lock(&keycache->cache_lock); in read_block()
2323 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2484 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2543 mysql_mutex_lock(&keycache->cache_lock); in key_cache_insert()
2814 mysql_mutex_lock(&keycache->cache_lock); in key_cache_write()
3248 mysql_mutex_lock(&keycache->cache_lock); in flush_cached_blocks()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/mysys/
H A Dmf_keycache.c476 mysql_mutex_lock(&keycache->cache_lock); in resize_key_cache()
555 mysql_mutex_unlock(&keycache->cache_lock); in resize_key_cache()
603 mysql_mutex_lock(&keycache->cache_lock); in change_key_cache_param()
610 mysql_mutex_unlock(&keycache->cache_lock); in change_key_cache_param()
2211 mysql_mutex_lock(&keycache->cache_lock); in read_block()
2323 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2484 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2543 mysql_mutex_lock(&keycache->cache_lock); in key_cache_insert()
2814 mysql_mutex_lock(&keycache->cache_lock); in key_cache_write()
3248 mysql_mutex_lock(&keycache->cache_lock); in flush_cached_blocks()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/mysys/
H A Dmf_keycache.c476 mysql_mutex_lock(&keycache->cache_lock); in resize_key_cache()
555 mysql_mutex_unlock(&keycache->cache_lock); in resize_key_cache()
603 mysql_mutex_lock(&keycache->cache_lock); in change_key_cache_param()
610 mysql_mutex_unlock(&keycache->cache_lock); in change_key_cache_param()
2211 mysql_mutex_lock(&keycache->cache_lock); in read_block()
2323 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2484 mysql_mutex_lock(&keycache->cache_lock); in key_cache_read()
2543 mysql_mutex_lock(&keycache->cache_lock); in key_cache_insert()
2814 mysql_mutex_lock(&keycache->cache_lock); in key_cache_write()
3248 mysql_mutex_lock(&keycache->cache_lock); in flush_cached_blocks()
[all …]
/dports/mail/opendkim/opendkim-2.10.3/libopendkim/
H A Ddkim-cache.c74 static pthread_mutex_t cache_lock; /* cache lock */ variable
98 (void) pthread_mutex_init(&cache_lock, NULL); in dkim_cache_init()
202 pthread_mutex_lock(&cache_lock); in dkim_cache_query()
210 pthread_mutex_unlock(&cache_lock); in dkim_cache_query()
293 pthread_mutex_lock(&cache_lock); in dkim_cache_insert()
301 pthread_mutex_unlock(&cache_lock); in dkim_cache_insert()
354 pthread_mutex_lock(&cache_lock); in dkim_cache_expire()
361 pthread_mutex_unlock(&cache_lock); in dkim_cache_expire()
446 pthread_mutex_unlock(&cache_lock); in dkim_cache_expire()
472 (void) pthread_mutex_destroy(&cache_lock); in dkim_cache_close()
/dports/devel/libspice-server/spice-0.15.0/server/
H A Dpixmap-cache.cpp88 static pthread_mutex_t cache_lock = PTHREAD_MUTEX_INITIALIZER; variable
111 pthread_mutex_lock(&cache_lock); in pixmap_cache_get()
126 pthread_mutex_unlock(&cache_lock); in pixmap_cache_get()
136 pthread_mutex_lock(&cache_lock); in pixmap_cache_unref()
138 pthread_mutex_unlock(&cache_lock); in pixmap_cache_unref()
142 pthread_mutex_unlock(&cache_lock); in pixmap_cache_unref()
/dports/net-mgmt/collectd5/collectd-5.12.0/src/
H A Drrdtool.c370 pthread_mutex_lock(&cache_lock); in rrd_queue_thread()
613 pthread_mutex_lock(&cache_lock); in rrd_cache_insert()
718 pthread_mutex_unlock(&cache_lock); in rrd_cache_insert()
730 pthread_mutex_lock(&cache_lock); in rrd_cache_destroy()
766 pthread_mutex_unlock(&cache_lock); in rrd_cache_destroy()
828 pthread_mutex_lock(&cache_lock); in rrd_flush()
837 pthread_mutex_unlock(&cache_lock); in rrd_flush()
988 pthread_mutex_lock(&cache_lock); in rrd_shutdown()
990 pthread_mutex_unlock(&cache_lock); in rrd_shutdown()
1029 pthread_mutex_lock(&cache_lock); in rrd_init()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/plugin/innodb_memcached/daemon_memcached/engines/default_engine/
H A Ditems.c45 pthread_mutex_lock(&engine->cache_lock); in item_stats_reset()
47 pthread_mutex_unlock(&engine->cache_lock); in item_stats_reset()
754 pthread_mutex_lock(&engine->cache_lock); in item_alloc()
767 pthread_mutex_lock(&engine->cache_lock); in item_get()
778 pthread_mutex_lock(&engine->cache_lock); in item_release()
787 pthread_mutex_lock(&engine->cache_lock); in item_unlink()
849 pthread_mutex_lock(&engine->cache_lock); in arithmetic()
866 pthread_mutex_lock(&engine->cache_lock); in store_item()
891 pthread_mutex_lock(&engine->cache_lock); in touch_item()
904 pthread_mutex_lock(&engine->cache_lock); in item_flush_expired()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/plugin/innodb_memcached/daemon_memcached/engines/default_engine/
H A Ditems.c45 pthread_mutex_lock(&engine->cache_lock); in item_stats_reset()
47 pthread_mutex_unlock(&engine->cache_lock); in item_stats_reset()
754 pthread_mutex_lock(&engine->cache_lock); in item_alloc()
767 pthread_mutex_lock(&engine->cache_lock); in item_get()
778 pthread_mutex_lock(&engine->cache_lock); in item_release()
787 pthread_mutex_lock(&engine->cache_lock); in item_unlink()
849 pthread_mutex_lock(&engine->cache_lock); in arithmetic()
866 pthread_mutex_lock(&engine->cache_lock); in store_item()
891 pthread_mutex_lock(&engine->cache_lock); in touch_item()
904 pthread_mutex_lock(&engine->cache_lock); in item_flush_expired()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/plugin/innodb_memcached/daemon_memcached/engines/default_engine/
H A Ditems.c45 pthread_mutex_lock(&engine->cache_lock); in item_stats_reset()
47 pthread_mutex_unlock(&engine->cache_lock); in item_stats_reset()
754 pthread_mutex_lock(&engine->cache_lock); in item_alloc()
767 pthread_mutex_lock(&engine->cache_lock); in item_get()
778 pthread_mutex_lock(&engine->cache_lock); in item_release()
787 pthread_mutex_lock(&engine->cache_lock); in item_unlink()
849 pthread_mutex_lock(&engine->cache_lock); in arithmetic()
866 pthread_mutex_lock(&engine->cache_lock); in store_item()
891 pthread_mutex_lock(&engine->cache_lock); in touch_item()
904 pthread_mutex_lock(&engine->cache_lock); in item_flush_expired()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/memcache/extra/memcached/engines/default_engine/
H A Ditems.c45 pthread_mutex_lock(&engine->cache_lock); in item_stats_reset()
47 pthread_mutex_unlock(&engine->cache_lock); in item_stats_reset()
755 pthread_mutex_lock(&engine->cache_lock); in item_alloc()
768 pthread_mutex_lock(&engine->cache_lock); in item_get()
779 pthread_mutex_lock(&engine->cache_lock); in item_release()
788 pthread_mutex_lock(&engine->cache_lock); in item_unlink()
850 pthread_mutex_lock(&engine->cache_lock); in arithmetic()
867 pthread_mutex_lock(&engine->cache_lock); in store_item()
892 pthread_mutex_lock(&engine->cache_lock); in touch_item()
905 pthread_mutex_lock(&engine->cache_lock); in item_flush_expired()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/memcache/extra/memcached/engines/default_engine/
H A Ditems.c45 pthread_mutex_lock(&engine->cache_lock); in item_stats_reset()
47 pthread_mutex_unlock(&engine->cache_lock); in item_stats_reset()
755 pthread_mutex_lock(&engine->cache_lock); in item_alloc()
768 pthread_mutex_lock(&engine->cache_lock); in item_get()
779 pthread_mutex_lock(&engine->cache_lock); in item_release()
788 pthread_mutex_lock(&engine->cache_lock); in item_unlink()
850 pthread_mutex_lock(&engine->cache_lock); in arithmetic()
867 pthread_mutex_lock(&engine->cache_lock); in store_item()
892 pthread_mutex_lock(&engine->cache_lock); in touch_item()
905 pthread_mutex_lock(&engine->cache_lock); in item_flush_expired()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/plugin/innodb_memcached/daemon_memcached/engines/default_engine/
H A Ditems.c45 pthread_mutex_lock(&engine->cache_lock); in item_stats_reset()
47 pthread_mutex_unlock(&engine->cache_lock); in item_stats_reset()
754 pthread_mutex_lock(&engine->cache_lock); in item_alloc()
767 pthread_mutex_lock(&engine->cache_lock); in item_get()
778 pthread_mutex_lock(&engine->cache_lock); in item_release()
787 pthread_mutex_lock(&engine->cache_lock); in item_unlink()
849 pthread_mutex_lock(&engine->cache_lock); in arithmetic()
866 pthread_mutex_lock(&engine->cache_lock); in store_item()
891 pthread_mutex_lock(&engine->cache_lock); in touch_item()
904 pthread_mutex_lock(&engine->cache_lock); in item_flush_expired()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/memcache/extra/memcached/engines/default_engine/
H A Ditems.c45 pthread_mutex_lock(&engine->cache_lock); in item_stats_reset()
47 pthread_mutex_unlock(&engine->cache_lock); in item_stats_reset()
755 pthread_mutex_lock(&engine->cache_lock); in item_alloc()
768 pthread_mutex_lock(&engine->cache_lock); in item_get()
779 pthread_mutex_lock(&engine->cache_lock); in item_release()
788 pthread_mutex_lock(&engine->cache_lock); in item_unlink()
850 pthread_mutex_lock(&engine->cache_lock); in arithmetic()
867 pthread_mutex_lock(&engine->cache_lock); in store_item()
892 pthread_mutex_lock(&engine->cache_lock); in touch_item()
905 pthread_mutex_lock(&engine->cache_lock); in item_flush_expired()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/plugin/innodb_memcached/daemon_memcached/engines/default_engine/
H A Ditems.c45 pthread_mutex_lock(&engine->cache_lock); in item_stats_reset()
47 pthread_mutex_unlock(&engine->cache_lock); in item_stats_reset()
754 pthread_mutex_lock(&engine->cache_lock); in item_alloc()
767 pthread_mutex_lock(&engine->cache_lock); in item_get()
778 pthread_mutex_lock(&engine->cache_lock); in item_release()
787 pthread_mutex_lock(&engine->cache_lock); in item_unlink()
849 pthread_mutex_lock(&engine->cache_lock); in arithmetic()
866 pthread_mutex_lock(&engine->cache_lock); in store_item()
891 pthread_mutex_lock(&engine->cache_lock); in touch_item()
904 pthread_mutex_lock(&engine->cache_lock); in item_flush_expired()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/memcache/extra/memcached/engines/default_engine/
H A Ditems.c45 pthread_mutex_lock(&engine->cache_lock); in item_stats_reset()
47 pthread_mutex_unlock(&engine->cache_lock); in item_stats_reset()
755 pthread_mutex_lock(&engine->cache_lock); in item_alloc()
768 pthread_mutex_lock(&engine->cache_lock); in item_get()
779 pthread_mutex_lock(&engine->cache_lock); in item_release()
788 pthread_mutex_lock(&engine->cache_lock); in item_unlink()
850 pthread_mutex_lock(&engine->cache_lock); in arithmetic()
867 pthread_mutex_lock(&engine->cache_lock); in store_item()
892 pthread_mutex_lock(&engine->cache_lock); in touch_item()
905 pthread_mutex_lock(&engine->cache_lock); in item_flush_expired()
[all …]

12345678910>>...19