Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/netdevsim/dev.c nsim_dev_reload_create() -> nsim_dev_dummy_region_init()

Type Parameter Key Value
PARAM_VALUE 0 nsim_dev 4096-ptr_max
PARAM_VALUE 0 nsim_dev->fw_update_overwrite_mask 0
PARAM_VALUE 0 nsim_dev->fw_update_status 1
PARAM_VALUE 0 nsim_dev->port_list.next 4096-ptr_max
PARAM_VALUE 0 nsim_dev->port_list.next->next 4096-ptr_max
PARAM_VALUE 0 nsim_dev->port_list.prev 4096-ptr_max
PARAM_VALUE 0 nsim_dev->port_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nsim_dev->port_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 devlink 4096-ptr_max
DATA_SOURCE 0 nsim_dev r devlink_priv
DATA_SOURCE 1 devlink r priv_to_devlink
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 global &pernet_ops_rwsem
HALF_LOCKED2 global &rtnl_mutex

drivers/net/netdevsim/dev.c nsim_drv_probe() -> nsim_dev_dummy_region_init()

Type Parameter Key Value
PARAM_VALUE 0 nsim_dev 4096-ptr_max
PARAM_VALUE 0 nsim_dev->fw_update_flash_chunk_time_ms 100
PARAM_VALUE 0 nsim_dev->fw_update_overwrite_mask 0
PARAM_VALUE 0 nsim_dev->fw_update_status 1
PARAM_VALUE 0 nsim_dev->max_macs 32
PARAM_VALUE 0 nsim_dev->nsim_bus_dev 4096-ptr_max
PARAM_VALUE 0 nsim_dev->port_list.next 4096-ptr_max
PARAM_VALUE 0 nsim_dev->port_list.next->next 4096-ptr_max
PARAM_VALUE 0 nsim_dev->port_list.prev 4096-ptr_max
PARAM_VALUE 0 nsim_dev->port_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nsim_dev->port_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 nsim_dev->progs_list_lock.dep_map->name 0-255
PARAM_VALUE 0 nsim_dev->progs_list_lock.first_waiter 0
PARAM_VALUE 0 nsim_dev->progs_list_lock.magic 4096-ptr_max
PARAM_VALUE 0 nsim_dev->progs_list_lock.owner.counter 0
PARAM_VALUE 0 nsim_dev->switch_id.id 0
PARAM_VALUE 0 nsim_dev->switch_id.id_len 32
PARAM_VALUE 0 nsim_dev->test1 1
PARAM_VALUE 0 nsim_dev->test2 1234
PARAM_VALUE 0 nsim_dev->vfconfigs 16,4096-ptr_max
PARAM_VALUE 1 devlink 4096-ptr_max
PARAM_VALUE 1 devlink->index 0-4294967295
PARAM_VALUE 1 devlink->lock.dep_map->name 0-255
PARAM_VALUE 1 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 devlink->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 devlink->nested_rels.xa_flags 0-4294967295
PARAM_VALUE 1 devlink->params.xa_flags 0-4294967295
PARAM_VALUE 1 devlink->params.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 devlink->ports.xa_flags 0-4294967295
PARAM_VALUE 1 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 devlink->reload_failed 0-1
PARAM_VALUE 1 devlink->snapshot_ids.xa_flags 0-4294967295
BUF_SIZE 0 nsim_dev->vfconfigs 0-103079215080
BUF_SIZE 1 devlink s32min-s32max
CAPPED_DATA 1 devlink 1
DATA_SOURCE 0 nsim_dev r devlink_priv
DATA_SOURCE 1 devlink r devlink_alloc_ns
RX_PATH
TASK_NOT_RUNNING
LOCK2 1 &devlink->lock
TYPE_LOCK (struct devlink)->lock