Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/ath/ath11k/spectral.c ath11k_spectral_process_data() -> ath11k_dbring_validate_buffer()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 1 buffer 4096-ptr_max
PARAM_VALUE 2 size 16-271
CAPPED_DATA 2 size 1
DATA_SOURCE 0 ar $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte
LOCK2 &srng->lock
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &ar->spectral.lock
HALF_LOCKED2 &ab->core_lock
TYPE_LOCK (struct ath11k_spectral)->lock
TYPE_LOCK (struct hal_srng)->lock

drivers/net/wireless/ath/ath11k/spectral.c ath11k_spectral_process_fft() -> ath11k_dbring_validate_buffer()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 1 buffer 4096-ptr_max
PARAM_VALUE 2 size 40-8355609
DATA_SOURCE 0 ar $0
DATA_SOURCE 1 buffer $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte
LOCK2 &srng->lock
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &ar->spectral.lock
HALF_LOCKED2 &ab->core_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ath11k_spectral)->lock
TYPE_LOCK (struct hal_srng)->lock