Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/tun.c tun_chr_read_iter() -> tun_do_read()

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 to 4096-ptr_max
PARAM_VALUE 3 noblock 0-1
PARAM_VALUE 4 ptr 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 2 to $1
FUZZY_MAX 3 noblock 1
NOSPEC 2 to->count
HARD_MAX 3 noblock 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 to->count 1-1000000000
USER_DATA 2 to->iov_offset 0-u64max[c]
HALF_LOCKED2 &pool->lock

drivers/net/tun.c tun_recvmsg() -> tun_do_read()

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 to 4096-ptr_max
PARAM_VALUE 3 noblock 0,64
BUF_SIZE 4 ptr (-1)-0,16-17,24
BUF_SIZE 4 ptr (-1)-0,16-17,24
DATA_SOURCE 0 tun r tun_get
BIT_INFO 3 noblock 0x0,0x40
NOSPEC 2 to->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 to->count 0-u64max
USER_DATA 2 to->iov_offset 0-u64max[c]
USER_DATA 3 noblock 0,64[c]
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk