Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

net/core/skbuff.c skb_zerocopy_clone() -> skb_zcopy_set()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 2 have_ref 0
BUF_SIZE 0 skb (-1)-s32max
BUF_SIZE 0 skb (-1)-s32max
BUF_SIZE 1 uarg s32min-(-2),1-s32max
DATA_SOURCE 0 skb $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 skb->data_len 0-u32max[c]
HOST_DATA 0 skb->len 0-u32max[c]
HOST_DATA 0 skb->truesize 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 skb->data_len
NO_OVERFLOW_SIMPLE 0 skb->end
NO_OVERFLOW_SIMPLE 0 skb->len
NO_OVERFLOW_SIMPLE 0 skb->truesize

net/core/skbuff.c skb_zerocopy_iter_stream() -> skb_zcopy_set()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->pfmemalloc 1
PARAM_VALUE 0 skb->unreadable 1
PARAM_VALUE 1 uarg 4096-ptr_max
PARAM_VALUE 1 uarg->ops 4096-ptr_max
PARAM_VALUE 1 uarg->ops->link_skb 0,5237512801170354176
PARAM_VALUE 2 have_ref 0
CAPPED_DATA 1 uarg 1
DATA_SOURCE 0 skb $1
DATA_SOURCE 1 uarg $4
NOCHECK_CALL

net/vmw_vsock/virtio_transport_common.c virtio_transport_alloc_skb() -> skb_zcopy_set()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->destructor 0,5871617288306880512,7346051344949997568
PARAM_VALUE 0 skb->head 4096-ptr_max
PARAM_VALUE 0 skb->head->buf_alloc 0
PARAM_VALUE 0 skb->head->dst_cid 0-4294967295
PARAM_VALUE 0 skb->head->dst_port 0-4294967295
PARAM_VALUE 0 skb->head->flags 0-3
PARAM_VALUE 0 skb->head->fwd_cnt 0
PARAM_VALUE 0 skb->head->len 0-65536
PARAM_VALUE 0 skb->head->op 1-6
PARAM_VALUE 0 skb->head->src_cid 0-4294967295
PARAM_VALUE 0 skb->head->src_port 0-4294967295
PARAM_VALUE 0 skb->head->type 0-u16max
PARAM_VALUE 0 skb->sk 0,4096-ptr_max
PARAM_VALUE 2 have_ref 0
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 1 uarg (-1)-0,16
BUF_SIZE 1 uarg (-1)-0,16
DATA_SOURCE 0 skb r virtio_vsock_alloc_skb
DATA_SOURCE 1 uarg $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 child
HALF_LOCKED2 sk

net/ipv6/ip6_output.c __ip6_append_data() -> skb_zcopy_set()

Type Parameter Key Value
PARAM_VALUE 0 skb 0,4096-ptr_max
PARAM_VALUE 1 uarg 4096-ptr_max
PARAM_VALUE 2 have_ref 4617523882194636800
BUF_SIZE 1 uarg s32min-(-1),1-s32max
BUF_SIZE 1 uarg s32min-(-1),1-s32max
DATA_SOURCE 0 skb r skb_peek_tail
DATA_SOURCE 1 uarg r msg_zerocopy_realloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/ipv4/tcp_output.c tcp_send_syn_data() -> skb_zcopy_set()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data 4096-ptr_max
PARAM_VALUE 0 skb->ip_summed 3
PARAM_VALUE 0 skb->pfmemalloc 1
PARAM_VALUE 0 skb->tcp_tsorted_anchor.next 4096-ptr_max
PARAM_VALUE 0 skb->tcp_tsorted_anchor.next->next 4096-ptr_max
PARAM_VALUE 0 skb->tcp_tsorted_anchor.prev 4096-ptr_max
PARAM_VALUE 0 skb->tcp_tsorted_anchor.prev->next 4096-ptr_max
PARAM_VALUE 0 skb->tcp_tsorted_anchor.prev->prev 4096-ptr_max
PARAM_VALUE 0 skb->unreadable 1
PARAM_VALUE 2 have_ref 0
BUF_SIZE 0 skb 320
BUF_SIZE 0 skb 320
DATA_SOURCE 0 skb r tcp_stream_alloc_skb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/ip_output.c __ip_append_data() -> skb_zcopy_set()

Type Parameter Key Value
PARAM_VALUE 0 skb 0,4096-ptr_max
PARAM_VALUE 1 uarg 4096-ptr_max
PARAM_VALUE 2 have_ref 9020104239159586816
BUF_SIZE 1 uarg s32min-(-1),1-s32max
BUF_SIZE 1 uarg s32min-(-1),1-s32max
DATA_SOURCE 0 skb r skb_peek_tail
DATA_SOURCE 1 uarg r msg_zerocopy_realloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/ipv4/ip_output.c __ip_append_data() -> skb_zcopy_set()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data 4096-ptr_max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 0 skb->ip_summed 0,3
PARAM_VALUE 2 have_ref 9020104239159586816
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 1 uarg s32min-s32max
FUZZY_MAX 0 skb->ip_summed 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL