Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/thunderbolt/main.c tbnet_alloc_rx_buffers() -> tbnet_free_buffers()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->frames 4096-ptr_max
PARAM_VALUE 0 ring->ring 4096-ptr_max
PARAM_VALUE 0 ring->ring->nhi 4096-ptr_max
BUF_SIZE 0 ring 14352
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/thunderbolt/main.c tbnet_alloc_tx_buffers() -> tbnet_free_buffers()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->frames 4096-ptr_max
PARAM_VALUE 0 ring->ring 4096-ptr_max
PARAM_VALUE 0 ring->ring->nhi 4096-ptr_max
BUF_SIZE 0 ring 14352
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/thunderbolt/main.c tbnet_alloc_tx_buffers() -> tbnet_free_buffers()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->frames 4096-ptr_max
PARAM_VALUE 0 ring->ring 4096-ptr_max
PARAM_VALUE 0 ring->ring->nhi 4096-ptr_max
BUF_SIZE 0 ring 14352
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/thunderbolt/main.c tbnet_connected_work() -> tbnet_free_buffers()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->cons 0
PARAM_VALUE 0 ring->prod 255
PARAM_VALUE 0 ring->ring 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/thunderbolt/main.c tbnet_connected_work() -> tbnet_free_buffers()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->ring 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/thunderbolt/main.c tbnet_tear_down() -> tbnet_free_buffers()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->ring 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &net->connection_lock
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct tbnet)->connection_lock

drivers/net/thunderbolt/main.c tbnet_tear_down() -> tbnet_free_buffers()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->ring 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &net->connection_lock
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct tbnet)->connection_lock