Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/key/af_key.c pfkey_flush() -> xfrm_state_flush()

Type Parameter Key Value
PARAM_VALUE 1 proto 50-51,108,255
PARAM_VALUE 2 task_valid 1
DATA_SOURCE 1 proto r pfkey_satype2proto
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
LOCK2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
TYPE_LOCK (struct netns_xfrm)->xfrm_cfg_mutex

net/xfrm/xfrm_state.c xfrm_state_fini() -> xfrm_state_flush()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->xfrm.sysctl_hdr 0,4096-ptr_max
PARAM_VALUE 0 net->xfrm.sysctl_hdr->parent->header.unregistering 6314552520588304384,(-22)
PARAM_VALUE 0 net->xfrm.sysctl_hdr->parent->header.unregistering->wait.lock.magic 3735899821
PARAM_VALUE 0 net->xfrm.sysctl_hdr->parent->header.unregistering->wait.lock.owner (-1)
PARAM_VALUE 0 net->xfrm.sysctl_hdr->parent->header.unregistering->wait.lock.owner_cpu u32max
PARAM_VALUE 0 net->xfrm.sysctl_hdr->parent->header.unregistering->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 net->xfrm.sysctl_hdr->parent->header.unregistering->wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 net->xfrm.sysctl_hdr->parent->root.rb_node 4096-ptr_max
PARAM_VALUE 0 net->xfrm.sysctl_hdr->unregistering->wait.lock.magic 3735899821
PARAM_VALUE 0 net->xfrm.sysctl_hdr->unregistering->wait.lock.owner (-1)
PARAM_VALUE 0 net->xfrm.sysctl_hdr->unregistering->wait.lock.owner_cpu u32max
PARAM_VALUE 0 net->xfrm.sysctl_hdr->unregistering->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 net->xfrm.sysctl_hdr->unregistering->wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 net->xfrm.xfrm_policy_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *net->xfrm.policy_count 0-4294967295
PARAM_VALUE 1 proto 0
PARAM_VALUE 2 task_valid 0
BUF_SIZE 0 net (-1)-s32max
BUF_SIZE 0 net (-1)-s32max
BUF_SIZE 0 net->key_domain (-1),24
BUF_SIZE 0 net->ucounts (-1),184
CAPPED_DATA 0 &net->xfrm.state_hash_work 1
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &pernet_ops_rwsem

net/ipv6/xfrm6_tunnel.c xfrm6_tunnel_net_exit() -> xfrm_state_flush()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 proto 0
PARAM_VALUE 2 task_valid 0
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &pernet_ops_rwsem

net/xfrm/xfrm_user.c xfrm_flush_sa() -> xfrm_state_flush()

Type Parameter Key Value
PARAM_VALUE 2 task_valid 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 proto 0-255
UNITS 0 net unit_byte
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read