Home
last modified time | relevance | path

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

12

/third_party/grpc/src/core/lib/iomgr/
Dresource_quota.h87 typedef struct grpc_resource_user grpc_resource_user; typedef
89 grpc_resource_user* grpc_resource_user_create(
95 grpc_resource_user* resource_user);
97 void grpc_resource_user_ref(grpc_resource_user* resource_user);
98 void grpc_resource_user_unref(grpc_resource_user* resource_user);
99 void grpc_resource_user_shutdown(grpc_resource_user* resource_user);
104 bool grpc_resource_user_allocate_threads(grpc_resource_user* resource_user,
114 void grpc_resource_user_free_threads(grpc_resource_user* resource_user,
121 bool grpc_resource_user_safe_alloc(grpc_resource_user* resource_user,
133 bool grpc_resource_user_alloc(grpc_resource_user* resource_user, size_t size,
[all …]
Dresource_quota.cc46 grpc_resource_user* next;
47 grpc_resource_user* prev;
65 struct grpc_resource_user { struct
182 grpc_resource_user* debug_only_last_reclaimer_resource_user;
185 grpc_resource_user* roots[GRPC_RULIST_COUNT];
190 static void ru_unref_by(grpc_resource_user* resource_user, gpr_atm amount);
196 static void rulist_add_head(grpc_resource_user* resource_user, in rulist_add_head()
199 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_add_head()
213 static void rulist_add_tail(grpc_resource_user* resource_user, in rulist_add_tail()
216 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_add_tail()
[all …]
Dendpoint.h49 grpc_resource_user* (*get_resource_user)(grpc_endpoint* ep);
102 grpc_resource_user* grpc_endpoint_get_resource_user(grpc_endpoint* ep);
Dendpoint.cc65 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;
337 static grpc_resource_user* endpoint_get_resource_user(grpc_endpoint* ep) { in endpoint_get_resource_user()
Dendpoint_cfstream.cc62 grpc_resource_user* resource_user;
311 grpc_resource_user* CFStreamGetResourceUser(grpc_endpoint* ep) { in CFStreamGetResourceUser()
Dtcp_windows.cc120 grpc_resource_user* resource_user;
489 static grpc_resource_user* win_get_resource_user(grpc_endpoint* ep) { in win_get_resource_user()
Dtcp_posix.cc395 grpc_resource_user* resource_user;
1661 static grpc_resource_user* tcp_get_resource_user(grpc_endpoint* ep) { in tcp_get_resource_user()
/third_party/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()
88 static void destroy_user(grpc_resource_user* usr) { in destroy_user()
110 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_resource_user_no_op()
120 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_instant_alloc_then_free()
138 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_instant_alloc_free_pair()
153 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_simple_async_alloc()
182 grpc_resource_user* usr = grpc_resource_user_create(q, "usr"); in test_async_alloc_blocked_by_size()
207 grpc_resource_user* usr1 = grpc_resource_user_create(q, "usr1"); in test_scavenge()
208 grpc_resource_user* usr2 = grpc_resource_user_create(q, "usr2"); in test_scavenge()
[all …]
/third_party/grpc/src/core/lib/channel/
Dchannel_stack_builder.h59 grpc_channel_stack_builder* builder, grpc_resource_user* resource_user);
62 grpc_resource_user* grpc_channel_stack_builder_get_resource_user(
Dchannel_stack_builder.cc43 grpc_resource_user* resource_user;
178 grpc_channel_stack_builder* builder, grpc_resource_user* resource_user) { in grpc_channel_stack_builder_set_resource_user()
183 grpc_resource_user* grpc_channel_stack_builder_get_resource_user( in grpc_channel_stack_builder_get_resource_user()
/third_party/grpc/
Dlibgrpc.map152 "grpc_resource_user_allocate_threads(grpc_resource_user*, int)";
153 "grpc_resource_user_free_threads(grpc_resource_user*, int)";
155 "grpc_resource_user_unref(grpc_resource_user*)";
/third_party/grpc/src/core/lib/surface/
Dchannel.h37 grpc_resource_user* resource_user = nullptr,
109 grpc_resource_user* resource_user;
Dserver.h96 grpc_resource_user* default_resource_user() const { in default_resource_user()
131 grpc_resource_user* resource_user = nullptr);
360 grpc_resource_user* default_resource_user_ = nullptr;
Dchannel.cc65 grpc_resource_user* resource_user = in grpc_channel_create_with_builder()
227 grpc_resource_user* resource_user, in grpc_channel_create()
Dserver.cc504 grpc_resource_user* CreateDefaultResourceUser(const grpc_channel_args* args) { in CreateDefaultResourceUser()
604 grpc_resource_user* resource_user) { in SetupTransport()
/third_party/grpc/test/core/util/
Dmock_endpoint.cc44 grpc_resource_user* resource_user;
105 static grpc_resource_user* me_get_resource_user(grpc_endpoint* ep) { in me_get_resource_user()
Dpassthru_endpoint.cc48 grpc_resource_user* resource_user;
166 static grpc_resource_user* me_get_resource_user(grpc_endpoint* ep) { in me_get_resource_user()
Dtrickle_endpoint.cc120 static grpc_resource_user* te_get_resource_user(grpc_endpoint* ep) { in te_get_resource_user()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.h39 grpc_resource_user* resource_user = nullptr);
Dinternal.h291 grpc_resource_user* resource_user);
299 grpc_resource_user* resource_user;
/third_party/grpc/src/cpp/thread_manager/
Dthread_manager.h157 grpc_resource_user* resource_user_;
/third_party/grpc/src/core/ext/transport/chttp2/server/
Dchttp2_server.cc249 grpc_resource_user* resource_user = in OnHandshakeDone()
453 grpc_resource_user* resource_user = server_->default_resource_user(); in CreateHandshakeManager()
/third_party/grpc/test/cpp/microbenchmarks/
Dbm_chttp2_transport.cc76 grpc_resource_user* ru_;
124 static grpc_resource_user* get_resource_user(grpc_endpoint* ep) { in get_resource_user()
/third_party/grpc/src/core/lib/security/transport/
Dsecure_endpoint.cc419 static grpc_resource_user* endpoint_get_resource_user( in endpoint_get_resource_user()

12