Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/socket.c ____sys_sendmsg() -> __sock_sendmsg()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->file 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 1 msg->msg_control 36-s32max,u64max
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 msg $1
BIT_INFO 0 sock->file->f_flags 0x0,0xffffffff
BIT_INFO 1 msg->msg_flags 0x0,0xf7e6ffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 msg->msg_controllen 0-4000000[c]
USER_DATA 1 msg->msg_flags 0-u32max[c]
USER_DATA 1 *msg->msg_name s64min-s64max
USER_PTR 1 msg->msg_control
USER_PTR 1 msg->msg_name

net/socket.c __sys_sendto() -> __sock_sendmsg()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->file 4096-ptr_max
PARAM_VALUE 1 msg 6290197874174672896
PARAM_VALUE 1 msg->msg_control 0
PARAM_VALUE 1 msg->msg_controllen 0
PARAM_VALUE 1 msg->msg_name 0,7228453767765291008
PARAM_VALUE 1 msg->msg_namelen 0-128
PARAM_VALUE 1 msg->msg_ubuf 0
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 0 sock s32min-(-2),1-s32max
DATA_SOURCE 0 sock r sock_from_file
BIT_INFO 0 sock->file->f_flags 0x0,0xffffffff
USER_DATA 1 msg->msg_flags 0-u32max[c]
USER_DATA 1 msg->msg_namelen 0-128

net/socket.c sock_sendmsg() -> __sock_sendmsg()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->msg_name 0,2277468036926951424
BUF_SIZE 0 sock s32min-(-1),1-s32max
BUF_SIZE 0 sock s32min-(-1),1-s32max
BUF_SIZE 1 msg->msg_name (-1),128
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 msg $1
BIT_INFO 1 msg->msg_name 0x0,0x1f9b311cf0565000
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_backlog.len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->next->truesize
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->truesize
HALF_LOCKED2 &con->sock_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &psock->work_mutex
HALF_LOCKED2 &queue->send_mutex
HALF_LOCKED2 &sc->sc_send_lock
HALF_LOCKED2 &sock->mutex
HALF_LOCKED2 &xprt->xpt_mutex
HALF_LOCKED2 sk

net/socket.c sock_write_iter() -> __sock_sendmsg()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 1 msg 4004915677132279808
PARAM_VALUE 1 msg->msg_control 0
PARAM_VALUE 1 msg->msg_controllen 0
PARAM_VALUE 1 msg->msg_flags 0,64,128,192,16384,16448,16512,16576
PARAM_VALUE 1 msg->msg_inq 0
PARAM_VALUE 1 msg->msg_iter.__iov 0
PARAM_VALUE 1 msg->msg_iter.bvec 0
PARAM_VALUE 1 msg->msg_iter.count 0
PARAM_VALUE 1 msg->msg_iter.data_source 0
PARAM_VALUE 1 msg->msg_iter.folioq 0
PARAM_VALUE 1 msg->msg_iter.folioq_slot 0
PARAM_VALUE 1 msg->msg_iter.iter_type 0
PARAM_VALUE 1 msg->msg_iter.kvec 0
PARAM_VALUE 1 msg->msg_iter.nofault 0
PARAM_VALUE 1 msg->msg_iter.nr_segs 0
PARAM_VALUE 1 msg->msg_iter.ubuf 0
PARAM_VALUE 1 msg->msg_iter.xarray 0
PARAM_VALUE 1 msg->msg_iter.xarray_start 0
PARAM_VALUE 1 msg->msg_name 0
PARAM_VALUE 1 msg->msg_namelen 0
PARAM_VALUE 1 msg->msg_ubuf 0
PARAM_VALUE 1 msg->sg_from_iter 0
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 0 sock s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 msg->msg_iter.iov_offset 0-u64max[c]
HALF_LOCKED2 &pool->lock