Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/thunderbolt/usb4.c usb4_port_retimer_nvm_write() -> usb4_port_retimer_nvm_set_offset()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->usb4 4096-ptr_max
PARAM_VALUE 2 address 0
DATA_SOURCE 0 port $0
DATA_SOURCE 1 index $1
DATA_SOURCE 2 address $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &rt->tb->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/retimer.c tb_retimer_nvm_authenticate() -> usb4_port_retimer_nvm_set_offset()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->usb4 4096-ptr_max
PARAM_VALUE 2 address 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &rt->tb->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct tb)->lock