Home
last modified time | relevance | path

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

12

/external/rust/crates/grpcio-sys/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()
/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()
/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/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/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;
/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/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.h39 grpc_resource_user* resource_user = nullptr);
/external/grpc-grpc/src/cpp/thread_manager/
Dthread_manager.h154 grpc_resource_user* resource_user_;
/external/rust/crates/grpcio-sys/grpc/src/cpp/thread_manager/
Dthread_manager.h157 grpc_resource_user* resource_user_;
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/server/
Dchttp2_server.cc238 grpc_resource_user* resource_user = in OnHandshakeDone()
436 grpc_resource_user* resource_user = server_->default_resource_user(); in CreateHandshakeManager()

12