Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/tun.c tun_free_netdev() -> __tun_set_ebpf()

Type Parameter Key Value
PARAM_VALUE 0 tun 4096-ptr_max
PARAM_VALUE 0 tun->disabled.next 4096-ptr_max
PARAM_VALUE 0 tun->flow_gc_timer.entry.pprev 0
PARAM_VALUE 0 tun->flow_gc_timer.flags 0-4194302
PARAM_VALUE 0 tun->flow_gc_timer.function 0
PARAM_VALUE 0 tun->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *tun->dev->name 0-255
PARAM_VALUE 1 prog_p 4096-ptr_max
PARAM_VALUE 2 prog 0
CAPPED_DATA 0 tun->security 1
CAPPED_DATA 0 &tun->disabled 1
PARAM_COMPARE 0 &tun->disabled == $0->disabled.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/tun.c tun_free_netdev() -> __tun_set_ebpf()

Type Parameter Key Value
PARAM_VALUE 0 tun 4096-ptr_max
PARAM_VALUE 0 tun->disabled.next 4096-ptr_max
PARAM_VALUE 0 tun->flow_gc_timer.entry.pprev 0
PARAM_VALUE 0 tun->flow_gc_timer.flags 0-4194302
PARAM_VALUE 0 tun->flow_gc_timer.function 0
PARAM_VALUE 0 tun->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tun->steering_prog 0,4096-ptr_max
PARAM_VALUE 0 tun->steering_prog->rcu.next 0
PARAM_VALUE 0 *tun->dev->name 0-255
PARAM_VALUE 1 prog_p 4096-ptr_max
PARAM_VALUE 2 prog 0
CAPPED_DATA 0 tun->security 1
CAPPED_DATA 0 &tun->disabled 1
PARAM_COMPARE 0 &tun->disabled == $0->disabled.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/tun.c tun_set_ebpf() -> __tun_set_ebpf()

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
PARAM_VALUE 1 prog_p 4096-ptr_max
PARAM_VALUE 2 prog 0,4096-ptr_max
BUF_SIZE 2 prog s32min-(-2),0-s32max
BUF_SIZE 2 prog s32min-(-2),0-s32max
CAPPED_DATA 0 tun->dev->nd_net.net 1
DATA_SOURCE 0 tun $0
DATA_SOURCE 1 prog_p $1
BIT_INFO 0 tun->msg_enable 0x0,0xffffffff
LOCK2 global &rtnl_mutex