Home
last modified time | relevance | path

Searched refs:gpr_atm_no_barrier_fetch_add (Results 1 – 25 of 46) sorted by relevance

12

/external/grpc-grpc/src/core/lib/gpr/
Dsync.cc88 void gpr_ref(gpr_refcount* r) { gpr_atm_no_barrier_fetch_add(&r->count, 1); } in gpr_ref()
92 gpr_atm prior = gpr_atm_no_barrier_fetch_add(&r->count, 1); in gpr_ref_non_zero()
100 gpr_atm_no_barrier_fetch_add(&r->count, n); in gpr_refn()
118 gpr_atm_no_barrier_fetch_add(&c->value, inc); in gpr_stats_inc()
Darena.cc124 size_t begin = gpr_atm_no_barrier_fetch_add(&arena->total_used, size); in gpr_arena_alloc()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dsync.cc88 void gpr_ref(gpr_refcount* r) { gpr_atm_no_barrier_fetch_add(&r->count, 1); } in gpr_ref()
92 gpr_atm prior = gpr_atm_no_barrier_fetch_add(&r->count, 1); in gpr_ref_non_zero()
100 gpr_atm_no_barrier_fetch_add(&r->count, n); in gpr_refn()
118 gpr_atm_no_barrier_fetch_add(&c->value, inc); in gpr_stats_inc()
/external/grpc-grpc/test/cpp/thread_manager/
Dthread_manager_test.cc85 int call_num = gpr_atm_no_barrier_fetch_add(&num_poll_for_work_, 1); in PollForWork()
101 gpr_atm_no_barrier_fetch_add(&num_work_found_, 1); in PollForWork()
106 gpr_atm_no_barrier_fetch_add(&num_do_work_, 1); in DoWork()
/external/grpc-grpc/src/core/lib/debug/
Dstats.h42 (gpr_atm_no_barrier_fetch_add(&GRPC_THREAD_STATS_DATA()->counters[(ctr)], 1))
45 (gpr_atm_no_barrier_fetch_add( \
/external/rust/crates/grpcio-sys/grpc/src/core/lib/debug/
Dstats.h44 (gpr_atm_no_barrier_fetch_add(&GRPC_THREAD_STATS_DATA()->counters[(ctr)], 1))
47 (gpr_atm_no_barrier_fetch_add( \
/external/grpc-grpc/src/core/lib/transport/
Dmetadata.cc165 if (0 == gpr_atm_no_barrier_fetch_add(&md->refcnt, 1)) { in ref_md_locked()
166 gpr_atm_no_barrier_fetch_add(&shard->free_estimate, -1); in ref_md_locked()
199 gpr_atm_no_barrier_fetch_add(&shard->free_estimate, -num_freed); in gc_mdtab()
370 gpr_atm_no_barrier_fetch_add(&md->refcnt, 1); in grpc_mdelem_ref()
392 gpr_atm_no_barrier_fetch_add(&md->refcnt, 1); in grpc_mdelem_ref()
427 gpr_atm_no_barrier_fetch_add(&shard->free_estimate, 1); in grpc_mdelem_unref()
/external/grpc-grpc/src/core/lib/channel/
Dchannelz.h95 gpr_atm_no_barrier_fetch_add(&calls_failed_, (gpr_atm(1))); in RecordCallFailed()
98 gpr_atm_no_barrier_fetch_add(&calls_succeeded_, (gpr_atm(1))); in RecordCallSucceeded()
/external/grpc-grpc/src/cpp/common/
Dcompletion_queue_cc.cc47 if (gpr_atm_no_barrier_fetch_add(&avalanches_in_flight_, in CompleteAvalanching()
/external/grpc-grpc/include/grpc/impl/codegen/
Datm_gcc_sync.h66 #define gpr_atm_no_barrier_fetch_add(p, delta) \ macro
Datm_gcc_atomic.h57 #define gpr_atm_no_barrier_fetch_add(p, delta) \ macro
Datm_windows.h94 static __inline gpr_atm gpr_atm_no_barrier_fetch_add(gpr_atm* p, in gpr_atm_no_barrier_fetch_add() function
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/
Datm_gcc_sync.h68 #define gpr_atm_no_barrier_fetch_add(p, delta) \ macro
Datm_gcc_atomic.h57 #define gpr_atm_no_barrier_fetch_add(p, delta) \ macro
Datm_windows.h98 static __inline gpr_atm gpr_atm_no_barrier_fetch_add(gpr_atm* p, in gpr_atm_no_barrier_fetch_add() function
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/
Datm_gcc_sync.h68 #define gpr_atm_no_barrier_fetch_add(p, delta) \ macro
Datm_gcc_atomic.h57 #define gpr_atm_no_barrier_fetch_add(p, delta) \ macro
Datm_windows.h98 static __inline gpr_atm gpr_atm_no_barrier_fetch_add(gpr_atm* p, in gpr_atm_no_barrier_fetch_add() function
/external/grpc-grpc/test/core/util/
Dmemory_counters.cc40 #define NO_BARRIER_FETCH_ADD(x, sz) gpr_atm_no_barrier_fetch_add(x, sz)
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dresource_quota.cc823 GPR_ASSERT(gpr_atm_no_barrier_fetch_add(&resource_user->refs, amount) != 0); in ru_ref_by()
860 gpr_atm_no_barrier_fetch_add(&resource_user->num_threads_allocated, in grpc_resource_user_allocate_threads()
874 int old_count = static_cast<int>(gpr_atm_no_barrier_fetch_add( in grpc_resource_user_free_threads()
938 gpr_atm_no_barrier_fetch_add(&resource_quota->used, size); in grpc_resource_user_alloc()
948 gpr_atm prior = gpr_atm_no_barrier_fetch_add(&resource_quota->used, -size); in grpc_resource_user_free()
/external/grpc-grpc/src/core/lib/slice/
Dslice_intern.cc76 GPR_ASSERT(gpr_atm_no_barrier_fetch_add(&s->refcnt, 1) > 0); in interned_slice_ref()
229 if (gpr_atm_no_barrier_fetch_add(&s->refcnt, 1) == 0) { in grpc_slice_intern()
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dcompletion_queue.h380 gpr_atm_no_barrier_fetch_add(&avalanches_in_flight_, in RegisterAvalanching()
384 if (gpr_atm_no_barrier_fetch_add(&avalanches_in_flight_, in CompleteAvalanching()
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dcompletion_queue.h380 gpr_atm_no_barrier_fetch_add(&avalanches_in_flight_, in RegisterAvalanching()
384 if (gpr_atm_no_barrier_fetch_add(&avalanches_in_flight_, in CompleteAvalanching()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dmetadata.cc302 gpr_atm_no_barrier_fetch_add(&shard->free_estimate, -1); in RefWithShardLocked()
314 gpr_atm_no_barrier_fetch_add(&shard->free_estimate, in gc_mdtab()
646 gpr_atm_no_barrier_fetch_add(&shard->free_estimate, 1); in note_disposed_interned_metadata()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dfork.cc88 void DecExecCtxCount() { gpr_atm_no_barrier_fetch_add(&count_, -1); } in DecExecCtxCount()

12