Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb_client_stats.cc31 gpr_atm_full_fetch_add(&num_calls_started_, (gpr_atm)1); in AddCallStarted()
36 gpr_atm_full_fetch_add(&num_calls_finished_, (gpr_atm)1); in AddCallFinished()
38 gpr_atm_full_fetch_add(&num_calls_finished_with_client_failed_to_send_, in AddCallFinished()
42 gpr_atm_full_fetch_add(&num_calls_finished_known_received_, (gpr_atm)1); in AddCallFinished()
48 gpr_atm_full_fetch_add(&num_calls_started_, (gpr_atm)1); in AddCallDroppedLocked()
49 gpr_atm_full_fetch_add(&num_calls_finished_, (gpr_atm)1); in AddCallDroppedLocked()
/external/grpc-grpc/include/grpc/impl/codegen/
Datm_gcc_sync.h67 gpr_atm_full_fetch_add((p), (delta))
68 #define gpr_atm_full_fetch_add(p, delta) (__sync_fetch_and_add((p), (delta))) macro
Datm_gcc_atomic.h60 #define gpr_atm_full_fetch_add(p, delta) \ macro
Datm_windows.h104 static __inline gpr_atm gpr_atm_full_fetch_add(gpr_atm* p, gpr_atm delta) { in gpr_atm_full_fetch_add() function
/external/grpc-grpc/src/core/lib/iomgr/
Dcombiner.cc99 gpr_atm old_state = gpr_atm_full_fetch_add(&lock->state, -STATE_UNORPHANED); in start_destroy()
162 gpr_atm last = gpr_atm_full_fetch_add(&lock->state, STATE_ELEM_COUNT_LOW_BIT); in combiner_exec()
286 gpr_atm_full_fetch_add(&lock->state, -STATE_ELEM_COUNT_LOW_BIT); in grpc_combiner_continue_exec_ctx()
342 gpr_atm_full_fetch_add(&lock->state, STATE_ELEM_COUNT_LOW_BIT); in combiner_finally_exec()
Diocp_windows.cc75 gpr_atm_full_fetch_add(&g_custom_events, -1); in grpc_iocp_work()
115 gpr_atm_full_fetch_add(&g_custom_events, 1); in grpc_iocp_kick()
Dcall_combiner.cc74 gpr_atm_full_fetch_add(&call_combiner->size, (gpr_atm)1)); in grpc_call_combiner_start()
109 gpr_atm_full_fetch_add(&call_combiner->size, (gpr_atm)-1)); in grpc_call_combiner_stop()
Dresource_quota.cc807 gpr_atm old = gpr_atm_full_fetch_add(&resource_user->refs, -amount); in ru_unref_by()
823 if (gpr_atm_full_fetch_add(&resource_user->shutdown, 1) == 0) { in grpc_resource_user_shutdown()
Dev_epollsig_linux.cc329 if (1 == gpr_atm_full_fetch_add(&pi->ref_count, -1)) { in pi_unref()
762 gpr_atm old = gpr_atm_full_fetch_add(&fd->refst, -n);
Dev_epollex_linux.cc393 gpr_atm old = gpr_atm_full_fetch_add(&fd->refst, -n);
Dev_poll_posix.cc396 gpr_atm old = gpr_atm_full_fetch_add(&fd->refst, -n);
/external/grpc-grpc/test/core/util/
Dport_isolated_runtime_environment.cc48 static_cast<int>(gpr_atm_full_fetch_add(&s_pick_counter, 1)); in grpc_pick_unused_port_or_die()
/external/grpc-grpc/src/core/lib/surface/
Dcompletion_queue.cc404 if (gpr_atm_full_fetch_add(&cqd->pending_events, -1) == 1) { in grpc_completion_queue_thread_local_cache_flush()
736 if (gpr_atm_full_fetch_add(&cqd->pending_events, -1) == 1) {
796 if (gpr_atm_full_fetch_add(&cqd->pending_events, -1) == 1) {
854 if (gpr_atm_full_fetch_add(&cqd->pending_events, -1) == 1) {
1099 if (gpr_atm_full_fetch_add(&cqd->pending_events, -1) == 1) {
1334 if (gpr_atm_full_fetch_add(&cqd->pending_events, -1) == 1) {
1368 if (gpr_atm_full_fetch_add(&cqd->pending_events, -1) == 1) {
/external/grpc-grpc/src/core/lib/gpr/
Dsync.cc104 gpr_atm prior = gpr_atm_full_fetch_add(&r->count, -1); in gpr_unref()
/external/grpc-grpc/src/core/ext/filters/max_age/
Dmax_age_filter.cc155 if (gpr_atm_full_fetch_add(&chand->call_count, 1) == 0) { in increase_call_count()
181 if (gpr_atm_full_fetch_add(&chand->call_count, -1) == 1) { in decrease_call_count()
/external/grpc-grpc/src/core/lib/transport/
Dmetadata.cc421 const gpr_atm prev_refcount = gpr_atm_full_fetch_add(&md->refcnt, -1); in grpc_mdelem_unref()
446 const gpr_atm prev_refcount = gpr_atm_full_fetch_add(&md->refcnt, -1); in grpc_mdelem_unref()
/external/grpc-grpc/src/core/lib/slice/
Dslice_intern.cc97 if (1 == gpr_atm_full_fetch_add(&s->refcnt, -1)) { in interned_slice_unref()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dsubchannel.cc205 gpr_atm old_val = barrier ? gpr_atm_full_fetch_add(&c->ref_pair, delta) in ref_mutate()