Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/broadcom/b43/dma.c dma_tx_fragment() -> map_descbuffer()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->dev 4096-ptr_max
PARAM_VALUE 0 ring->dev->wl 4096-ptr_max
PARAM_VALUE 0 ring->ops 4096-ptr_max
PARAM_VALUE 0 ring->stopped 0
PARAM_VALUE 0 ring->txhdr_cache 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 len 0,106,110,118
PARAM_VALUE 3 tx 1
DATA_SOURCE 0 ring $0
DATA_SOURCE 2 len r b43_txhdr_size
LOCK2 &wl->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct b43_wl)->mutex

drivers/net/wireless/broadcom/b43/dma.c dma_tx_fragment() -> map_descbuffer()

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 4096-ptr_max
PARAM_VALUE 0 ring->ops 4096-ptr_max
PARAM_VALUE 0 ring->stopped 0
PARAM_VALUE 0 ring->txhdr_cache 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 3 tx 1
BUF_SIZE 1 buf 1-s32max
CAPPED_DATA 0 ring->txhdr_cache 1
DATA_SOURCE 0 ring $0
UNITS 1 buf unit_byte
UNITS 2 len unit_byte
LOCK2 &wl->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct b43_wl)->mutex

drivers/net/wireless/broadcom/b43/dma.c dma_tx_fragment() -> map_descbuffer()

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 4096-ptr_max
PARAM_VALUE 0 ring->ops 4096-ptr_max
PARAM_VALUE 0 ring->stopped 0
PARAM_VALUE 0 ring->txhdr_cache 4096-ptr_max
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 3 tx 1
CAPPED_DATA 0 ring->txhdr_cache 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 ring $0
DATA_SOURCE 1 buf r kmemdup_noprof
UNITS 2 len unit_byte
LOCK2 &wl->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct b43_wl)->mutex

drivers/net/wireless/broadcom/b43/dma.c setup_rx_descbuffer() -> map_descbuffer()

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
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 1 buf->frame_len 0
PARAM_VALUE 3 tx 0
BUF_SIZE 0 ring (-1),6264
BUF_SIZE 0 ring (-1),6264
BUF_SIZE 0 ring->ops (-1),56
BUF_SIZE 0 ring->txhdr_cache (-1),106,110,118
BUF_SIZE 1 buf 1-s32max
DATA_SOURCE 0 ring $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ring->dev->fw.patch 0-u16max
HOST_DATA 0 ring->dev->phy.analog 0-15[c]
HOST_DATA 0 ring->dev->phy.gmode 0-1
HOST_DATA 0 ring->dev->phy.radio_rev 0-255
HOST_DATA 0 ring->dev->phy.radio_ver 0-u16max
HOST_DATA 0 ring->dev->phy.supports_2ghz 0-1
HOST_DATA 0 ring->dev->phy.supports_5ghz 0-1
HOST_DATA 0 ring->dev->phy.type 2,4-5,7[c]
UNITS 1 buf unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &wl->mutex
TYPE_LOCK (struct b43_wl)->mutex

drivers/net/wireless/broadcom/b43/dma.c setup_rx_descbuffer() -> map_descbuffer()

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
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 1 buf->frame_len 0
PARAM_VALUE 3 tx 0
BUF_SIZE 0 ring (-1),6264
BUF_SIZE 0 ring (-1),6264
BUF_SIZE 0 ring->ops (-1),56
BUF_SIZE 0 ring->txhdr_cache (-1),106,110,118
BUF_SIZE 1 buf 1-s32max
CAPPED_DATA 0 ring->rx_buffersize 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 ring $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ring->dev->fw.patch 0-u16max
HOST_DATA 0 ring->dev->phy.analog 0-15[c]
HOST_DATA 0 ring->dev->phy.gmode 0-1
HOST_DATA 0 ring->dev->phy.radio_rev 0-255
HOST_DATA 0 ring->dev->phy.radio_ver 0-u16max
HOST_DATA 0 ring->dev->phy.supports_2ghz 0-1
HOST_DATA 0 ring->dev->phy.supports_5ghz 0-1
HOST_DATA 0 ring->dev->phy.type 2,4-5,7[c]
UNITS 1 buf unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &wl->mutex
TYPE_LOCK (struct b43_wl)->mutex

drivers/net/wireless/broadcom/b43legacy/dma.c dma_tx_fragment() -> map_descbuffer()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->dev 4096-ptr_max
PARAM_VALUE 0 ring->dev->wl 4096-ptr_max
PARAM_VALUE 0 ring->stopped 0
PARAM_VALUE 0 ring->txhdr_cache 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 len 82
PARAM_VALUE 3 tx 1
DATA_SOURCE 0 ring $0
UNITS 2 len unit_byte
LOCK2 &wl->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct b43legacy_wl)->mutex

