Documented in 1 files:

Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

lib/atomic64_test.c test_atomic() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-559038737)
PARAM_VALUE 1 v 244908970501345280
PARAM_VALUE 1 v->counter (-1432153289)
NOCHECK_CALL

drivers/pci/hotplug/pciehp_ctrl.c remove_board() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-265)
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctrl->reset_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct controller)->reset_lock

drivers/gpu/drm/xe/xe_guc_submit.c clear_exec_queue_destroyed() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-17)
PARAM_VALUE 1 v 4096-ptr_max
NOCHECK_CALL
LOCK2 &guc->submission_state.lock
LOCK2 &pool->lock
TYPE_LOCK (struct xe_guc)->submission_state.lock

drivers/gpu/drm/xe/xe_guc_submit.c clear_exec_queue_enabled() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-3)
PARAM_VALUE 1 v 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_submit.c clear_exec_queue_pending_disable() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-9)
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_submit.c clear_exec_queue_pending_enable() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-5)
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_submit.c clear_exec_queue_pending_resume() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-1025)
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_submit.c clear_exec_queue_registered() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-2)
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_submit.c clear_exec_queue_suspended() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-33)
PARAM_VALUE 1 v 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_submit.c guc_exec_queue_stop() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i 944
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &guc->submission_state.lock
TYPE_LOCK (struct xe_guc)->submission_state.lock

drivers/gpu/drm/i915/i915_vma.c __i915_vma_evict() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-72705)
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &vm->mutex
HALF_LOCKED2 obj->base.resv

drivers/gpu/drm/i915/i915_vma.c force_unbind() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-1024)
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &vm->mutex
HALF_LOCKED2 &vma->vm->mutex
TYPE_LOCK (struct i915_address_space)->mutex

drivers/pci/hotplug/pciehp_hpc.c pciehp_check_link_status() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-265)
PARAM_VALUE 1 v 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctrl->reset_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct controller)->reset_lock

drivers/pci/hotplug/pciehp_hpc.c pciehp_ignore_link_change() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i 0-u16max
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq

mm/kasan/kasan_test_c.c kasan_atomics_helper() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i 42
PARAM_VALUE 1 v 4096-ptr_max
DATA_SOURCE 1 v $1
NOCHECK_CALL

drivers/gpu/drm/i915/gt/intel_gtt.c clear_vm_list() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-1024)
PARAM_VALUE 1 v 4096-ptr_max
NOCHECK_CALL
LOCK2 &vm->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct i915_address_space)->mutex

drivers/gpu/drm/i915/i915_gem_evict.c grab_vma() -> atomic_and()

Type Parameter Key Value
PARAM_VALUE 0 i (-1024)
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ggtt->vm.mutex

drivers/gpio/gpio-mpsse.c gpio_mpsse_irq_disable() -> atomic_and()

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