Home
last modified time | relevance | path

Searched refs:gpr_atm_no_barrier_fetch_add (Results 1 – 25 of 27) 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/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/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()
Dchannelz.cc65 gpr_atm_no_barrier_fetch_add(&calls_started_, (gpr_atm)1); in RecordCallStarted()
/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/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/grpc-grpc/test/core/util/
Dmemory_counters.cc40 #define NO_BARRIER_FETCH_ADD(x, sz) gpr_atm_no_barrier_fetch_add(x, sz)
Dpassthru_endpoint.cc83 gpr_atm_no_barrier_fetch_add(&m->parent->stats->num_writes, (gpr_atm)1); in me_write()
/external/grpc-grpc/src/core/lib/surface/
Dcompletion_queue.cc430 return gpr_atm_no_barrier_fetch_add(&q->num_queue_items, 1) == 0; in cq_event_queue_push()
452 gpr_atm_no_barrier_fetch_add(&q->num_queue_items, -1); in cq_event_queue_pop()
713 gpr_atm_no_barrier_fetch_add(&cqd->things_queued_ever, 1);
791 gpr_atm_no_barrier_fetch_add(&cqd->things_queued_ever, 1);
853 gpr_atm_no_barrier_fetch_add(&cqd->things_queued_ever, 1);
/external/grpc-grpc/src/core/lib/gprpp/
Dfork.cc78 void DecExecCtxCount() { gpr_atm_no_barrier_fetch_add(&count_, -1); } in DecExecCtxCount()
/external/grpc-grpc/src/core/lib/iomgr/
Dev_epollsig_linux.cc317 gpr_atm_no_barrier_fetch_add(&pi->ref_count, 1); in pi_add_ref()
747 GPR_ASSERT(gpr_atm_no_barrier_fetch_add(&fd->refst, n) > 0);
1212 gpr_atm_no_barrier_fetch_add(&pi->poller_count, 1);
1275 gpr_atm_no_barrier_fetch_add(&pi->poller_count, -1);
Dresource_quota.cc802 GPR_ASSERT(gpr_atm_no_barrier_fetch_add(&resource_user->refs, amount) != 0); in ru_ref_by()
840 gpr_atm_no_barrier_fetch_add(&resource_user->num_threads_allocated, in grpc_resource_user_allocate_threads()
854 int old_count = static_cast<int>(gpr_atm_no_barrier_fetch_add( in grpc_resource_user_free_threads()
Dev_epollex_linux.cc337 GPR_ASSERT(gpr_atm_no_barrier_fetch_add(&fd->refst, n) > 0);
434 new_fd->salt = gpr_atm_no_barrier_fetch_add(&g_fd_salt, 1);
1064 gpr_atm_no_barrier_fetch_add(&pollset->worker_count, 1);
1145 gpr_atm_no_barrier_fetch_add(&pollset->worker_count, -1);
Dtcp_posix.cc199 gpr_atm_no_barrier_fetch_add(&g_uncovered_notifications_pending, -1); in drop_uncovered()
210 gpr_atm_no_barrier_fetch_add(&g_uncovered_notifications_pending, 2); in cover_self()
Dtcp_server_posix.cc232 sp->server->pollsets[static_cast<size_t>(gpr_atm_no_barrier_fetch_add( in on_read()
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dcompletion_queue.h358 gpr_atm_no_barrier_fetch_add(&avalanches_in_flight_, in RegisterAvalanching()
/external/grpc-grpc/src/core/ext/filters/max_age/
Dmax_age_filter.cc256 gpr_atm_no_barrier_fetch_add(&chand->call_count, 1); in close_max_idle_channel()
/external/grpc-grpc/test/cpp/end2end/
Dthread_stress_test.cc288 gpr_atm_no_barrier_fetch_add(errors, static_cast<gpr_atm>(1)); in SendRpc()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_fullstack_trickle.cc60 gpr_atm_no_barrier_fetch_add(&g_now_us, 100); in inc_time()

12