Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/stream.c tbstream_dev_fops_read_iter() -> tbstream_dev_lock()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->in_hopid 1-s32max
PARAM_VALUE 0 sdev->out_hopid 1-s32max
PARAM_VALUE 0 sdev->stream 4096-ptr_max
DATA_SOURCE 0 sdev r to_tbstream_dev
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nowait 0-1
HALF_LOCKED2 &pool->lock

drivers/thunderbolt/stream.c tbstream_dev_fops_read_iter() -> tbstream_dev_lock()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->closed 0
PARAM_VALUE 0 sdev->in_hopid 1-s32max
PARAM_VALUE 0 sdev->lock.dep_map->name 0-255
PARAM_VALUE 0 sdev->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 sdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sdev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sdev->out_hopid 1-s32max
PARAM_VALUE 0 sdev->removed 0
PARAM_VALUE 0 sdev->stream 4096-ptr_max
PARAM_VALUE 1 nowait 0
CAPPED_DATA 0 sdev->rx_ring.prod 1
CAPPED_DATA 0 &sdev->lock 1
DATA_SOURCE 0 sdev r to_tbstream_dev
PARAM_COMPARE 0 sdev->rx_ring.cons >= $0->rx_ring.prod
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nowait 0
HALF_LOCKED2 &pool->lock

drivers/thunderbolt/stream.c tbstream_dev_fops_write_iter() -> tbstream_dev_lock()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->in_hopid 1-s32max
PARAM_VALUE 0 sdev->out_hopid 1-s32max
PARAM_VALUE 0 sdev->stream 4096-ptr_max
DATA_SOURCE 0 sdev r to_tbstream_dev
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nowait 0-1
HALF_LOCKED2 &pool->lock

drivers/thunderbolt/stream.c tbstream_dev_fops_write_iter() -> tbstream_dev_lock()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->closed 0
PARAM_VALUE 0 sdev->in_hopid 1-s32max
PARAM_VALUE 0 sdev->lock.dep_map->name 0-255
PARAM_VALUE 0 sdev->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 sdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sdev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sdev->out_hopid 1-s32max
PARAM_VALUE 0 sdev->removed 0
PARAM_VALUE 0 sdev->stream 4096-ptr_max
PARAM_VALUE 1 nowait 0
CAPPED_DATA 0 sdev->tx_ring.prod 1
CAPPED_DATA 0 &sdev->lock 1
DATA_SOURCE 0 sdev r to_tbstream_dev
PARAM_COMPARE 0 sdev->tx_ring.cons >= $0->tx_ring.prod
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nowait 0
HALF_LOCKED2 &pool->lock