Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_net.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_pf.controller | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_pf.external | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_pf.pf | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.controller | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.external | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.controller | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.external | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 2 | port_index | 0-254 |
| PARAM_VALUE | 3 | ops | 0 |
| CAPPED_DATA | 2 | port_index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| MEM_ZERO | 1 | devlink_port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | port_index | |
| UNITS | 2 | port_index | unit_array_size |
drivers/net/ethernet/fungible/funeth/funeth_main.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 2 | port_index | 0-u16max |
| PARAM_VALUE | 3 | ops | 0 |
| CAPPED_DATA | 2 | port_index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | port_index | |
| UNITS | 2 | port_index | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx5/core/en/devlink.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 2 | port_index | 0,u16max-u32max |
| PARAM_VALUE | 3 | ops | 0 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &primary_adev->adev.dev.mutex |
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_pf.controller | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_pf.external | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_pf.pf | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.controller | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.external | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.controller | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.external | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 2 | port_index | 0 |
| PARAM_VALUE | 3 | ops | 0 |
| BUF_SIZE | 1 | devlink_port | 472 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/usb/kvaser_usb/kvaser_usb_devlink.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 2 | port_index | 0-4 |
| PARAM_VALUE | 3 | ops | 0 |
| CAPPED_DATA | 2 | port_index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/pensando/ionic/ionic_devlink.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 2 | port_index | 0 |
| PARAM_VALUE | 3 | ops | 0 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/can/kvaser_pciefd/kvaser_pciefd_devlink.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 2 | port_index | 0-7 |
| PARAM_VALUE | 3 | ops | 0 |
| CAPPED_DATA | 2 | port_index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | devlink_port->attrs.lanes | 0-u32max |
| HOST_DATA | 1 | devlink_port->attrs.no_phys_port_name | 0-1 |
| HOST_DATA | 1 | devlink_port->attrs.pci_sf.sf | 0-u32max |
| HOST_DATA | 1 | devlink_port->attrs.pci_vf.vf | 0-u16max |
| HOST_DATA | 1 | devlink_port->attrs.phys.port_number | 0-u32max |
| HOST_DATA | 1 | devlink_port->attrs.phys.split_subport_number | 0-u32max |
| HOST_DATA | 1 | devlink_port->attrs.split | 0-1 |
| HOST_DATA | 1 | devlink_port->attrs.splittable | 0-1 |
| HOST_DATA | 1 | devlink_port->desired_type | 0-u32max |
| HOST_DATA | 1 | devlink_port->index | 0-u32max |
| HOST_DATA | 1 | devlink_port->initialized | 0-1 |
| HOST_DATA | 1 | devlink_port->registered | 0-1 |
| HOST_DATA | 1 | devlink_port->rel_index | 0-u32max |
| HOST_DATA | 1 | devlink_port->switch_port | 0-1 |
| HOST_DATA | 1 | devlink_port->type | 0-u32max |
| HOST_DATA | 1 | devlink_port->type_eth.ifindex | s32min-s32max |
| HOST_DATA | 1 | devlink_port->type_warn_dw.cpu | s32min-s32max |
| HOST_DATA | 1 | devlink_port->type_warn_dw.timer.expires | 0-u64max |
| HOST_DATA | 1 | devlink_port->type_warn_dw.timer.flags | 0-u32max |
| HOST_DATA | 1 | devlink_port->type_warn_dw.work.data.counter | s64min-s64max |
| UNITS | 2 | port_index | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/net/can/usb/etas_es58x/es58x_core.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 2 | port_index | 0-1 |
| PARAM_VALUE | 3 | ops | 0 |
| CAPPED_DATA | 2 | port_index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 3 | ops | 0 |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->dev_name_index | 1 |
| CAPPED_DATA | 0 | devlink->ops->reload_actions | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
net/dsa/devlink.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_pf.controller | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_pf.external | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_pf.pf | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.controller | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.external | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.controller | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.external | 0 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 1 | devlink_port->initialized | 1 |
| PARAM_VALUE | 1 | devlink_port->region_list.next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->region_list.prev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->resource_list.next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->resource_list.prev | 0,4096-ptr_max |
| PARAM_VALUE | 3 | ops | 0 |
| BUF_SIZE | 1 | devlink_port | 472 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| MEM_ZERO | 1 | devlink_port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |
drivers/net/ethernet/intel/i40e/i40e_devlink.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 3 | ops | 0 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
drivers/net/ethernet/marvell/prestera/prestera_devlink.c devlink_port_register() -> devlink_port_register_with_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_sf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.pci_vf.pf | 0-255 |
| PARAM_VALUE | 1 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 1 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 3 | ops | 0 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | devlink_port | $1 |
| DATA_SOURCE | 2 | port_index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |