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/tb.c tb_approve_xdomain_paths() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->cm_ops 4096-ptr_max
PARAM_VALUE 0 tb->cm_ops->approve_xdomain_paths 3901506540878663680,4968364433096765440,6378239632894922752
PARAM_VALUE 0 tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 nhi 0,4096-ptr_max
PARAM_VALUE 1 nhi->config.type 2
PARAM_VALUE 2 dst 0,4096-ptr_max
CAPPED_DATA 0 &tb->lock 1
CAPPED_DATA 1 nhi 1
DATA_SOURCE 0 tb $0
DATA_SOURCE 1 nhi r tb_switch_find_port
DATA_SOURCE 2 dst r tb_port_at
DATA_SOURCE 3 transmit_path $2
DATA_SOURCE 4 transmit_ring $3
DATA_SOURCE 5 receive_path $4
DATA_SOURCE 6 receive_ring $5
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &tb->lock
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &dt->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/test.c TB_TEST_DMA_TUNNEL1() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 8
PARAM_VALUE 4 transmit_ring 1
PARAM_VALUE 5 receive_path 8
PARAM_VALUE 6 receive_ring 1

drivers/thunderbolt/test.c TB_TEST_DMA_TUNNEL2() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 9
PARAM_VALUE 4 transmit_ring 2
PARAM_VALUE 5 receive_path 9
PARAM_VALUE 6 receive_ring 2

drivers/thunderbolt/test.c tb_test_credit_alloc_dma() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 8
PARAM_VALUE 4 transmit_ring 1
PARAM_VALUE 5 receive_path 8
PARAM_VALUE 6 receive_ring 1

drivers/thunderbolt/test.c tb_test_credit_alloc_dma_multiple() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 8
PARAM_VALUE 4 transmit_ring 1
PARAM_VALUE 5 receive_path 8
PARAM_VALUE 6 receive_ring 1

drivers/thunderbolt/test.c tb_test_credit_alloc_dma_multiple() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 9
PARAM_VALUE 4 transmit_ring 2
PARAM_VALUE 5 receive_path 9
PARAM_VALUE 6 receive_ring 2

drivers/thunderbolt/test.c tb_test_credit_alloc_dma_multiple() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 10
PARAM_VALUE 4 transmit_ring 3
PARAM_VALUE 5 receive_path 10
PARAM_VALUE 6 receive_ring 3

drivers/thunderbolt/test.c tb_test_credit_alloc_dma_multiple() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 10
PARAM_VALUE 4 transmit_ring 3
PARAM_VALUE 5 receive_path 10
PARAM_VALUE 6 receive_ring 3

drivers/thunderbolt/test.c tb_test_tunnel_dma() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 8
PARAM_VALUE 4 transmit_ring 1
PARAM_VALUE 5 receive_path 8
PARAM_VALUE 6 receive_ring 1

drivers/thunderbolt/test.c tb_test_tunnel_dma_chain() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 8
PARAM_VALUE 4 transmit_ring 1
PARAM_VALUE 5 receive_path 8
PARAM_VALUE 6 receive_ring 1

drivers/thunderbolt/test.c tb_test_tunnel_dma_match() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 15
PARAM_VALUE 4 transmit_ring 1
PARAM_VALUE 5 receive_path 15
PARAM_VALUE 6 receive_ring 1

drivers/thunderbolt/test.c tb_test_tunnel_dma_match() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 15
PARAM_VALUE 4 transmit_ring 1
PARAM_VALUE 5 receive_path (-1)
PARAM_VALUE 6 receive_ring (-1)

drivers/thunderbolt/test.c tb_test_tunnel_dma_match() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path (-1)
PARAM_VALUE 4 transmit_ring (-1)
PARAM_VALUE 5 receive_path 15
PARAM_VALUE 6 receive_ring 11

drivers/thunderbolt/test.c tb_test_tunnel_dma_rx() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path (-1)
PARAM_VALUE 4 transmit_ring (-1)
PARAM_VALUE 5 receive_path 15
PARAM_VALUE 6 receive_ring 2

drivers/thunderbolt/test.c tb_test_tunnel_dma_tx() -> tb_tunnel_alloc_dma()

Type Parameter Key Value
PARAM_VALUE 0 tb 0
PARAM_VALUE 1 nhi 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 transmit_path 15
PARAM_VALUE 4 transmit_ring 2
PARAM_VALUE 5 receive_path (-1)
PARAM_VALUE 6 receive_ring (-1)