Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/thunderbolt/main.c tbnet_open() -> tb_ring_alloc_rx()

Type Parameter Key Value
PARAM_VALUE 1 hop (-1)
PARAM_VALUE 2 size 256
PARAM_VALUE 3 flags 2,6
PARAM_VALUE 5 sof_mask 2
PARAM_VALUE 6 eof_mask 4
PARAM_VALUE 8 poll_data 4096-ptr_max
FUZZY_MAX 3 flags 2
BIT_INFO 3 flags 0x2,0x6
RX_PATH
TASK_NOT_RUNNING
UNITS 4 e2e_tx_hop unit_array_size
HALF_LOCKED2 global &rtnl_mutex

drivers/thunderbolt/ctl.c tb_ctl_alloc() -> tb_ring_alloc_rx()

Type Parameter Key Value
PARAM_VALUE 0 nhi 4096-ptr_max
PARAM_VALUE 0 nhi->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 nhi->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nhi->dev->dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 nhi->dev->dma_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 nhi->dev->kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 nhi->dev->kobj.sd->priv 4096-ptr_max
PARAM_VALUE 0 nhi->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nhi->ops->init 0,9109942058640949248
PARAM_VALUE 0 nhi->ops->init_interrupts 7423307087930736640
PARAM_VALUE 0 nhi->ops->shutdown 4096-ptr_max
PARAM_VALUE 0 *nhi->rx_rings 4096-ptr_max
PARAM_VALUE 0 *nhi->tx_rings 4096-ptr_max
PARAM_VALUE 1 hop 0
PARAM_VALUE 2 size 10
PARAM_VALUE 3 flags 1
PARAM_VALUE 4 e2e_tx_hop 0
PARAM_VALUE 5 sof_mask u16max
PARAM_VALUE 6 eof_mask u16max
PARAM_VALUE 7 start_poll 0
PARAM_VALUE 8 poll_data 0
DATA_SOURCE 0 nhi $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 nhi->hop_count

drivers/thunderbolt/stream.c tbstream_dev_start() -> tb_ring_alloc_rx()

Type Parameter Key Value
PARAM_VALUE 1 hop (-1)
PARAM_VALUE 3 flags 6,14
PARAM_VALUE 5 sof_mask 2
PARAM_VALUE 6 eof_mask 12
PARAM_VALUE 7 start_poll 0
PARAM_VALUE 8 poll_data 0
FUZZY_MAX 3 flags 6
BIT_INFO 3 flags 0x6,0xe
RX_PATH
TASK_NOT_RUNNING
UNITS 4 e2e_tx_hop unit_array_size
HALF_LOCKED2 &sdev->lock

drivers/thunderbolt/dma_test.c dma_test_start_rings() -> tb_ring_alloc_rx()

Type Parameter Key Value
PARAM_VALUE 1 hop (-1)
PARAM_VALUE 2 size 256
PARAM_VALUE 3 flags 2,6
PARAM_VALUE 5 sof_mask 2
PARAM_VALUE 6 eof_mask 4
PARAM_VALUE 7 start_poll 0
PARAM_VALUE 8 poll_data 0
FUZZY_MAX 3 flags 2
BIT_INFO 3 flags 0x2,0x6
UNITS 4 e2e_tx_hop unit_array_size
LOCK2 &attr->mutex
LOCK2 &dt->lock
TYPE_LOCK (struct dma_test)->lock
TYPE_LOCK (struct simple_attr)->mutex