Home
last modified time | relevance | path

Searched refs:resource_quota (Results 1 – 25 of 92) sorted by relevance

1234

/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dresource_quota.cc67 grpc_resource_quota* resource_quota; member
198 grpc_resource_quota* resource_quota = resource_user->resource_quota; in rulist_add_head() local
199 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_add_head()
215 grpc_resource_quota* resource_quota = resource_user->resource_quota; in rulist_add_tail() local
216 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_add_tail()
229 static bool rulist_empty(grpc_resource_quota* resource_quota, in rulist_empty() argument
231 return resource_quota->roots[list] == nullptr; in rulist_empty()
234 static grpc_resource_user* rulist_pop_head(grpc_resource_quota* resource_quota, in rulist_pop_head() argument
236 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_pop_head()
256 grpc_resource_quota* resource_quota = resource_user->resource_quota; in rulist_remove() local
[all …]
Dtcp_client_custom.cc46 grpc_resource_quota* resource_quota; member
51 grpc_resource_quota_unref_internal(connect->resource_quota); in custom_tcp_connect_cleanup()
91 socket, connect->resource_quota, connect->addr_name.c_str()); in custom_connect_callback_internal()
122 grpc_resource_quota* resource_quota = grpc_resource_quota_create(nullptr); in tcp_connect() local
126 grpc_resource_quota_unref_internal(resource_quota); in tcp_connect()
127 resource_quota = in tcp_connect()
141 connect->resource_quota = resource_quota; in tcp_connect()
Dresource_quota.h74 grpc_resource_quota* resource_quota);
75 void grpc_resource_quota_unref_internal(grpc_resource_quota* resource_quota);
83 grpc_resource_quota* resource_quota);
85 size_t grpc_resource_quota_peek_size(grpc_resource_quota* resource_quota);
90 grpc_resource_quota* resource_quota, const char* name);
Dtcp_client_cfstream.cc69 grpc_resource_quota* resource_quota; member
73 grpc_resource_quota_unref_internal(connect->resource_quota); in CFStreamConnectCleanup()
133 connect->addr_name.c_str(), connect->resource_quota, in OnOpen()
174 grpc_resource_quota* resource_quota = grpc_resource_quota_create(NULL); in CFStreamClientConnect() local
178 grpc_resource_quota_unref_internal(resource_quota); in CFStreamClientConnect()
179 resource_quota = grpc_resource_quota_ref_internal( in CFStreamClientConnect()
184 connect->resource_quota = resource_quota; in CFStreamClientConnect()
Dtcp_server_custom.cc80 grpc_resource_quota* resource_quota; member
90 s->resource_quota = grpc_resource_quota_create(nullptr); in tcp_server_create()
97 grpc_resource_quota_unref_internal(s->resource_quota); in tcp_server_create()
98 s->resource_quota = grpc_resource_quota_ref_internal( in tcp_server_create()
101 grpc_resource_quota_unref_internal(s->resource_quota); in tcp_server_create()
147 grpc_resource_quota_unref_internal(s->resource_quota); in finish_shutdown()
238 ep = custom_tcp_endpoint_create(socket, sp->server->resource_quota, in finish_accept()
/external/grpc-grpc/src/core/lib/iomgr/
Dresource_quota.cc64 grpc_resource_quota* resource_quota; member
191 grpc_resource_quota* resource_quota = resource_user->resource_quota; in rulist_add_head() local
192 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_add_head()
208 grpc_resource_quota* resource_quota = resource_user->resource_quota; in rulist_add_tail() local
209 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_add_tail()
222 static bool rulist_empty(grpc_resource_quota* resource_quota, in rulist_empty() argument
224 return resource_quota->roots[list] == nullptr; in rulist_empty()
227 static grpc_resource_user* rulist_pop_head(grpc_resource_quota* resource_quota, in rulist_pop_head() argument
229 grpc_resource_user** root = &resource_quota->roots[list]; in rulist_pop_head()
249 grpc_resource_quota* resource_quota = resource_user->resource_quota; in rulist_remove() local
[all …]
Dtcp_client_custom.cc46 grpc_resource_quota* resource_quota; member
51 grpc_resource_quota_unref_internal(connect->resource_quota); in custom_tcp_connect_cleanup()
93 socket, connect->resource_quota, connect->addr_name); in custom_connect_callback()
112 grpc_resource_quota* resource_quota = grpc_resource_quota_create(nullptr); in tcp_connect() local
116 grpc_resource_quota_unref_internal(resource_quota); in tcp_connect()
117 resource_quota = grpc_resource_quota_ref_internal( in tcp_connect()
131 connect->resource_quota = resource_quota; in tcp_connect()
Dresource_quota.h69 grpc_resource_quota* resource_quota);
70 void grpc_resource_quota_unref_internal(grpc_resource_quota* resource_quota);
78 grpc_resource_quota* resource_quota);
80 size_t grpc_resource_quota_peek_size(grpc_resource_quota* resource_quota);
85 grpc_resource_quota* resource_quota, const char* name);
Dtcp_client_cfstream.cc69 grpc_resource_quota* resource_quota; member
73 grpc_resource_quota_unref_internal(connect->resource_quota); in CFStreamConnectCleanup()
134 connect->resource_quota, connect->stream_handle); in OnOpen()
177 grpc_resource_quota* resource_quota = grpc_resource_quota_create(NULL); in CFStreamClientConnect() local
181 grpc_resource_quota_unref_internal(resource_quota); in CFStreamClientConnect()
182 resource_quota = grpc_resource_quota_ref_internal( in CFStreamClientConnect()
187 connect->resource_quota = resource_quota; in CFStreamClientConnect()
Dtcp_server_custom.cc76 grpc_resource_quota* resource_quota; member
83 s->resource_quota = grpc_resource_quota_create(nullptr); in tcp_server_create()
87 grpc_resource_quota_unref_internal(s->resource_quota); in tcp_server_create()
88 s->resource_quota = grpc_resource_quota_ref_internal( in tcp_server_create()
91 grpc_resource_quota_unref_internal(s->resource_quota); in tcp_server_create()
136 grpc_resource_quota_unref_internal(s->resource_quota); in finish_shutdown()
231 ep = custom_tcp_endpoint_create(socket, sp->server->resource_quota, in finish_accept()
/external/grpc-grpc/test/core/util/
Dport_server_client.cc87 grpc_resource_quota* resource_quota = in grpc_free_port_using_server() local
89 grpc_httpcli_get(&context, &pr.pops, resource_quota, &req, in grpc_free_port_using_server()
94 grpc_resource_quota_unref_internal(resource_quota); in grpc_free_port_using_server()
171 grpc_resource_quota* resource_quota = in got_port_from_server() local
173 grpc_httpcli_get(pr->ctx, &pr->pops, resource_quota, &req, in got_port_from_server()
178 grpc_resource_quota_unref_internal(resource_quota); in got_port_from_server()
221 grpc_resource_quota* resource_quota = in grpc_pick_port_using_server() local
223 grpc_httpcli_get(&context, &pr.pops, resource_quota, &req, in grpc_pick_port_using_server()
228 grpc_resource_quota_unref_internal(resource_quota); in grpc_pick_port_using_server()
Dpassthru_endpoint.cc177 grpc_resource_quota* resource_quota, in half_init() argument
186 m->resource_user = grpc_resource_user_create(resource_quota, name); in half_init()
192 grpc_resource_quota* resource_quota, in grpc_passthru_endpoint_create() argument
204 half_init(&m->client, m, resource_quota, "client"); in grpc_passthru_endpoint_create()
205 half_init(&m->server, m, resource_quota, "server"); in grpc_passthru_endpoint_create()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/http/
Dhttpcli.cc66 grpc_resource_quota* resource_quota; member
109 grpc_resource_quota_unref_internal(req->resource_quota); in finish()
212 const_cast<char*>(GRPC_ARG_RESOURCE_QUOTA), req->resource_quota, in next_address()
231 grpc_resource_quota* resource_quota, in internal_request_begin() argument
249 req->resource_quota = grpc_resource_quota_ref_internal(resource_quota); in internal_request_begin()
270 grpc_resource_quota* resource_quota, in grpc_httpcli_get() argument
278 internal_request_begin(context, pollent, resource_quota, request, deadline, in grpc_httpcli_get()
285 grpc_resource_quota* resource_quota, in grpc_httpcli_post() argument
297 context, pollent, resource_quota, request, deadline, on_done, response, in grpc_httpcli_post()
/external/grpc-grpc/src/core/lib/http/
Dhttpcli.cc61 grpc_resource_quota* resource_quota; member
105 grpc_resource_quota_unref_internal(req->resource_quota); in finish()
209 (char*)GRPC_ARG_RESOURCE_QUOTA, req->resource_quota, in next_address()
228 grpc_resource_quota* resource_quota, in internal_request_begin() argument
245 req->resource_quota = grpc_resource_quota_ref_internal(resource_quota); in internal_request_begin()
266 grpc_resource_quota* resource_quota, in grpc_httpcli_get() argument
274 internal_request_begin(context, pollent, resource_quota, request, deadline, in grpc_httpcli_get()
282 grpc_resource_quota* resource_quota, in grpc_httpcli_post() argument
294 context, pollent, resource_quota, request, deadline, on_done, response, in grpc_httpcli_post()
/external/grpc-grpc/test/core/http/
Dhttpcli_test.cc81 grpc_resource_quota* resource_quota = grpc_resource_quota_create("test_get"); in test_get() local
83 &g_context, &g_pops, resource_quota, &req, n_seconds_time(15), in test_get()
86 grpc_resource_quota_unref_internal(resource_quota); in test_get()
120 grpc_resource_quota* resource_quota = grpc_resource_quota_create("test_post"); in test_post() local
122 &g_context, &g_pops, resource_quota, &req, "hello", 5, n_seconds_time(15), in test_post()
125 grpc_resource_quota_unref_internal(resource_quota); in test_post()
Dhttpscli_test.cc84 grpc_resource_quota* resource_quota = grpc_resource_quota_create("test_get"); in test_get() local
86 &g_context, &g_pops, resource_quota, &req, n_seconds_time(15), in test_get()
89 grpc_resource_quota_unref_internal(resource_quota); in test_get()
124 grpc_resource_quota* resource_quota = grpc_resource_quota_create("test_post"); in test_post() local
126 &g_context, &g_pops, resource_quota, &req, "hello", 5, n_seconds_time(15), in test_post()
129 grpc_resource_quota_unref_internal(resource_quota); in test_post()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/external/
Daws_external_account_credentials.cc166 grpc_resource_quota* resource_quota = in RetrieveRegion() local
171 grpc_httpcli_get(ctx_->httpcli_context, ctx_->pollent, resource_quota, in RetrieveRegion()
173 grpc_resource_quota_unref_internal(resource_quota); in RetrieveRegion()
216 grpc_resource_quota* resource_quota = in RetrieveRoleName() local
221 grpc_httpcli_get(ctx_->httpcli_context, ctx_->pollent, resource_quota, in RetrieveRoleName()
223 grpc_resource_quota_unref_internal(resource_quota); in RetrieveRoleName()
279 grpc_resource_quota* resource_quota = in RetrieveSigningKeys() local
284 grpc_httpcli_get(ctx_->httpcli_context, ctx_->pollent, resource_quota, in RetrieveSigningKeys()
286 grpc_resource_quota_unref_internal(resource_quota); in RetrieveSigningKeys()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dssl_server_fuzzer.cc62 grpc_resource_quota* resource_quota = in LLVMFuzzerTestOneInput() local
65 grpc_mock_endpoint_create(discard_write, resource_quota); in LLVMFuzzerTestOneInput()
66 grpc_resource_quota_unref_internal(resource_quota); in LLVMFuzzerTestOneInput()
/external/grpc-grpc/test/core/security/
Dssl_server_fuzzer.cc61 grpc_resource_quota* resource_quota = in LLVMFuzzerTestOneInput() local
64 grpc_mock_endpoint_create(discard_write, resource_quota); in LLVMFuzzerTestOneInput()
65 grpc_resource_quota_unref_internal(resource_quota); in LLVMFuzzerTestOneInput()
/external/grpc-grpc/test/core/iomgr/
Dfd_conservation_posix_test.cc42 grpc_resource_quota* resource_quota = in main() local
52 grpc_resource_quota_unref(resource_quota); in main()
/external/grpc-grpc/test/core/end2end/fuzzers/
Dserver_fuzzer.cc48 grpc_resource_quota* resource_quota = in LLVMFuzzerTestOneInput() local
51 grpc_mock_endpoint_create(discard_write, resource_quota); in LLVMFuzzerTestOneInput()
52 grpc_resource_quota_unref_internal(resource_quota); in LLVMFuzzerTestOneInput()
/external/grpc-grpc/include/grpc/
Dgrpc.h467 GRPCAPI void grpc_resource_quota_ref(grpc_resource_quota* resource_quota);
470 GRPCAPI void grpc_resource_quota_unref(grpc_resource_quota* resource_quota);
473 GRPCAPI void grpc_resource_quota_resize(grpc_resource_quota* resource_quota,
478 grpc_resource_quota* resource_quota, int new_max_threads);
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc397 grpc_resource_quota* resource_quota = in fetch_oauth2() local
399 grpc_httpcli_get(http_context, pollent, resource_quota, &request, deadline, in fetch_oauth2()
403 grpc_resource_quota_unref_internal(resource_quota); in fetch_oauth2()
457 grpc_resource_quota* resource_quota = in fetch_oauth2() local
459 grpc_httpcli_post(httpcli_context, pollent, resource_quota, &request, in fetch_oauth2()
464 grpc_resource_quota_unref_internal(resource_quota); in fetch_oauth2()
589 grpc_resource_quota* resource_quota = in fetch_oauth2() local
592 http_context, pollent, resource_quota, &request, body, body_length, in fetch_oauth2()
597 grpc_resource_quota_unref_internal(resource_quota); in fetch_oauth2()
/external/rust/crates/grpcio-sys/grpc/include/grpc/
Dgrpc.h485 GRPCAPI void grpc_resource_quota_ref(grpc_resource_quota* resource_quota);
488 GRPCAPI void grpc_resource_quota_unref(grpc_resource_quota* resource_quota);
491 GRPCAPI void grpc_resource_quota_resize(grpc_resource_quota* resource_quota,
496 grpc_resource_quota* resource_quota, int new_max_threads);
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/
Dgrpc.h485 GRPCAPI void grpc_resource_quota_ref(grpc_resource_quota* resource_quota);
488 GRPCAPI void grpc_resource_quota_unref(grpc_resource_quota* resource_quota);
491 GRPCAPI void grpc_resource_quota_resize(grpc_resource_quota* resource_quota,
496 grpc_resource_quota* resource_quota, int new_max_threads);

1234