Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/drivers/md/
Ddm-cache-background-tracker.c146 atomic_add(delta, &b->pending_promotes); in update_stats()
150 atomic_add(delta, &b->pending_demotes); in update_stats()
154 atomic_add(delta, &b->pending_writebacks); in update_stats()
/linux-6.6.21/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-6.6.21/drivers/target/iscsi/
Discsi_target_device.c42 atomic_add(se_nacl->queue_depth - 1, &sess->max_cmd_sn); in iscsit_determine_maxcmdsn()
/linux-6.6.21/net/smc/
Dsmc_cdc.c44 atomic_add(diff, &cdcpend->conn->sndbuf_space); in smc_cdc_tx_handler()
263 atomic_add(diff, &conn->sndbuf_space); in smcd_cdc_msg_send()
339 atomic_add(diff_cons, &conn->peer_rmbe_space); in smc_cdc_msg_recv_action()
351 atomic_add(diff_prod, &conn->bytes_to_rcv); in smc_cdc_msg_recv_action()
/linux-6.6.21/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-6.6.21/kernel/locking/
Dqrwlock.c44 atomic_add(_QR_BIAS, &lock->cnts); in queued_read_lock_slowpath()
/linux-6.6.21/drivers/leds/trigger/
Dledtrig-cpu.c82 atomic_add(is_active ? 1 : -1, &num_active_cpus); in ledtrig_cpu()
/linux-6.6.21/net/atm/
Datm_misc.c37 atomic_add(skb->truesize-guess, in atm_alloc_charge()
/linux-6.6.21/arch/m68k/amiga/
Dchipram.c109 atomic_add(size, &chipavail); in amiga_chip_free()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst85 * atomic_add() --> refcount_add()
/linux-6.6.21/tools/testing/selftests/bpf/
Dbench.h89 static inline void atomic_add(long *value, long n) in atomic_add() function
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/video/fbdev/
Dudlfb.c659 atomic_add(bytes_sent, &dlfb->bytes_sent); in dlfb_handle_damage()
660 atomic_add(bytes_identical, &dlfb->bytes_identical); in dlfb_handle_damage()
661 atomic_add(width*height*2, &dlfb->bytes_rendered); in dlfb_handle_damage()
663 atomic_add(((unsigned int) ((end_cycles - start_cycles) in dlfb_handle_damage()
834 atomic_add(bytes_sent, &dlfb->bytes_sent); in dlfb_dpy_deferred_io()
835 atomic_add(bytes_identical, &dlfb->bytes_identical); in dlfb_dpy_deferred_io()
836 atomic_add(bytes_rendered, &dlfb->bytes_rendered); in dlfb_dpy_deferred_io()
838 atomic_add(((unsigned int) ((end_cycles - start_cycles) in dlfb_dpy_deferred_io()
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/i915/
Dintel_runtime_pm.h166 atomic_add(INTEL_RPM_WAKELOCK_BIAS + 1, in disable_rpm_wakeref_asserts()
/linux-6.6.21/arch/arm64/include/asm/
Datomic.h28 ATOMIC_OP(atomic_add) in ATOMIC_OP()
/linux-6.6.21/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-6.6.21/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-6.6.21/fs/btrfs/
Ddiscard.c595 atomic_add(-discardable_extents, in btrfs_discard_calc_delay()
655 atomic_add(extents_delta, &discard_ctl->discardable_extents); in btrfs_discard_update_discardable()
/linux-6.6.21/Documentation/translations/zh_CN/arch/arm/
Dkernel_user_helpers.txt166 int atomic_add(volatile int *ptr, int val)
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_inline.h453 atomic_add(iores->iocb_cnt, &ha->fwres.iocb_used); in qla_get_fw_resources()
454 atomic_add(iores->exch_cnt, &ha->fwres.exch_used); in qla_get_fw_resources()
/linux-6.6.21/drivers/accel/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()

1234567