Defined in 4 files as a function:
- drivers/net/wireless/broadcom/b43/dma.c, line 279 (as a function)
- drivers/net/wireless/broadcom/b43/dma.c, line 294 (as a function)
- drivers/net/wireless/broadcom/b43legacy/dma.c, line 131 (as a function)
- drivers/net/wireless/broadcom/b43legacy/dma.c, line 146 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/wireless/broadcom/b43/dma.c b43_dma_rx() -> update_max_used_slots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ops->get_current_rxslot | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ops->idx2desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ops->set_current_rxslot | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->wl->mutex | ||
| HALF_LOCKED2 | &wl->mutex | ||
| TYPE_LOCK | (struct b43_wl)->mutex |
drivers/net/wireless/broadcom/b43/dma.c request_slot() -> update_max_used_slots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ops->idx2desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->stopped | 0 |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &wl->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct b43_wl)->mutex |
drivers/net/wireless/broadcom/b43legacy/dma.c b43legacy_dma_rx() -> update_max_used_slots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *ring->dev->wl->tx_queue_stopped | 0-1 |
| CAPPED_DATA | 0 | ring->dev->dev | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->wl->irq_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct b43legacy_wl)->irq_lock |
drivers/net/wireless/broadcom/b43legacy/dma.c request_slot() -> update_max_used_slots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->stopped | 0 |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | current_used_slots | unit_array_size |
| LOCK2 | &wl->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct b43legacy_wl)->mutex |