drivers/net/wireless/broadcom/b43legacy/dma.c dma_tx_fragment() -> map_descbuffer()

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 4096-ptr_max
PARAM_VALUE 0 ring->stopped 0
PARAM_VALUE 0 ring->txhdr_cache 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 3 tx 1
BUF_SIZE 1 buf 1-s32max
CAPPED_DATA 0 ring->txhdr_cache 1
DATA_SOURCE 0 ring $0
UNITS 1 buf unit_byte
UNITS 2 len unit_byte
LOCK2 &wl->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct b43legacy_wl)->mutex

drivers/net/wireless/broadcom/b43legacy/dma.c dma_tx_fragment() -> map_descbuffer()

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 4096-ptr_max
PARAM_VALUE 0 ring->stopped 0
PARAM_VALUE 0 ring->txhdr_cache 4096-ptr_max
PARAM_VALUE 3 tx 1
BUF_SIZE 1 buf 1-s32max
CAPPED_DATA 0 ring->txhdr_cache 1
DATA_SOURCE 0 ring $0
UNITS 1 buf unit_byte
UNITS 2 len unit_byte
LOCK2 &wl->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct b43legacy_wl)->mutex

drivers/net/wireless/broadcom/b43legacy/dma.c setup_rx_descbuffer() -> map_descbuffer()

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 3 tx 0
BUF_SIZE 0 ring->dev (-1),24,1864,5184
BUF_SIZE 0 ring->meta (-1),1536,3072
BUF_SIZE 0 ring->txhdr_cache (-1),82
BUF_SIZE 1 buf 1-s32max
CAPPED_DATA 0 ring->dev->dev 1
DATA_SOURCE 0 ring $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ring->dev->fw.patch 0-u16max
HOST_DATA 0 ring->dev->fw.rev 0-296
HOST_DATA 0 ring->dev->phy.analog 0-15[c]
HOST_DATA 0 ring->dev->phy.nrssislope (-4194304)-(-128),128-4194304[c]
HOST_DATA 0 ring->dev->phy.radio_manuf 0-4095
HOST_DATA 0 ring->dev->phy.radio_off_context.rfover 0-u16max
HOST_DATA 0 ring->dev->phy.radio_off_context.rfoverval 0-u16max
HOST_DATA 0 ring->dev->phy.radio_rev 0-15
HOST_DATA 0 ring->dev->phy.radio_ver 0-u16max[c]
HOST_DATA 0 ring->dev->phy.rev 0-8
HOST_DATA 0 ring->dev->phy.savedpctlreg u16max
NO_OVERFLOW_SIMPLE 0 ring->nr_slots
UNITS 1 buf unit_byte
HALF_LOCKED2 &dev->wl->irq_lock
HALF_LOCKED2 &wl->mutex
HALF_LOCKED2 flags

drivers/net/wireless/broadcom/b43legacy/dma.c setup_rx_descbuffer() -> map_descbuffer()

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->dfsentry->txstatlog.end (-2147483644)-99
PARAM_VALUE 3 tx 0
BUF_SIZE 0 ring->dev (-1),24,1864,5184
BUF_SIZE 0 ring->meta (-1),1536,3072
BUF_SIZE 0 ring->txhdr_cache (-1),82
BUF_SIZE 1 buf 1-s32max
CAPPED_DATA 0 ring->dev->dev 1
DATA_SOURCE 0 ring $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ring->dev->fw.patch 0-u16max
HOST_DATA 0 ring->dev->fw.rev 0-296
HOST_DATA 0 ring->dev->phy.analog 0-15[c]
HOST_DATA 0 ring->dev->phy.nrssislope (-4194304)-(-128),128-4194304[c]
HOST_DATA 0 ring->dev->phy.radio_manuf 0-4095
HOST_DATA 0 ring->dev->phy.radio_off_context.rfover 0-u16max
HOST_DATA 0 ring->dev->phy.radio_off_context.rfoverval 0-u16max
HOST_DATA 0 ring->dev->phy.radio_rev 0-15
HOST_DATA 0 ring->dev->phy.radio_ver 0-u16max[c]
HOST_DATA 0 ring->dev->phy.rev 0-8
HOST_DATA 0 ring->dev->phy.savedpctlreg u16max
NO_OVERFLOW_SIMPLE 0 ring->nr_slots
UNITS 1 buf unit_byte
HALF_LOCKED2 &dev->wl->irq_lock
HALF_LOCKED2 &wl->mutex
HALF_LOCKED2 flags