Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

net/ipv4/nexthop.c nh_netdev_event() -> rt_cache_flush()

Type Parameter Key Value
NOCHECK_CALL

net/ipv4/nexthop.c nh_rt_cache_flush() -> rt_cache_flush()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 global &rtnl_mutex
LOCK2 0 &net->rtnl_mutex
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 &rx_queue_mutex
TYPE_LOCK (struct net)->rtnl_mutex

net/ipv4/fib_frontend.c fib_disable_ip() -> rt_cache_flush()

Type Parameter Key Value
NOCHECK_CALL

net/ipv4/fib_frontend.c fib_flush() -> rt_cache_flush()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
HALF_LOCKED2 global &pernet_ops_rwsem
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &net->rtnl_mutex

net/ipv4/fib_frontend.c fib_inetaddr_event() -> rt_cache_flush()

Type Parameter Key Value
NOCHECK_CALL
UNITS 0 net unit_byte

net/ipv4/fib_frontend.c fib_inetaddr_event() -> rt_cache_flush()

Type Parameter Key Value
NOCHECK_CALL
UNITS 0 net unit_byte

net/ipv4/fib_frontend.c fib_netdev_event() -> rt_cache_flush()

Type Parameter Key Value
NOCHECK_CALL
UNITS 0 net unit_byte

net/ipv4/fib_frontend.c fib_netdev_event() -> rt_cache_flush()

Type Parameter Key Value
NOCHECK_CALL
UNITS 0 net unit_byte

net/ipv4/fib_frontend.c fib_netdev_event() -> rt_cache_flush()

Type Parameter Key Value
NOCHECK_CALL
UNITS 0 net unit_byte

net/ipv4/arp.c arp_netdev_event() -> rt_cache_flush()

Type Parameter Key Value
NOCHECK_CALL

net/ipv4/fib_rules.c fib4_rule_flush_cache() -> rt_cache_flush()

Type Parameter Key Value
PARAM_VALUE 0 net 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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

net/ipv4/fib_trie.c fib_table_delete() -> rt_cache_flush()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv4/fib_trie.c fib_table_insert() -> rt_cache_flush()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv4/fib_trie.c fib_table_insert() -> rt_cache_flush()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv4/route.c ip_rt_multicast_event() -> rt_cache_flush()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pmc->lock
HALF_LOCKED2 bh
HALF_LOCKED2 global &rtnl_mutex

net/ipv4/route.c ipv4_sysctl_rtcache_flush() -> rt_cache_flush()

Type Parameter Key Value
BUF_SIZE 0 net 1-s32max
BUF_SIZE 0 net 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
HALF_LOCKED2 &pool->lock

net/ipv4/devinet.c devinet_conf_proc() -> rt_cache_flush()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
BUF_SIZE 0 net 1-s32max
BUF_SIZE 0 net 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
HALF_LOCKED2 &pool->lock

net/ipv4/devinet.c devinet_sysctl_forward() -> rt_cache_flush()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
BUF_SIZE 0 net 1-s32max
BUF_SIZE 0 net 1-s32max
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
HALF_LOCKED2 &pool->lock

net/ipv4/devinet.c inet_set_link_af() -> rt_cache_flush()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 global &rtnl_mutex
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 &rx_queue_mutex