Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/mctp/route.c mctp_test_bind_lookup() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->cb 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
BUF_SIZE 0 skb 5-6,12
BUF_SIZE 0 skb 5-6,12
DATA_SOURCE 0 skb r __mctp_test_create_skb_data
NOCHECK_CALL

net/mctp/route.c mctp_test_route_extaddr_input() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->cb 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
DATA_SOURCE 0 skb r mctp_test_create_skb
NOCHECK_CALL

net/mctp/route.c mctp_test_route_input_cloned_frag() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 0,4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
NOCHECK_CALL

net/mctp/route.c mctp_test_route_input_multiple_nets_bind_init() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->cb 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
BUF_SIZE 0 skb 5-6,12
BUF_SIZE 0 skb 5-6,12
DATA_SOURCE 0 skb r __mctp_test_create_skb_data
NOCHECK_CALL
USER_PTR 0 skb->data

net/mctp/route.c mctp_test_route_input_multiple_nets_key_init() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->cb 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
BUF_SIZE 0 skb 5-6,12
BUF_SIZE 0 skb 5-6,12
DATA_SOURCE 0 skb r __mctp_test_create_skb_data
NOCHECK_CALL
USER_PTR 0 skb->data

net/mctp/route.c mctp_test_route_input_sk() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->cb 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
BUF_SIZE 0 skb 5-6,12
BUF_SIZE 0 skb 5-6,12
DATA_SOURCE 0 skb r __mctp_test_create_skb_data
NOCHECK_CALL

net/mctp/route.c mctp_test_route_input_sk_fail_frag() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 0,4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
NOCHECK_CALL

net/mctp/route.c mctp_test_route_input_sk_fail_single() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->cb 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
DATA_SOURCE 0 skb r mctp_test_create_skb
NOCHECK_CALL

net/mctp/route.c mctp_test_route_input_sk_keys() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->cb 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->mdev 4096-ptr_max
BUF_SIZE 0 skb 5-6,12
BUF_SIZE 0 skb 5-6,12
DATA_SOURCE 0 skb r __mctp_test_create_skb_data
DATA_SOURCE 1 dev r mctp_test_create_dev
NOCHECK_CALL

net/mctp/route.c mctp_test_route_input_sk_reasm() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->cb 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
BUF_SIZE 0 skb 5-6,12
BUF_SIZE 0 skb 5-6,12
DATA_SOURCE 0 skb r __mctp_test_create_skb_data
NOCHECK_CALL

net/mctp/af_mctp.c mctp_test_sock_recvmsg_extaddr() -> mctp_test_skb_set_dev()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->cb 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
BUF_SIZE 0 skb 5-6,12
BUF_SIZE 0 skb 5-6,12
DATA_SOURCE 0 skb r __mctp_test_create_skb_data
NOCHECK_CALL