Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/tun.c __tun_chr_ioctl() -> tun_detach_filter()

Type Parameter Key Value
PARAM_VALUE 0 tun 4096-ptr_max
PARAM_VALUE 0 tun->dev 4096-ptr_max
PARAM_VALUE 0 *tun->dev->name 0-255
CAPPED_DATA 0 tun->dev->nd_net.net 1
DATA_SOURCE 0 tun r tun_get
BIT_INFO 0 tun->msg_enable 0x0,0xffffffff
NOCHECK_CALL
UNITS 1 n unit_array_size
LOCK2 global &rtnl_mutex

drivers/net/tun.c tun_attach_filter() -> tun_detach_filter()

Type Parameter Key Value
PARAM_VALUE 0 tun 4096-ptr_max
PARAM_VALUE 0 tun->dev 4096-ptr_max
PARAM_VALUE 0 tun->numqueues 1-u32max
PARAM_VALUE 0 tun->tfiles 4096-ptr_max
PARAM_VALUE 0 *tun->dev->name 0-255
PARAM_VALUE 1 n 0-s32max
CAPPED_DATA 0 tun->dev->nd_net.net 1
CAPPED_DATA 1 n 1
DATA_SOURCE 0 tun $0
FUZZY_MAX 1 n 0
PARAM_COMPARE 1 n < $0->numqueues
BIT_INFO 0 tun->msg_enable 0x0,0xffffffff
NOSPEC 0 tun->fprog.len
NOCHECK_CALL
USER_DATA 0 tun->fprog.len 0-u16max
UNITS 1 n unit_array_size
LOCK2 global &rtnl_mutex