Home
last modified time | relevance | path

Searched refs:atomic_add (Results 1 – 25 of 168) sorted by relevance

1234567

/Linux-v6.1/drivers/md/
Ddm-cache-background-tracker.c137 atomic_add(delta, &b->pending_promotes); in update_stats()
141 atomic_add(delta, &b->pending_demotes); in update_stats()
145 atomic_add(delta, &b->pending_writebacks); in update_stats()
/Linux-v6.1/kernel/
Dprofile.c194 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
255 atomic_add(nr_hits, &prof_buffer[pc]); in do_profile_hits()
257 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in do_profile_hits()
321 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]); in do_profile_hits()
/Linux-v6.1/drivers/target/iscsi/
Discsi_target_device.c42 atomic_add(se_nacl->queue_depth - 1, &sess->max_cmd_sn); in iscsit_determine_maxcmdsn()
/Linux-v6.1/net/smc/
Dsmc_cdc.c42 atomic_add(diff, &cdcpend->conn->sndbuf_space); in smc_cdc_tx_handler()
261 atomic_add(diff, &conn->sndbuf_space); in smcd_cdc_msg_send()
337 atomic_add(diff_cons, &conn->peer_rmbe_space); in smc_cdc_msg_recv_action()
349 atomic_add(diff_prod, &conn->bytes_to_rcv); in smc_cdc_msg_recv_action()
/Linux-v6.1/drivers/md/bcache/
Dstats.c218 atomic_add(sectors, &dc->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed()
219 atomic_add(sectors, &c->accounting.collector.sectors_bypassed); in bch_mark_sectors_bypassed()
Dclosure.c91 atomic_add(CLOSURE_WAITING + 1, &cl->remaining); in closure_wait()
/Linux-v6.1/kernel/locking/
Dqrwlock.c44 atomic_add(_QR_BIAS, &lock->cnts); in queued_read_lock_slowpath()
Dqspinlock.c208 atomic_add(-_Q_PENDING_VAL + _Q_LOCKED_VAL, &lock->val); in clear_pending_set_locked()
/Linux-v6.1/net/atm/
Datm_misc.c37 atomic_add(skb->truesize-guess, in atm_alloc_charge()
/Linux-v6.1/arch/m68k/amiga/
Dchipram.c109 atomic_add(size, &chipavail); in amiga_chip_free()
/Linux-v6.1/drivers/leds/trigger/
Dledtrig-cpu.c82 atomic_add(is_active ? 1 : -1, &num_active_cpus); in ledtrig_cpu()
/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst85 * atomic_add() --> refcount_add()
/Linux-v6.1/tools/testing/selftests/bpf/
Dbench.h95 static inline void atomic_add(long *value, long n) in atomic_add() function
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c214 atomic_add(sub_pool->entry_size, &sub_pool->active_entries_count); in mlxsw_sp_counter_alloc()
215 atomic_add(sub_pool->entry_size, &pool->active_entries_count); in mlxsw_sp_counter_alloc()
/Linux-v6.1/net/rds/
Dib_send.c420 atomic_add(IB_SET_SEND_CREDITS(credits), &ic->i_credits); in rds_ib_send_add_credits()
436 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits); in rds_ib_advertise_credits()
733 atomic_add(nr_sig, &ic->i_signaled_sends); in rds_ib_xmit()
828 atomic_add(nr_sig, &ic->i_signaled_sends); in rds_ib_xmit_atomic()
984 atomic_add(nr_sig, &ic->i_signaled_sends); in rds_ib_xmit_rdma()
Dib_ring.c120 atomic_add(val, &ring->w_free_ctr); in rds_ib_ring_free()
/Linux-v6.1/drivers/video/fbdev/
Dudlfb.c657 atomic_add(bytes_sent, &dlfb->bytes_sent); in dlfb_handle_damage()
658 atomic_add(bytes_identical, &dlfb->bytes_identical); in dlfb_handle_damage()
659 atomic_add(width*height*2, &dlfb->bytes_rendered); in dlfb_handle_damage()
661 atomic_add(((unsigned int) ((end_cycles - start_cycles) in dlfb_handle_damage()
832 atomic_add(bytes_sent, &dlfb->bytes_sent); in dlfb_dpy_deferred_io()
833 atomic_add(bytes_identical, &dlfb->bytes_identical); in dlfb_dpy_deferred_io()
834 atomic_add(bytes_rendered, &dlfb->bytes_rendered); in dlfb_dpy_deferred_io()
836 atomic_add(((unsigned int) ((end_cycles - start_cycles) in dlfb_dpy_deferred_io()
/Linux-v6.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c751 atomic_add(num_wqebbs, &wq->delta); in hinic_get_wqe()
795 atomic_add(num_wqebbs, &wq->delta); in hinic_return_wqe()
808 atomic_add(num_wqebbs, &wq->cons_idx); in hinic_put_wqe()
810 atomic_add(num_wqebbs, &wq->delta); in hinic_put_wqe()
/Linux-v6.1/drivers/gpu/drm/i915/
Dintel_runtime_pm.h150 atomic_add(INTEL_RPM_WAKELOCK_BIAS + 1, in disable_rpm_wakeref_asserts()
/Linux-v6.1/fs/btrfs/
Ddiscard.c555 atomic_add(-discardable_extents, in btrfs_discard_calc_delay()
608 atomic_add(extents_delta, &discard_ctl->discardable_extents); in btrfs_discard_update_discardable()
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h201 atomic_add(2, &t->hash_tids_in_use); in cxgb4_insert_tid()
206 atomic_add(2, &t->tids_in_use); in cxgb4_insert_tid()
/Linux-v6.1/drivers/s390/scsi/
Dzfcp_qdio.c93 atomic_add(completed, &qdio->req_q_free); in zfcp_qdio_request_tasklet()
335 atomic_add(sbal_number, &qdio->req_q_free); in zfcp_qdio_send()
/Linux-v6.1/Documentation/translations/zh_CN/arm/
Dkernel_user_helpers.txt166 int atomic_add(volatile int *ptr, int val)
/Linux-v6.1/drivers/misc/habanalabs/common/
Dhw_queue.c63 atomic_add(cs->jobs_in_queue_cnt[i], &q->ci); in hl_hw_queue_update_ci()
144 atomic_add(num_of_entries, free_slots); in ext_queue_sanity_checks()
789 atomic_add(cs->jobs_in_queue_cnt[i], free_slots); in hl_hw_queue_schedule_cs()
/Linux-v6.1/arch/arm64/include/asm/
Datomic.h28 ATOMIC_OP(atomic_add) in ATOMIC_OP()

1234567