Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/ath/carl9170/cmd.c carl9170_bcn_ctrl() -> carl9170_cmd_buf()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 *ar->cmd_buf 0-4294967295
PARAM_VALUE 1 cmd 69
PARAM_VALUE 2 len 16
BUF_SIZE 0 ar s32min-(-1),1-s32max
BUF_SIZE 0 ar s32min-(-1),1-s32max
DATA_SOURCE 0 ar $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ar->rx_failover->len
NO_OVERFLOW_SIMPLE 0 ar->rx_failover->tail
NO_OVERFLOW_SIMPLE 0 ar->rx_failover_missing
UNITS 0 ar unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &ar->mutex

drivers/net/wireless/ath/carl9170/cmd.c carl9170_powersave() -> carl9170_cmd_buf()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ar->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ar->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ar->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 100
PARAM_VALUE 2 len 4
DATA_SOURCE 0 ar $0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_byte
LOCK2 0 &ar->mutex
TYPE_LOCK (struct ar9170)->mutex

drivers/net/wireless/ath/carl9170/cmd.c carl9170_reboot() -> carl9170_cmd_buf()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 1 cmd 68
PARAM_VALUE 2 len 0
BUF_SIZE 0 ar s32min-(-1),1-s32max
BUF_SIZE 0 ar s32min-(-1),1-s32max
DATA_SOURCE 0 ar $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ar unit_byte
HALF_LOCKED2 0 &ar->mutex

drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> carl9170_cmd_buf()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->hw 4096-ptr_max
PARAM_VALUE 1 cmd 65
PARAM_VALUE 2 len 60
BUF_SIZE 0 ar s32min-(-1),1-s32max
BUF_SIZE 0 ar s32min-(-1),1-s32max
DATA_SOURCE 0 ar $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ar->rx_failover_missing
UNITS 0 ar unit_byte
LOCK2 &ar->beacon_lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &ar->mutex
TYPE_LOCK (struct ar9170)->beacon_lock

drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> carl9170_cmd_buf()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->hw 4096-ptr_max
PARAM_VALUE 1 cmd 65
PARAM_VALUE 2 len 60
BUF_SIZE 0 ar s32min-(-1),1-s32max
BUF_SIZE 0 ar s32min-(-1),1-s32max
DATA_SOURCE 0 ar $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ar->rx_failover_missing
UNITS 0 ar unit_byte
LOCK2 &ar->beacon_lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &ar->mutex
TYPE_LOCK (struct ar9170)->beacon_lock

drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> carl9170_cmd_buf()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->hw 4096-ptr_max
PARAM_VALUE 0 ar->state 2-u32max
PARAM_VALUE 1 cmd 65
PARAM_VALUE 2 len 60
BUF_SIZE 0 ar s32min-(-1),1-s32max
BUF_SIZE 0 ar s32min-(-1),1-s32max
DATA_SOURCE 0 ar $0
FUZZY_MAX 0 ar->state 2
PARAM_COMPARE 0 &ar->tx_cmd.urb_list != $0->tx_cmd.urb_list.next
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ar->rx_failover_missing
UNITS 0 ar unit_byte
LOCK2 &ar->beacon_lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &ar->mutex
TYPE_LOCK (struct ar9170)->beacon_lock

drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> carl9170_cmd_buf()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->hw 4096-ptr_max
PARAM_VALUE 0 ar->state 2-u32max
PARAM_VALUE 1 cmd 65
PARAM_VALUE 2 len 60
BUF_SIZE 0 ar s32min-(-1),1-s32max
BUF_SIZE 0 ar s32min-(-1),1-s32max
DATA_SOURCE 0 ar $0
FUZZY_MAX 0 ar->state 2
PARAM_COMPARE 0 &ar->tx_cmd.urb_list != $0->tx_cmd.urb_list.next
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ar->rx_failover_missing
UNITS 0 ar unit_byte
LOCK2 &ar->beacon_lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &ar->mutex
TYPE_LOCK (struct ar9170)->beacon_lock

drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> carl9170_cmd_buf()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->hw 4096-ptr_max
PARAM_VALUE 0 ar->state 2-u32max
PARAM_VALUE 1 cmd 65
PARAM_VALUE 2 len 60
BUF_SIZE 0 ar s32min-(-1),1-s32max
BUF_SIZE 0 ar s32min-(-1),1-s32max
DATA_SOURCE 0 ar $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ar->rx_failover_missing
UNITS 0 ar unit_byte
LOCK2 &ar->beacon_lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &ar->mutex
TYPE_LOCK (struct ar9170)->beacon_lock