Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/dsa/dsa.c dsa_switch_shutdown() -> netif_close_many()

Type Parameter Key Value
PARAM_VALUE 0 head 5719612288263643136
PARAM_VALUE 0 head->next 5719612288263643136
PARAM_VALUE 0 head->prev 4096-ptr_max
PARAM_VALUE 1 unlink 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &dsa2_mutex
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &parent->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct device)->mutex

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_eth_set_dma_device() -> netif_close_many()

Type Parameter Key Value
PARAM_VALUE 0 head 4871986010073964544
PARAM_VALUE 0 head->next 4871986010073964544
PARAM_VALUE 0 head->prev 4096-ptr_max
PARAM_VALUE 1 unlink 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &hw_lock
LOCK2 global &rtnl_mutex

net/core/dev.c netif_close() -> netif_close_many()

Type Parameter Key Value
PARAM_VALUE 0 head 7608961968850681856
PARAM_VALUE 0 head->next 4096-ptr_max
PARAM_VALUE 0 head->prev 7608961968850681856
PARAM_VALUE 1 unlink 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock
HALF_LOCKED2 global &rtnl_mutex

net/core/dev.c netif_close_many_and_unlock() -> netif_close_many()

Type Parameter Key Value
PARAM_VALUE 0 head 4297553210709024768
PARAM_VALUE 0 head->next 4297553210709024768
PARAM_VALUE 0 head->prev 4096-ptr_max
PARAM_VALUE 1 unlink 0
DATA_SOURCE 0 head $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 global &ovs_mutex
HALF_LOCKED2 global &rtnl_mutex

net/core/dev.c unregister_netdevice_many_notify() -> netif_close_many()

Type Parameter Key Value
PARAM_VALUE 0 head 4297553210709024768
PARAM_VALUE 0 head->next 4297553210709024768
PARAM_VALUE 0 head->prev 4096-ptr_max
PARAM_VALUE 1 unlink 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &tgt_net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/dsa/user.c dsa_user_netdevice_event() -> netif_close_many()

Type Parameter Key Value
PARAM_VALUE 0 head 2522996232488452096
PARAM_VALUE 0 head->next 2522996232488452096
PARAM_VALUE 0 head->prev 4096-ptr_max
PARAM_VALUE 1 unlink 0
NOCHECK_CALL