Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/nhi.c tb_ring_alloc_rx() -> tb_ring_alloc()

Type Parameter Key Value
PARAM_VALUE 0 nhi->ops->init 0,9109942058640949248
PARAM_VALUE 0 nhi->ops->init_interrupts 0,7423307087930736640
PARAM_VALUE 0 nhi->ops->shutdown 0,4096-ptr_max
PARAM_VALUE 1 hop 0,u32max
PARAM_VALUE 3 transmit 0
PARAM_VALUE 4 flags 1-2,6,14
PARAM_VALUE 6 sof_mask 2,u16max
PARAM_VALUE 7 eof_mask 4,12,u16max
PARAM_VALUE 9 poll_data 0,4096-ptr_max
DATA_SOURCE 0 nhi $0
DATA_SOURCE 1 hop $1
DATA_SOURCE 2 size $2
DATA_SOURCE 4 flags $3
DATA_SOURCE 5 e2e_tx_hop $4
DATA_SOURCE 6 sof_mask $5
DATA_SOURCE 7 eof_mask $6
DATA_SOURCE 8 start_poll $7
DATA_SOURCE 9 poll_data $8
FUZZY_MAX 4 flags 6
HARD_MAX 6 sof_mask u16max
HARD_MAX 7 eof_mask u16max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 nhi->hop_count
UNITS 5 e2e_tx_hop unit_array_size
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &dt->lock

drivers/thunderbolt/nhi.c tb_ring_alloc_tx() -> tb_ring_alloc()

Type Parameter Key Value
PARAM_VALUE 0 nhi->ops->init 0,9109942058640949248
PARAM_VALUE 0 nhi->ops->init_interrupts 0,7423307087930736640
PARAM_VALUE 0 nhi->ops->shutdown 0,4096-ptr_max
PARAM_VALUE 1 hop 0,u32max
PARAM_VALUE 3 transmit 1
PARAM_VALUE 4 flags 1-2,6,14
PARAM_VALUE 5 e2e_tx_hop 0
PARAM_VALUE 6 sof_mask 0
PARAM_VALUE 7 eof_mask 0
PARAM_VALUE 8 start_poll 0
PARAM_VALUE 9 poll_data 0
BUF_SIZE 0 nhi->rx_rings (-1)-8184
BUF_SIZE 0 nhi->tx_rings (-1)-8184
DATA_SOURCE 0 nhi $0
DATA_SOURCE 1 hop $1
DATA_SOURCE 2 size $2
DATA_SOURCE 4 flags $3
FUZZY_MAX 4 flags 6
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nhi->hop_count 0-1023
NO_OVERFLOW_SIMPLE 0 nhi->hop_count
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &dt->lock