Home
last modified time | relevance | path

Searched refs:g (Results 1 – 18 of 18) sorted by relevance

/memcached-1.6.32/
Dproxy_ratelim.c15 struct mcp_globalobj_s g; member
24 assert(lim->g.refcount == 0); in mcplib_ratelim_global_tbf_gc()
25 mcp_gobj_finalize(&lim->g); in mcplib_ratelim_global_tbf_gc()
36 mcp_gobj_unref(ctx, &lim->g); in mcplib_ratelim_proxy_tbf_gc()
49 mcp_gobj_ref(from, &lim->g); // pops obj copy in mcp_ratelim_proxy_tbf()
93 pthread_mutex_init(&lim->g.lock, NULL); in mcplib_ratelim_global_tbf()
159 pthread_mutex_lock(&lim->g.lock); in mcplib_ratelim_proxy_tbf_call()
161 pthread_mutex_unlock(&lim->g.lock); in mcplib_ratelim_proxy_tbf_call()
Dproxy_config.c106 struct mcp_globalobj_s *g; in _proxy_manager_thread() local
107 STAILQ_FOREACH(g, &head, next) { in _proxy_manager_thread()
109 pthread_mutex_lock(&g->lock); in _proxy_manager_thread()
110 assert(g->self_ref != -1); in _proxy_manager_thread()
112 if (g->self_ref < -1) { in _proxy_manager_thread()
113 g->refcount--; in _proxy_manager_thread()
114 g->self_ref = -g->self_ref; in _proxy_manager_thread()
116 assert(g->self_ref > 0 || g->refcount == 0); in _proxy_manager_thread()
117 if (g->refcount == 0) { in _proxy_manager_thread()
119 g->self_ref = -1; in _proxy_manager_thread()
[all …]
Dsasl_defs.h20 #define sasl_server_new(a, b, c, d, e, f, g, h) 1 argument
21 #define sasl_listmech(a, b, c, d, e, f, g, h) 1 argument
Dproto_proxy.c1407 pthread_mutex_lock(&g->lock); in mcp_gobj_ref()
1408 if (g->self_ref == 0) { in mcp_gobj_ref()
1420 g->refcount++; in mcp_gobj_ref()
1422 mcp_gobj_enqueue(ctx, g); in mcp_gobj_ref()
1426 g->refcount++; in mcp_gobj_ref()
1427 pthread_mutex_unlock(&g->lock); in mcp_gobj_ref()
1431 pthread_mutex_lock(&g->lock); in mcp_gobj_unref()
1432 g->refcount--; in mcp_gobj_unref()
1433 if (g->refcount == 0) { in mcp_gobj_unref()
1434 mcp_gobj_enqueue(ctx, g); in mcp_gobj_unref()
[all …]
Dversion.sh3 if git describe | sed s/-/_/g > version.num.tmp
Dproxy.h579 struct mcp_globalobj_s g; member
599 void mcp_gobj_ref(lua_State *L, struct mcp_globalobj_s *g);
600 void mcp_gobj_unref(proxy_ctx_t *ctx, struct mcp_globalobj_s *g);
601 void mcp_gobj_finalize(struct mcp_globalobj_s *g);
Dmemcached.spec.in101 …sed -e 's/^##safer##//g' -i %{buildroot}%{_unitdir}/%{name}.service %{buildroot}%{_unitdir}/%{name…
103 …sed -e 's/^##safer##/#/g' -i %{buildroot}%{_unitdir}/%{name}.service %{buildroot}%{_unitdir}/%{nam…
Dproxy_lua.c623 mcp_gobj_finalize(&p->g); in mcplib_pool_gc()
824 pthread_mutex_init(&p->g.lock, NULL); in mcplib_pool()
957 pthread_mutex_lock(&p->g.lock); in mcplib_pool_proxy_gc()
958 p->g.refcount--; in mcplib_pool_proxy_gc()
959 if (p->g.refcount == 0) { in mcplib_pool_proxy_gc()
962 STAILQ_INSERT_TAIL(&ctx->manager_head, &p->g, next); in mcplib_pool_proxy_gc()
966 pthread_mutex_unlock(&p->g.lock); in mcplib_pool_proxy_gc()
Dslabs.c371 slabclass_t *g = &slabclass[SLAB_GLOBAL_PAGE_POOL]; in do_slabs_newslab() local
378 && g->slabs == 0)) { in do_slabs_newslab()
DDoxyfile224 # definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
259 # subgroup of that type (e.g. under the Public Functions section). Set it to
830 # reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
/memcached-1.6.32/t/
Dserver_key.pem4 rHyITFTcsLEGgn4N06YtUODNawvDdMSWjK+HNNc71zNg4xaZAQZek3eLasM/zp/g
/memcached-1.6.32/scripts/
Dmemcached.service47 # e.g. RHEL7/CentOS 7. The below settings are automatically edited at package
D[email protected]52 # e.g. RHEL7/CentOS 7. The below settings are automatically edited at package
/memcached-1.6.32/m4/
Dc99-backport.m4158 # Check whether the C compiler accepts features of STANDARD (e.g `c89', `c99')
/memcached-1.6.32/doc/
Dtls.txt139 additional TLS specific tests. The minimum required OpenSSL version is 1.1.0g.
Dprotocol.txt1749 | conn_mwrite | Writing a complex response, e.g., to a "get" command. |
1756 | conn_swallow | Discarding excess input, e.g., after an error has |
1812 same time (which could e.g. cause a spike in database load with all
1816 The delay option allows you to have them reset in e.g. 10 second
DDoxyfile199 # definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
219 # subgroup of that type (e.g. under the Public Functions section). Set it to
Dprotocol-binary.txt1723 Haakon VII g. 7B