Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/wireless/intel/iwlegacy/3945-mac.c il3945_alloc_bcast_station() -> il_prep_station()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
PARAM_VALUE 0 il->cfg->fw_name_pre 4096-ptr_max
PARAM_VALUE 0 il->cfg->ucode_api_max 2
PARAM_VALUE 0 il->cfg->ucode_api_min 1-2
PARAM_VALUE 0 il->mutex.dep_map->name 0-255
PARAM_VALUE 0 il->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 il->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 il->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 il->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 il->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 il->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 il->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 il->pci_dev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 il->stations->keyinfo.cipher 0,1027073-1027074,1027076-1027077
PARAM_VALUE 0 il->stations->keyinfo.keyidx 0-255
PARAM_VALUE 0 il->stations->keyinfo.keylen 0-255
PARAM_VALUE 0 il->stations->sta.add_immediate_ba_ssn 0-4095
PARAM_VALUE 0 il->stations->sta.add_immediate_ba_tid 0-255
PARAM_VALUE 0 il->stations->sta.key.key_flags 0-u16max
PARAM_VALUE 0 il->stations->sta.key.key_offset 0-255
PARAM_VALUE 0 il->stations->sta.key.reserved1 0
PARAM_VALUE 0 il->stations->sta.key.reserved2 0
PARAM_VALUE 0 il->stations->sta.key.tkip_rx_tsc_byte2 0-255
PARAM_VALUE 0 il->stations->sta.mode 0-1
PARAM_VALUE 0 il->stations->sta.rate_n_flags 0,10,13,49162,49165
PARAM_VALUE 0 il->stations->sta.remove_immediate_ba_tid 0-255
PARAM_VALUE 0 il->stations->sta.reserved2 0
PARAM_VALUE 0 il->stations->sta.sleep_tx_count 0-1
PARAM_VALUE 0 il->stations->sta.sta.modify_mask 0-2,4,8,16,32
PARAM_VALUE 0 il->stations->sta.sta.reserved1 0
PARAM_VALUE 0 il->stations->sta.sta.reserved2 0
PARAM_VALUE 0 il->stations->sta.sta.sta_id 0-255
PARAM_VALUE 0 il->stations->sta.station_flags 0-4294967295
PARAM_VALUE 0 il->stations->sta.station_flags_msk 0,256
PARAM_VALUE 0 il->stations->sta.tid_disable_tx 0-u16max
PARAM_VALUE 0 il->stations->used 0-255
PARAM_VALUE 1 addr 8527790529504813056
PARAM_VALUE 2 is_ap 0
PARAM_VALUE 3 sta 0
BUF_SIZE 1 addr 6
DATA_SOURCE 0 il $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &il->mutex
LOCK2 0 &il->sta_lock
TYPE_LOCK (struct il_priv)->mutex
TYPE_LOCK (struct il_priv)->sta_lock

drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_alloc_bcast_station() -> il_prep_station()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
PARAM_VALUE 0 il->_4965.wep_keys->key_idx 0-3
PARAM_VALUE 0 il->_4965.wep_keys->key_offset 0-3,255
PARAM_VALUE 0 il->_4965.wep_keys->key_size 0-255
PARAM_VALUE 0 il->mutex.dep_map->name 0-255
PARAM_VALUE 0 il->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 il->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 il->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 il->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 il->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 il->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 il->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 il->stations->keyinfo.cipher 0,1027073-1027074,1027076-1027077
PARAM_VALUE 0 il->stations->keyinfo.keyidx 0-255
PARAM_VALUE 0 il->stations->keyinfo.keylen 0-255
PARAM_VALUE 0 il->stations->sta.add_immediate_ba_ssn 0-4095
PARAM_VALUE 0 il->stations->sta.add_immediate_ba_tid 0-255
PARAM_VALUE 0 il->stations->sta.key.key_flags 0-u16max
PARAM_VALUE 0 il->stations->sta.key.key_offset 0-255
PARAM_VALUE 0 il->stations->sta.key.reserved1 0
PARAM_VALUE 0 il->stations->sta.key.reserved2 0
PARAM_VALUE 0 il->stations->sta.key.tkip_rx_tsc_byte2 0-255
PARAM_VALUE 0 il->stations->sta.mode 0-1
PARAM_VALUE 0 il->stations->sta.rate_n_flags 0,10,13,49162,49165
PARAM_VALUE 0 il->stations->sta.remove_immediate_ba_tid 0-255
PARAM_VALUE 0 il->stations->sta.reserved2 0
PARAM_VALUE 0 il->stations->sta.sleep_tx_count 0-1
PARAM_VALUE 0 il->stations->sta.sta.modify_mask 0-2,4,8,16,32
PARAM_VALUE 0 il->stations->sta.sta.reserved1 0
PARAM_VALUE 0 il->stations->sta.sta.reserved2 0
PARAM_VALUE 0 il->stations->sta.sta.sta_id 0-255
PARAM_VALUE 0 il->stations->sta.station_flags 0-4294967295
PARAM_VALUE 0 il->stations->sta.station_flags_msk 0,256
PARAM_VALUE 0 il->stations->sta.tid_disable_tx 0-u16max
PARAM_VALUE 0 il->stations->used 0-255
PARAM_VALUE 0 il->ucode_data.v_addr 1-u64max
PARAM_VALUE 0 il->ucode_data_backup.v_addr 1-u64max
PARAM_VALUE 1 addr 8527790529504813056
PARAM_VALUE 2 is_ap 0
PARAM_VALUE 3 sta 0
BUF_SIZE 1 addr 6
DATA_SOURCE 0 il $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &il->mutex
LOCK2 0 &il->sta_lock
TYPE_LOCK (struct il_priv)->mutex
TYPE_LOCK (struct il_priv)->sta_lock

drivers/net/wireless/intel/iwlegacy/common.c il_add_station_common() -> il_prep_station()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
PARAM_VALUE 0 il->mutex.dep_map->name 0-255
PARAM_VALUE 0 il->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 il->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 il->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 il->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 il->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 il->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 il->ops->commit_rxon 4096-ptr_max
PARAM_VALUE 0 il->ops->rxon_assoc 4096-ptr_max
PARAM_VALUE 0 il->ops->set_rxon_chain 0,588518023954317312
PARAM_VALUE 0 il->pci_dev->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 3 sta 0,4096-ptr_max
PARAM_VALUE 3 sta->drv_priv 4096-ptr_max
PARAM_VALUE 3 sta->drv_priv->common.sta_id 255
BUF_SIZE 1 addr 6
BUF_SIZE 1 addr 6
DATA_SOURCE 0 il $0
DATA_SOURCE 1 addr $1
DATA_SOURCE 2 is_ap $2
DATA_SOURCE 3 sta $3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *addr 0-255
USER_DATA 3 sta->mfp 0-1
USER_DATA 3 sta->spp_amsdu 0-1[c]
USER_DATA 3 sta->wme 0-1[c]
NO_OVERFLOW_SIMPLE 3 sta->valid_links
USER_PTR 1 addr
USER_PTR 3 sta->addr
LOCK2 flags_spin
LOCK2 0 &il->mutex
LOCK2 0 &il->sta_lock
TYPE_LOCK (struct il_priv)->mutex
TYPE_LOCK (struct il_priv)->sta_lock