Defined in 1 files as a member:

Defined in 1 files as a function:

Defined in 1 files as a enum:

Referenced in 2 files:

Smatch caller information:

drivers/thunderbolt/usb4.c usb4_switch_alloc_dp_resource() -> usb4_switch_op()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.class 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.request 0-4
PARAM_VALUE 0 sw->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 sw->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sw->dev.type 0,4096-ptr_max
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 metadata 3197988308242034688
PARAM_VALUE 2 *metadata 0-255
PARAM_VALUE 3 status 5362606507081494528
DATA_SOURCE 0 sw $0
LOCK2 &pool->lock
LOCK2 &tb->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/usb4.c usb4_switch_dealloc_dp_resource() -> usb4_switch_op()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 18
PARAM_VALUE 2 metadata 1633275983797702656
PARAM_VALUE 2 *metadata 0-255
PARAM_VALUE 3 status 4789212651462107136
DATA_SOURCE 0 sw $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/usb4.c usb4_switch_nvm_authenticate() -> usb4_switch_op()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.class 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.request 0-4
PARAM_VALUE 0 sw->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 sw->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sw->dev.type 0,4096-ptr_max
PARAM_VALUE 0 sw->no_nvm_upgrade 0
PARAM_VALUE 0 sw->nvm 4096-ptr_max
PARAM_VALUE 0 sw->nvm->authenticating 1
PARAM_VALUE 0 sw->nvm->vops->validate 0,4969815085320704000,8746475639591444480
PARAM_VALUE 0 sw->nvm->vops->write_headers 0,8395314951524048896
PARAM_VALUE 0 sw->tb 4096-ptr_max
PARAM_VALUE 1 opcode 33
PARAM_VALUE 2 metadata 0
PARAM_VALUE 3 status 0
DATA_SOURCE 0 sw $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &sw->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/usb4.c usb4_switch_nvm_sector_size() -> usb4_switch_op()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 sw->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sw->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 37
PARAM_VALUE 2 metadata 3431295210662207488
PARAM_VALUE 3 status 1277893642037432320
BUF_SIZE 0 sw->dev.parent (-1),1616
BUF_SIZE 0 sw->tb (-1),2304,3616
DATA_SOURCE 0 sw $0
RX_PATH
TASK_NOT_RUNNING

drivers/thunderbolt/usb4.c usb4_switch_nvm_set_offset() -> usb4_switch_op()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.class 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.request 0-4
PARAM_VALUE 0 sw->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 sw->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sw->dev.type 0,4096-ptr_max
PARAM_VALUE 0 sw->no_nvm_upgrade 0
PARAM_VALUE 0 sw->nvm 1-u64max
PARAM_VALUE 0 sw->nvm->vops->validate 0,4969815085320704000,8746475639591444480
PARAM_VALUE 0 sw->nvm->vops->write_headers 0,8395314951524048896
PARAM_VALUE 0 sw->tb 4096-ptr_max
PARAM_VALUE 1 opcode 35
PARAM_VALUE 2 metadata 2412762977328943104
PARAM_VALUE 2 *metadata 0
PARAM_VALUE 3 status 7504395169494138880
PARAM_VALUE 3 *status 0
DATA_SOURCE 0 sw $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &sw->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/usb4.c usb4_switch_query_dp_resource() -> usb4_switch_op()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 opcode 16
PARAM_VALUE 2 metadata 8080055873190432768
PARAM_VALUE 2 *metadata 0-255
PARAM_VALUE 3 status 934205567152746496
DATA_SOURCE 0 sw $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tb->lock