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_irq_tasklet() -> il_rx_queue_update_write_ptr()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
PARAM_VALUE 0 il->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 il->ops->dump_fh 0,4096-ptr_max
PARAM_VALUE 0 il->ops->dump_nic_error_log 4096-ptr_max
PARAM_VALUE 1 q 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh

drivers/net/wireless/intel/iwlegacy/3945-mac.c il3945_rx_queue_restock() -> il_rx_queue_update_write_ptr()

Type Parameter Key Value
PARAM_VALUE 0 il->rxq.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 il->rxq.need_update 1
PARAM_VALUE 1 q 4096-ptr_max
PARAM_VALUE 1 q->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 q->need_update 1
BUF_SIZE 1 q 12448
DATA_SOURCE 0 il $0
PARAM_COMPARE 0 &il->rxq == $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &il->mutex
HALF_LOCKED2 flags
HALF_LOCKED2 0 &il->lock

drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_hw_nic_init() -> il_rx_queue_update_write_ptr()

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->calib_info 4096-ptr_max
PARAM_VALUE 0 il->cfg 4096-ptr_max
PARAM_VALUE 0 il->cfg->mod_params 4096-ptr_max
PARAM_VALUE 0 il->cfg->pll_cfg_val 0,16777216
PARAM_VALUE 0 il->cfg->use_bsm 1
PARAM_VALUE 0 il->cmd_queue 4
PARAM_VALUE 0 il->eeprom 0,4096-ptr_max
PARAM_VALUE 0 il->hw_ready 1
PARAM_VALUE 0 il->lock.rlock.dep_map->name 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->pci_dev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 il->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 il->rxq.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 il->rxq.need_update 1
PARAM_VALUE 0 il->rxq.read 0
PARAM_VALUE 0 il->rxq.rx_free.next 4096-ptr_max
PARAM_VALUE 0 il->rxq.rx_free.next->next 4096-ptr_max
PARAM_VALUE 0 il->rxq.rx_free.prev 4096-ptr_max
PARAM_VALUE 0 il->rxq.rx_free.prev->next 4096-ptr_max
PARAM_VALUE 0 il->rxq.rx_free.prev->prev 4096-ptr_max
PARAM_VALUE 0 il->rxq.rx_used.next 4096-ptr_max
PARAM_VALUE 0 il->rxq.rx_used.next->next 4096-ptr_max
PARAM_VALUE 0 il->rxq.rx_used.prev 4096-ptr_max
PARAM_VALUE 0 il->rxq.rx_used.prev->next 4096-ptr_max
PARAM_VALUE 0 il->rxq.rx_used.prev->prev 4096-ptr_max
PARAM_VALUE 0 il->sta_lock.rlock.dep_map->name 0-255
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 q 4096-ptr_max
PARAM_VALUE 1 q->free_count 0
PARAM_VALUE 1 q->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 q->need_update 1
PARAM_VALUE 1 q->read 0
PARAM_VALUE 1 q->rx_free.next 4096-ptr_max
PARAM_VALUE 1 q->rx_free.next->next 4096-ptr_max
PARAM_VALUE 1 q->rx_free.prev 4096-ptr_max
PARAM_VALUE 1 q->rx_free.prev->next 4096-ptr_max
PARAM_VALUE 1 q->rx_free.prev->prev 4096-ptr_max
PARAM_VALUE 1 q->rx_used.next 4096-ptr_max
PARAM_VALUE 1 q->rx_used.next->next 4096-ptr_max
PARAM_VALUE 1 q->rx_used.prev 4096-ptr_max
PARAM_VALUE 1 q->rx_used.prev->next 4096-ptr_max
PARAM_VALUE 1 q->rx_used.prev->prev 4096-ptr_max
PARAM_VALUE 1 q->write 0
PARAM_VALUE 1 q->write_actual 0
PARAM_VALUE 1 *q->queue 0
BUF_SIZE 1 q 12448
CAPPED_DATA 0 il->rxq.bd 1
DATA_SOURCE 0 il $0
PARAM_COMPARE 0 &il->rxq == $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &il->lock
LOCK2 0 &il->mutex
TYPE_LOCK (struct il_priv)->lock
TYPE_LOCK (struct il_priv)->mutex

drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_irq_tasklet() -> il_rx_queue_update_write_ptr()

Type Parameter Key Value
PARAM_VALUE 0 il 4096-ptr_max
PARAM_VALUE 0 il->cfg->mod_params->restart_fw 1
PARAM_VALUE 0 il->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 il->ops->dump_fh 0,4096-ptr_max
PARAM_VALUE 0 il->ops->dump_nic_error_log 4096-ptr_max
PARAM_VALUE 1 q 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh

drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_rx_queue_restock() -> il_rx_queue_update_write_ptr()

Type Parameter Key Value
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->cfg->pll_cfg_val 0,16777216
PARAM_VALUE 0 il->cfg->use_bsm 1
PARAM_VALUE 0 il->rxq.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 il->rxq.need_update 1
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 q 4096-ptr_max
PARAM_VALUE 1 q->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 q->need_update 1
BUF_SIZE 1 q 12448
DATA_SOURCE 0 il $0
PARAM_COMPARE 0 &il->rxq == $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 0 &il->lock
HALF_LOCKED2 0 &il->mutex