Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/devlink/region.c devlink_nl_region_new_doit() -> devlink_nl_region_notify_build()

Type Parameter Key Value
PARAM_VALUE 0 region 4096-ptr_max
PARAM_VALUE 0 region->ops 4096-ptr_max
PARAM_VALUE 0 region->ops->snapshot 4096-ptr_max
PARAM_VALUE 0 region->port_ops 4096-ptr_max
PARAM_VALUE 0 region->snapshot_list.prev 4096-ptr_max
PARAM_VALUE 0 region->snapshot_list.prev->next 4096-ptr_max
PARAM_VALUE 0 region->snapshot_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 region->snapshot_lock.dep_map->name 0-255
PARAM_VALUE 0 region->snapshot_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 region->snapshot_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 region->snapshot_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 region->snapshot_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 region->snapshot_lock.wait_lock.owner (-1)
PARAM_VALUE 0 region->snapshot_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 snapshot 4096-ptr_max
PARAM_VALUE 2 cmd 44
CAPPED_DATA 0 &region->snapshot_lock 1
CAPPED_DATA 1 snapshot->id 1
DATA_SOURCE 1 snapshot r devlink_region_snapshot_get_by_id
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 seq 0-u32max[u]
LOCK2 0 &region->snapshot_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct devlink_region)->snapshot_lock

net/devlink/region.c devlink_nl_region_notify() -> devlink_nl_region_notify_build()

Type Parameter Key Value
PARAM_VALUE 0 region 4096-ptr_max
PARAM_VALUE 0 region->ops->destructor 0,4096-ptr_max
PARAM_VALUE 0 region->ops->snapshot 0,4096-ptr_max
PARAM_VALUE 1 snapshot 0,4096-ptr_max
PARAM_VALUE 2 cmd 44-45
PARAM_VALUE 3 portid 0
PARAM_VALUE 4 seq 0
BUF_SIZE 0 region (-1),224
BUF_SIZE 0 region (-1),224
BUF_SIZE 1 snapshot (-1),40
BUF_SIZE 1 snapshot (-1),40
BUF_SIZE 1 snapshot->data (-1),64
DATA_SOURCE 0 region $0
DATA_SOURCE 1 snapshot $1
DATA_SOURCE 2 cmd $2
BIT_INFO 2 cmd 0x2c,0x2d
HARD_MAX 2 cmd 45
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 global &dsa2_mutex
HALF_LOCKED2 0 &region->snapshot_lock