Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/wireless/ath/key.c ath_key_delete() -> ath_hw_keyreset()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->ccmp_keymap 4096-ptr_max
PARAM_VALUE 0 common->tkip_keymap 4096-ptr_max
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common $0
DATA_SOURCE 1 entry $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 entry unit_array_size
HALF_LOCKED2 &ah->lock
HALF_LOCKED2 &priv->mutex
HALF_LOCKED2 &sc->mutex

drivers/net/wireless/ath/key.c ath_key_delete() -> ath_hw_keyreset()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->ccmp_keymap 4096-ptr_max
PARAM_VALUE 0 common->keymap 4096-ptr_max
PARAM_VALUE 0 common->tkip_keymap 4096-ptr_max
PARAM_VALUE 1 entry 36-287
BUF_SIZE 0 common 1048
CAPPED_DATA 0 common->keymax 1
DATA_SOURCE 0 common $0
BIT_INFO 0 common->crypt_caps 0x0,0xfffffffd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ah->lock
HALF_LOCKED2 &priv->mutex
HALF_LOCKED2 &sc->mutex

drivers/net/wireless/ath/ath5k/base.c ath5k_start() -> ath_hw_keyreset()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->keymax 1-u32max
BUF_SIZE 0 common 1048
CAPPED_DATA 1 entry 1
DATA_SOURCE 0 common r ath5k_hw_common
PARAM_COMPARE 0 common->keymax > $1
PARAM_COMPARE 1 entry < $0->keymax
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 entry unit_array_size
LOCK2 &ah->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ath5k_hw)->lock

drivers/net/wireless/ath/ath9k/common.c ath9k_cmn_init_crypto() -> ath_hw_keyreset()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->keymax 128
PARAM_VALUE 1 entry 0-127
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath9k_hw_common
PARAM_COMPARE 0 common->keymax > $1
PARAM_COMPARE 1 entry < $0->keymax
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 entry unit_array_size
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sc->mutex
HALF_LOCKED2 &sc->sc_pcu_lock
HALF_LOCKED2 bh
HALF_LOCKED2 global &rtnl_mutex