Documented in 1 files:

Defined in 1 files as a function:

Referenced in 44 files:

Smatch caller information:

drivers/perf/arm-cmn.c arm_cmn_probe() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4550404026347810816
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c amdgpu_jpeg_ring_begin_use() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->gfx.gpu_clock_mutex
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &adev->srbm_mutex
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 &mux->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu
HALF_LOCKED2 ring_lock

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c __eb_add_lut() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max

drivers/gpu/drm/drm_file.c drm_open() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &drm_global_mutex

net/ipv6/ip6_gre.c __gre6_xmit() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/ipv6/ip6_gre.c __gre6_xmit() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/ipv6/ip6_gre.c ip6erspan_tunnel_xmit() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/infiniband/hw/hfi1/trace.c hfi1_trace_print_rsm_hist() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 7004086923970179072

drivers/infiniband/hw/hfi1/trace.c hfi1_trace_print_rsm_hist() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max

drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c vcn_v2_5_ring_begin_use() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->gfx.gpu_clock_mutex
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &adev->srbm_mutex
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 &mux->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu
HALF_LOCKED2 ring_lock

drivers/net/wwan/t7xx/t7xx_netdev.c t7xx_ccmni_open() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/staging/media/ipu7/ipu7-isys-queue.c ipu7_isys_buffer_to_fw_frame_buff() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dmxdev->mutex
HALF_LOCKED2 &stream->isys->stream_mutex
HALF_LOCKED2 &stream->mutex
HALF_LOCKED2 &stream->mutex
TYPE_LOCK (struct ipu7_isys_stream)->mutex

drivers/perf/arm_cspmu/nvidia_cspmu.c nv_cspmu_format_name() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4912233594274598912
PARAM_VALUE 0 v->counter 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &arm_cspmu_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c amdgpu_vcn_ring_begin_use() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->gfx.gpu_clock_mutex
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &adev->srbm_mutex
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 &mux->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu
HALF_LOCKED2 ring_lock

drivers/nvme/host/core.c nvme_scan_ns_async() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/netronome/nfp/crypto/tls.c nfp_net_tls_add() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_offload_lock
HALF_LOCKED2 global &uld_mutex
HALF_LOCKED2 sk

net/mac802154/util.c ieee802154_hold_queue() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &local->phy->queue_lock
LOCK2 flags
TYPE_LOCK (struct wpan_phy)->queue_lock

drivers/gpu/drm/i915/i915_active.c __i915_active_activate() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 0 v->counter 0-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ref->tree_lock
LOCK2 irq
HALF_LOCKED2 &ref->mutex
HALF_LOCKED2 &vma->vm->mutex
HALF_LOCKED2 ce->ring->vma->obj->base.resv
HALF_LOCKED2 ce->timeline->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 ring->vma->obj->base.resv
HALF_LOCKED2 tl->hwsp_ggtt->obj->base.resv
TYPE_LOCK (struct i915_active)->tree_lock

drivers/gpu/drm/i915/gem/i915_gem_shrinker.c i915_gem_object_make_unshrinkable() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 0 v->counter 0-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &i915->mm.obj_lock
LOCK2 flags
HALF_LOCKED2 obj->base.resv
TYPE_LOCK (struct i915_gem_mm)->obj_lock

kernel/time/posix-timers.c posix_timer_add() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max

drivers/perf/arm-ni.c arm_ni_probe() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 6698356592685858816
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/gen8_ppgtt.c __gen8_ppgtt_clear() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vm->mutex

io_uring/poll.c io_poll_get_ownership() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 192,4096-ptr_max
PARAM_VALUE 0 v->counter s32min-127
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

io_uring/poll.c io_poll_get_ownership_slowpath() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 0 v->counter 0-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/intel_timeline.c intel_timeline_enter() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 0 v->counter 0-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &timelines->lock
HALF_LOCKED2 &tl->mutex
TYPE_LOCK (struct intel_gt_timelines)->lock
TYPE_LOCK (struct intel_timeline)->mutex

drivers/gpu/drm/i915/gt/intel_timeline.c intel_timeline_pin() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 0 v->counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 tl->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 ce->ring->vma->obj->base.resv
HALF_LOCKED2 engine->legacy.ring->vma->obj->base.resv

net/ipv4/ip_gre.c __gre_xmit() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/ipv4/ip_gre.c erspan_fb_xmit() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/ipv4/ip_gre.c gre_fb_xmit() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/perf/arm_cspmu/arm_cspmu.c arm_cspmu_get_name() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 8862231988030582784

drivers/gpu/drm/i915/gt/intel_execlists_submission.c __tasklet_disable_sync_once() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/../../accel/drm_accel.c accel_open() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_profile_ring_begin_use() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->gfx.gpu_clock_mutex
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &adev->srbm_mutex
HALF_LOCKED2 &kiq->ring_lock
HALF_LOCKED2 &mux->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &drm_unplug_srcu
HALF_LOCKED2 ring_lock

fs/dlm/midcomms.c midcomms_new_msg_cb() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &mh->node->send_queue_lock
LOCK2 bh
TYPE_LOCK (struct midcomms_node)->send_queue_lock

fs/dlm/midcomms.c midcomms_new_rawmsg_cb() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max

drivers/gpu/drm/i915/gt/intel_ring.c intel_ring_pin() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 ce->timeline->hwsp_ggtt->obj->base.resv
HALF_LOCKED2 engine->legacy.ring->vma->obj->base.resv
HALF_LOCKED2 ring->vma->obj->base.resv
HALF_LOCKED2 timeline->hwsp_ggtt->obj->base.resv

drivers/infiniband/hw/hfi1/netdev_rx.c hfi1_netdev_enable_queues() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/infiniband/hw/hfi1/netdev_rx.c hfi1_netdev_rx_init() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 &device->unregistration_lock
HALF_LOCKED2 global &rtnl_mutex

drivers/gpu/drm/i915/gt/intel_engine_pm.c __queue_and_release_pm() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &timelines->lock
LOCK2 &wf->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct intel_gt_timelines)->lock
TYPE_LOCK (struct intel_wakeref)->mutex

drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c __tasklet_disable_sync_once() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 0 v->counter 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sched_engine->lock
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/accel/ivpu/ivpu_pm.c ivpu_job_timeout_work() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/i915/gt/intel_rps.c intel_rps_boost() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/intel_rps.c intel_rps_boost() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c ipu6_isys_csi2_sof_event_by_stream() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &isys->power_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ipu6_isys)->power_lock

net/ipv6/ioam6_iptunnel.c ioam6_output() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &net->ipv4.mfc_mutex
HALF_LOCKED2 &net->ipv6.mfc_mutex
HALF_LOCKED2 &sk->sk_callback_lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

drivers/staging/media/ipu7/ipu7-isys-csi2.c ipu7_isys_csi2_sof_event_by_stream() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &isys->power_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ipu7_isys)->power_lock

io_uring/waitid.c __io_waitid_cancel() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->uring_lock

io_uring/waitid.c io_waitid_wait() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sci->sc_wait_request.lock
HALF_LOCKED2 &x->lock
HALF_LOCKED2 flags

drivers/infiniband/hw/hfi1/chip.c hfi1_init_aip_rsm() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 &device->unregistration_lock
HALF_LOCKED2 global &rtnl_mutex

net/sunrpc/xprtrdma/svc_rdma_sendto.c svc_rdma_sq_wait() -> atomic_fetch_inc()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING