Defined in 2 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/net/ethernet/sfc/efx.c efx_unregister_netdev() -> efx_dev_registered()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 0 efx->net_dev 4096-ptr_max
BUF_SIZE 0 efx s32min-(-2),1-s32max
BUF_SIZE 0 efx s32min-(-2),1-s32max
CAPPED_DATA 0 efx 1
DATA_SOURCE 0 efx $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 efx unit_byte
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/sfc/ef100_netdev.c ef100_unregister_netdev() -> efx_dev_registered()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 0 efx->net_dev 4096-ptr_max
BUF_SIZE 0 efx 5888
DATA_SOURCE 0 efx $0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/sfc/siena/mtd.c efx_siena_mtd_remove() -> efx_dev_registered()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 0 efx->net_dev 4096-ptr_max
BUF_SIZE 0 efx s32min-(-2),1-s32max
BUF_SIZE 0 efx s32min-(-2),1-s32max
CAPPED_DATA 0 efx 1
DATA_SOURCE 0 efx $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 efx unit_byte
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/sfc/mcdi_filters.c efx_mcdi_filter_add_vlan() -> efx_dev_registered()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
BUF_SIZE 0 efx->nic_data (-1),1360
CAPPED_DATA 0 &efx->filter_sem 1
DATA_SOURCE 0 efx $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 efx->n_channels 1[c]
HOST_DATA 0 efx->n_rx_channels 1[c]
HOST_DATA 0 efx->n_tx_channels 1[c]
HOST_DATA 0 efx->pci_dev->acs_capabilities 0-u16max
HOST_DATA 0 efx->pci_dev->class 0-16777215
HOST_DATA 0 efx->pci_dev->current_state 0-3[c]
HOST_DATA 0 efx->pci_dev->devcap 0-u32max
HOST_DATA 0 efx->pci_dev->device 0-u16max
HOST_DATA 0 efx->pci_dev->eetlp_prefix_max 0-7[c]
HOST_DATA 0 efx->pci_dev->fm_enabled 0-1[c]
HOST_DATA 0 efx->pci_dev->hdr_type 0-255[c]
HOST_DATA 0 efx->pci_dev->ide_cfg 0-1[c]
HOST_DATA 0 efx->pci_dev->ide_tee_limit 0-1[c]
HOST_DATA 0 efx->pci_dev->irq 0-255
HOST_DATA 0 efx->pci_dev->is_cxl 0-1
HOST_DATA 0 efx->pci_dev->multifunction 0-1[c]
HOST_DATA 0 efx->pci_dev->nr_ide_mem 0-255[c]
HOST_DATA 0 efx->pci_dev->pcie_flags_reg 0-u16max
HOST_DATA 0 efx->pci_dev->pcie_mpss 0-7[c]
HOST_DATA 0 efx->pci_dev->pin 0
HOST_DATA 0 efx->pci_dev->pme_support 0-31[c]
HOST_DATA 0 efx->pci_dev->ptm_granularity 0-255[c]
HOST_DATA 0 efx->pci_dev->revision 0-255
HOST_DATA 0 efx->pci_dev->subsystem_device 0-u16max
HOST_DATA 0 efx->pci_dev->subsystem_vendor 0-u16max
HOST_DATA 0 efx->pci_dev->supported_speeds 0,2-254[c]
HOST_DATA 0 efx->pci_dev->transparent 0[c]
HOST_DATA 0 efx->pci_dev->vendor 0-u16max
HOST_DATA 0 efx->rss_spread 1[c]
HOST_DATA 0 efx->rx_dc_base 73648[c]
HOST_DATA 0 efx->tx_dc_base 73712[c]
HOST_DATA 0 efx->xdp_channel_offset 1[c]
NO_OVERFLOW_SIMPLE 0 efx->primary->vf_count
NO_OVERFLOW_SIMPLE 0 efx->primary->vf_init_count
NO_OVERFLOW_SIMPLE 0 efx->ptp_data->phc_clock->clock.dev->dma_range_map
NO_OVERFLOW_SIMPLE 0 efx->stats_buffer.len
NO_OVERFLOW_SIMPLE 0 efx->type->max_rx_ip_filters
NO_OVERFLOW_SIMPLE 0 efx->vf_count
NO_OVERFLOW_SIMPLE 0 efx->vf_init_count
NO_OVERFLOW_SIMPLE 0 efx->xdp_tx_queue_count
LOCK2 0 &efx->filter_sem
HALF_LOCKED2 &nic_data->vlan_lock
HALF_LOCKED2 0 &efx->mac_lock
TYPE_LOCK (struct efx_nic)->filter_sem

drivers/net/ethernet/sfc/mcdi_filters.c efx_mcdi_filter_sync_rx_mode() -> efx_dev_registered()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
BUF_SIZE 0 efx s32min-(-1),1-s32max
BUF_SIZE 0 efx s32min-(-1),1-s32max
DATA_SOURCE 0 efx $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 efx->pci_dev->current_state 0-3[c]
USER_DATA 0 efx->wanted_fc 0-7[c]
NO_OVERFLOW_SIMPLE 0 efx->stats_buffer.len
NO_OVERFLOW_SIMPLE 0 efx->type->max_rx_ip_filters
LOCK2 0 &efx->filter_sem
LOCK2 0 &efx->mac_lock
TYPE_LOCK (struct efx_nic)->filter_sem
TYPE_LOCK (struct efx_nic)->mac_lock

drivers/net/ethernet/sfc/siena/farch.c efx_farch_filter_sync_rx_mode() -> efx_dev_registered()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
BUF_SIZE 0 efx s32min-(-1),1-s32max
BUF_SIZE 0 efx s32min-(-1),1-s32max
DATA_SOURCE 0 efx $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 efx->pci_dev->current_state 0-3[c]
USER_DATA 0 efx->wanted_fc 0-7[c]
NO_OVERFLOW_SIMPLE 0 efx->stats_buffer.len
NO_OVERFLOW_SIMPLE 0 efx->type->max_rx_ip_filters
LOCK2 0 &efx->filter_sem
LOCK2 0 &efx->mac_lock
TYPE_LOCK (struct efx_nic)->filter_sem
TYPE_LOCK (struct efx_nic)->mac_lock

drivers/net/ethernet/sfc/siena/efx.c efx_unregister_netdev() -> efx_dev_registered()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 0 efx->net_dev 4096-ptr_max
BUF_SIZE 0 efx s32min-(-2),1-s32max
BUF_SIZE 0 efx s32min-(-2),1-s32max
CAPPED_DATA 0 efx 1
DATA_SOURCE 0 efx $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 efx unit_byte
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/sfc/mtd.c efx_mtd_remove() -> efx_dev_registered()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 0 efx->net_dev 4096-ptr_max
BUF_SIZE 0 efx s32min-(-2),1-s32max
BUF_SIZE 0 efx s32min-(-2),1-s32max
CAPPED_DATA 0 efx 1
DATA_SOURCE 0 efx $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 efx unit_byte
HALF_LOCKED2 &dev->mutex