Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/tun.c tun_chr_write_iter() -> tun_get_user()

Type Parameter Key Value
PARAM_VALUE 0 tun 4096-ptr_max
PARAM_VALUE 0 tun->dev 0,4096-ptr_max
PARAM_VALUE 1 tfile 4096-ptr_max
PARAM_VALUE 1 tfile->tun 4096-ptr_max
PARAM_VALUE 1 tfile->tun->dev 0,4096-ptr_max
PARAM_VALUE 2 msg_control 0
PARAM_VALUE 4 noblock 0-1
PARAM_VALUE 5 more 0
BUF_SIZE 1 tfile s32min-(-2),1-s32max
BUF_SIZE 1 tfile s32min-(-2),1-s32max
DATA_SOURCE 0 tun r tun_get
DATA_SOURCE 3 from $1
FUZZY_MAX 4 noblock 1
NOSPEC 3 from->count
HARD_MAX 4 noblock 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 from->count 0-18446744073709551614
USER_DATA 3 from->iov_offset 0-u64max[c]
HALF_LOCKED2 &pool->lock

drivers/net/tun.c tun_sendmsg() -> tun_get_user()

Type Parameter Key Value
PARAM_VALUE 0 tun 4096-ptr_max
PARAM_VALUE 0 tun->dev 0,4096-ptr_max
PARAM_VALUE 1 tfile 4096-ptr_max
PARAM_VALUE 1 tfile->tun 4096-ptr_max
PARAM_VALUE 1 tfile->tun->dev 0,4096-ptr_max
PARAM_VALUE 3 from 4096-ptr_max
PARAM_VALUE 4 noblock 0,64
BUF_SIZE 2 msg_control 0,16
DATA_SOURCE 0 tun r tun_get
BIT_INFO 4 noblock 0x0,0x40
BIT_INFO 5 more 0x0,0x8000
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 from->count 1-18446744073709551614
USER_DATA 3 from->iov_offset 0-u64max[c]
USER_DATA 4 noblock 64[c]
USER_DATA 5 more 0-1[c]
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk