Defined in 2 files as a function:
- drivers/net/wireless/intel/ipw2x00/ipw2100.c, line 1135 (as a function)
- drivers/net/wireless/intel/ipw2x00/ipw2200.c, line 1714 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/wireless/intel/ipw2x00/ipw2100.c ipw2100_enable_adapter() -> rf_kill_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->adapter_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->adapter_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->adapter_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->adapter_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->adapter_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->adapter_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->adapter_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->ieee->geo.a->channel | 0-255 |
| PARAM_VALUE | 0 | priv->ieee->geo.a->flags | 0-255 |
| PARAM_VALUE | 0 | priv->ieee->geo.a->freq | 0-4294967295 |
| PARAM_VALUE | 0 | priv->ieee->geo.bg->channel | 0-255 |
| PARAM_VALUE | 0 | priv->ieee->geo.bg->flags | 0-255 |
| PARAM_VALUE | 0 | priv->ieee->geo.bg->freq | 0-4294967295 |
| PARAM_VALUE | 0 | priv->net_dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max |
| PARAM_VALUE | 0 | priv->pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *priv->fatal_errors | 0-4294967295 |
| PARAM_VALUE | 0 | *priv->ieee->geo.name | 0-255 |
| PARAM_VALUE | 0 | *priv->ieee->sec.key_sizes | 0-255 |
| PARAM_VALUE | 0 | *priv->net_dev->name | 0-255 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &priv->adapter_mutex | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| STR_LEN | 0 | priv | (-1) |
| STR_LEN | 0 | priv | (-1) |
| BIT_INFO | 0 | priv->status | 0x0,0xfffffffffffffff7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->bssid | 0-u64max |
| HOST_DATA | 0 | priv->eeprom_version | 0-255 |
| HOST_DATA | 0 | priv->ordinals.table1_addr | 0-u32max |
| HOST_DATA | 0 | priv->ordinals.table1_size | 0-u32max |
| HOST_DATA | 0 | priv->ordinals.table2_addr | 0-u32max |
| HOST_DATA | 0 | priv->ordinals.table2_size | 0-u16max[c] |
| USER_DATA | 0 | priv->channel | 0-14 |
| NO_OVERFLOW_SIMPLE | 0 | priv->rx_queue.size | |
| NO_OVERFLOW_SIMPLE | 0 | priv->tx_queue.size | |
| UNITS | 0 | priv | unit_byte |
| USER_PTR | 0 | priv->essid | |
| LOCK2 | 0 | &priv->adapter_mutex | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &priv->action_mutex | |
| TYPE_LOCK | (struct ipw2100_priv)->adapter_mutex |
drivers/net/wireless/intel/ipw2x00/ipw2100.c ipw2100_rf_kill() -> rf_kill_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->low_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ipw2100_priv)->low_lock |
drivers/net/wireless/intel/ipw2x00/ipw2100.c ipw2100_up() -> rf_kill_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->eeprom_version | 0-255 |
| PARAM_VALUE | 0 | priv->fatal_error | 0 |
| PARAM_VALUE | 0 | priv->ieee | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ieee->freq_band | 1 |
| PARAM_VALUE | 0 | priv->low_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->ordinals.table1_addr | 1-u32max |
| PARAM_VALUE | 0 | priv->ordinals.table1_size | 121-u32max |
| PARAM_VALUE | 0 | priv->ordinals.table2_size | 0-u16max |
| PARAM_VALUE | 0 | priv->pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | priv->suspend_time | 0 |
| PARAM_VALUE | 0 | *priv->fatal_errors | 0-4294967295 |
| PARAM_VALUE | 0 | *priv->ieee->geo.name | 0-255 |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->status | 0x0,0xfffffffffeffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->eeprom_version | 0-255 |
| HOST_DATA | 0 | priv->ordinals.table1_addr | 1-u32max |
| HOST_DATA | 0 | priv->ordinals.table1_size | 121-u32max |
| HOST_DATA | 0 | priv->ordinals.table2_addr | 0-u32max |
| HOST_DATA | 0 | priv->ordinals.table2_size | 0-u16max[c] |
| UNITS | 0 | priv | unit_byte |
| HALF_LOCKED2 | 0 | &priv->action_mutex |
drivers/net/wireless/intel/ipw2x00/ipw2100.c ipw_radio_kill_sw() -> rf_kill_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->action_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->action_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->action_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->action_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->action_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->action_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->action_mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &priv->action_mutex | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->status | 0x0,0xffffffffffffdfff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | 0 | &priv->action_mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ipw2100_priv)->action_mutex |
drivers/net/wireless/intel/ipw2x00/ipw2100.c rf_kill_show() -> rf_kill_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_radio_kill_sw() -> rf_kill_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->pci_dev->dev.cma_area->nranges | s32min-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->status | 0x0,0xfffffff7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->table0_len | 0-u32max |
| HOST_DATA | 0 | priv->table1_addr | 0-u32max |
| HOST_DATA | 0 | priv->table1_len | 0-u32max |
| HOST_DATA | 0 | priv->table2_addr | 0-u32max |
| HOST_DATA | 0 | priv->table2_len | 0-u16max[c] |
| UNITS | 0 | priv | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &priv->mutex |
drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_rf_kill() -> rf_kill_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| DATA_SOURCE | 0 | priv | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &priv->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ipw_priv)->lock | ||
| TYPE_LOCK | (struct ipw_priv)->mutex |
drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_up() -> rf_kill_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->eeprom_delay | 1 |
| PARAM_VALUE | 0 | priv->ieee | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ieee->iw_mode | 1-2,6 |
| PARAM_VALUE | 0 | priv->irq_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->net_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->pci_dev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->pci_dev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->pci_dev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->pci_dev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->rx_bufs_min | 0 |
| PARAM_VALUE | 0 | priv->rx_pend_max | 0 |
| PARAM_VALUE | 0 | priv->rx_replenish.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->rxq->read | 0 |
| PARAM_VALUE | 0 | priv->rxq->rx_free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq->rx_free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq->rx_free.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq->rx_free.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq->rx_used.next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq->rx_used.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq->rx_used.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq->rx_used.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxq->rx_used.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->sram_desc.last_cb_index | 0-64 |
| PARAM_VALUE | 0 | priv->status | 0,2-u32max |
| PARAM_VALUE | 0 | priv->suspend_time | 0 |
| PARAM_VALUE | 0 | priv->table0_addr | 1792 |
| PARAM_VALUE | 0 | priv->table2_len | 0-u16max |
| PARAM_VALUE | 0 | priv->txq_cmd.bd | 1-ptr_max |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.cmd.index | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.cmd.length | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.cmd.reserved | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.antenna | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.cmd_id | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.cwcurrent | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.key_index | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.len | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.next_frag_len | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.num_chunks | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.priority | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.rate | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.reserved1 | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.reserved2 | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.reserved3 | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.retrylimit | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.seq_num | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.station_number | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.tx_flags | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.tx_flags_ext | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.bd->u.data.work_area_ptr | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.q.first_empty | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.q.high_mark | 2,8 |
| PARAM_VALUE | 0 | priv->txq_cmd.q.last_used | 0 |
| PARAM_VALUE | 0 | priv->txq_cmd.q.low_mark | 4,16 |
| PARAM_VALUE | 0 | priv->txq_cmd.q.n_bd | 8 |
| PARAM_VALUE | 0 | priv->txq_cmd.q.reg_r | 640 |
| PARAM_VALUE | 0 | priv->txq_cmd.q.reg_w | 3968 |
| PARAM_VALUE | 0 | priv->txq_cmd.txb | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->eeprom | 0-3 |
| PARAM_VALUE | 0 | *priv->ieee->geo.name | 0-255 |
| PARAM_VALUE | 0 | *priv->net_dev->name | 0 |
| BUF_SIZE | 0 | priv->cmdlog | 0-u64max |
| BUF_SIZE | 0 | priv->pci_dev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->status | 0x0,0xfffffff7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->pci_dev->current_state | 0-3[c] |
| HOST_DATA | 0 | priv->table0_len | 0-u32max |
| HOST_DATA | 0 | priv->table1_addr | 0-u32max |
| HOST_DATA | 0 | priv->table1_len | 0-u32max |
| HOST_DATA | 0 | priv->table2_addr | 0-u32max |
| HOST_DATA | 0 | priv->table2_len | 0-u16max[c] |
| NO_OVERFLOW_SIMPLE | 0 | priv->cmdlog_len | |
| HALF_LOCKED2 | &priv->mutex | ||
| HALF_LOCKED2 | 0 | &priv->mutex | |
| TYPE_LOCK | (struct ipw_priv)->mutex |
drivers/net/wireless/intel/ipw2x00/ipw2200.c rf_kill_show() -> rf_kill_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | priv | s32min-(-2),1-s32max |
| BIT_INFO | 0 | priv->status | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |