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_disconnect_xdomain_paths() -> tb_tunnel_match_dma()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->src_port 1
CAPPED_DATA 0 &tunnel->list 1
DATA_SOURCE 1 transmit_path $2
DATA_SOURCE 2 transmit_ring $3
DATA_SOURCE 3 receive_path $4
DATA_SOURCE 4 receive_ring $5
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tb->lock
TYPE_LOCK (struct tb)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 15
PARAM_VALUE 2 transmit_ring 1
PARAM_VALUE 3 receive_path 15
PARAM_VALUE 4 receive_ring 1
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 8
PARAM_VALUE 2 transmit_ring 1
PARAM_VALUE 3 receive_path 15
PARAM_VALUE 4 receive_ring 1
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 tunnel->src_port 1
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path 15
PARAM_VALUE 4 receive_ring 1
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 tunnel->src_port 1
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 15
PARAM_VALUE 2 transmit_ring 1
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 tunnel->src_port 1
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 15
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 tunnel->src_port 1
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring 1
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 tunnel->src_port 1
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path 15
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 tunnel->src_port 1
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring 1
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 tunnel->src_port 1
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 tunnel->src_port 1
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 8
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path 8
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
CAPPED_DATA 0 tunnel->dst_port 1
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 tunnel->src_port 1
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 15
PARAM_VALUE 2 transmit_ring 1
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 15
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring 1
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 15
PARAM_VALUE 2 transmit_ring 1
PARAM_VALUE 3 receive_path 15
PARAM_VALUE 4 receive_ring 1
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path 15
PARAM_VALUE 4 receive_ring 1
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 15
PARAM_VALUE 2 transmit_ring 11
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path 15
PARAM_VALUE 4 receive_ring 11
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path 15
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring 11
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path 15
PARAM_VALUE 4 receive_ring 1
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path (-1)
PARAM_VALUE 2 transmit_ring (-1)
PARAM_VALUE 3 receive_path 10
PARAM_VALUE 4 receive_ring 11
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-2
PARAM_VALUE 0 tunnel->paths 4096-ptr_max
PARAM_VALUE 1 transmit_path 15
PARAM_VALUE 2 transmit_ring 11
PARAM_VALUE 3 receive_path (-1)
PARAM_VALUE 4 receive_ring (-1)
BUF_SIZE 0 tunnel 384-392
BUF_SIZE 0 tunnel 384-392
DATA_SOURCE 0 tunnel r tb_tunnel_alloc_dma