Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/tun.c tun_flow_cleanup() -> tun_flow_delete()

Type Parameter Key Value
PARAM_VALUE 0 tun 4096-ptr_max
PARAM_VALUE 0 tun->flows 4096-ptr_max
PARAM_VALUE 0 tun->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 e 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &tun->lock
TYPE_LOCK (struct tun_struct)->lock

drivers/net/tun.c tun_flow_delete_by_queue() -> tun_flow_delete()

Type Parameter Key Value
PARAM_VALUE 0 tun 4096-ptr_max
PARAM_VALUE 0 tun->disabled.prev 4096-ptr_max
PARAM_VALUE 0 tun->disabled.prev->next 4096-ptr_max
PARAM_VALUE 0 tun->disabled.prev->next->next 4096-ptr_max
PARAM_VALUE 0 tun->flows 4096-ptr_max
PARAM_VALUE 0 tun->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tun->numqueues 0-4294967294
PARAM_VALUE 0 tun->tfiles 4096-ptr_max
PARAM_VALUE 1 e 4096-ptr_max
PARAM_VALUE 1 e->queue_index 0-u16max
CAPPED_DATA 1 e->queue_index 1
DATA_SOURCE 0 tun $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 global &rtnl_mutex
LOCK2 0 &tun->lock
TYPE_LOCK (struct tun_struct)->lock

drivers/net/tun.c tun_flow_flush() -> tun_flow_delete()

Type Parameter Key Value
PARAM_VALUE 0 tun 4096-ptr_max
PARAM_VALUE 0 tun->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,33-34,50
PARAM_VALUE 0 tun->dev->rtnl_link_ops->priv_size 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max
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->flows 4096-ptr_max
PARAM_VALUE 0 tun->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *tun->dev->name 0-255
PARAM_VALUE 0 *tun->dev->prio_tc_map 0-255
PARAM_VALUE 1 e 4096-ptr_max
DATA_SOURCE 0 tun $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &tun->lock
TYPE_LOCK (struct tun_struct)->lock