Home
last modified time | relevance | path

Searched refs:grpc_resource_user (Results 1 – 15 of 15) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dresource_quota.h82 typedef struct grpc_resource_user grpc_resource_user; typedef
84 grpc_resource_user* grpc_resource_user_create(
90 grpc_resource_user* resource_user);
92 void grpc_resource_user_ref(grpc_resource_user* resource_user);
93 void grpc_resource_user_unref(grpc_resource_user* resource_user);
94 void grpc_resource_user_shutdown(grpc_resource_user* resource_user);
99 bool grpc_resource_user_allocate_threads(grpc_resource_user* resource_user,
109 void grpc_resource_user_free_threads(grpc_resource_user* resource_user,
117 void grpc_resource_user_alloc(grpc_resource_user* resource_user, size_t size,
120 void grpc_resource_user_free(grpc_resource_user* resource_user, size_t size);
[all …]
Dresource_quota.cc42 grpc_resource_user* next;
43 grpc_resource_user* prev;
62 struct grpc_resource_user { struct
175 grpc_resource_user* debug_only_last_reclaimer_resource_user;
178 grpc_resource_user* roots[GRPC_RULIST_COUNT];
183 static void ru_unref_by(grpc_resource_user* resource_user, gpr_atm amount);
189 static void rulist_add_head(grpc_resource_user* resource_user, in rulist_add_head()
192 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_add_head()
206 static void rulist_add_tail(grpc_resource_user* resource_user, in rulist_add_tail()
209 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_add_tail()
[all …]
Dendpoint.h47 grpc_resource_user* (*get_resource_user)(grpc_endpoint* ep);
96 grpc_resource_user* grpc_endpoint_get_resource_user(grpc_endpoint* endpoint);
Dendpoint.cc61 grpc_resource_user* grpc_endpoint_get_resource_user(grpc_endpoint* ep) { in grpc_endpoint_get_resource_user()
Dtcp_custom.cc67 grpc_resource_user* resource_user;
322 static grpc_resource_user* endpoint_get_resource_user(grpc_endpoint* ep) { in endpoint_get_resource_user()
Dendpoint_cfstream.cc59 grpc_resource_user* resource_user;
306 grpc_resource_user* CFStreamGetResourceUser(grpc_endpoint* ep) { in CFStreamGetResourceUser()
Dtcp_windows.cc119 grpc_resource_user* resource_user;
423 static grpc_resource_user* win_get_resource_user(grpc_endpoint* ep) { in win_get_resource_user()
Dtcp_posix.cc107 grpc_resource_user* resource_user;
988 static grpc_resource_user* tcp_get_resource_user(grpc_endpoint* ep) { in tcp_get_resource_user()
/external/grpc-grpc/test/core/iomgr/
Dresource_quota_test.cc56 grpc_resource_user* resource_user;
69 grpc_closure* make_reclaimer(grpc_resource_user* resource_user, size_t size, in make_reclaimer()
87 static void destroy_user(grpc_resource_user* usr) { in destroy_user()
109 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_resource_user_no_op()
119 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_instant_alloc_then_free()
137 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_instant_alloc_free_pair()
152 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_simple_async_alloc()
175 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_async_alloc_blocked_by_size()
201 grpc_resource_user* usr1 = grpc_resource_user_create(q, "usr1"); in test_scavenge()
202 grpc_resource_user* usr2 = grpc_resource_user_create(q, "usr2"); in test_scavenge()
[all …]
/external/grpc-grpc/test/core/util/
Dmock_endpoint.cc40 grpc_resource_user* resource_user;
99 static grpc_resource_user* me_get_resource_user(grpc_endpoint* ep) { in me_get_resource_user()
Dpassthru_endpoint.cc44 grpc_resource_user* resource_user;
158 static grpc_resource_user* me_get_resource_user(grpc_endpoint* ep) { in me_get_resource_user()
Dtrickle_endpoint.cc119 static grpc_resource_user* te_get_resource_user(grpc_endpoint* ep) { in te_get_resource_user()
/external/grpc-grpc/src/cpp/thread_manager/
Dthread_manager.h154 grpc_resource_user* resource_user_;
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_chttp2_transport.cc75 grpc_resource_user* ru_;
123 static grpc_resource_user* get_resource_user(grpc_endpoint* ep) { in get_resource_user()
/external/grpc-grpc/src/core/lib/security/transport/
Dsecure_endpoint.cc386 static grpc_resource_user* endpoint_get_resource_user( in endpoint_get_resource_user()