Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/stream.c tbstream_dev_attach_stream() -> tbstream_dev_alloc_out_hopid()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->out_hopid s32min-(-1),1-s32max
PARAM_VALUE 0 sdev->stream 4096-ptr_max
PARAM_VALUE 1 hopid s32min-(-1),1-s32max
BUF_SIZE 0 sdev (-1),584
BUF_SIZE 0 sdev (-1),584
BUF_SIZE 0 sdev->stream (-1),32
DATA_SOURCE 0 sdev $0
FUZZY_MAX 0 sdev->out_hopid 1
FUZZY_MAX 1 hopid 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 hopid unit_array_size
LOCK2 _T->lock
HALF_LOCKED2 &subsys->su_mutex

drivers/thunderbolt/stream.c tbstream_dev_out_hopid_store() -> tbstream_dev_alloc_out_hopid()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->stream 1-u64max
PARAM_VALUE 0 sdev->users 0
DATA_SOURCE 0 sdev r tbstream_dev_from_group
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 hopid s32min-s32max
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem