Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 region 4096-ptr_max
PARAM_VALUE 0 region->devlink 4096-ptr_max
PARAM_VALUE 0 region->ops->snapshot 0,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 1 snapshot->data 1-u64max
PARAM_VALUE 1 snapshot->list.next 4096-ptr_max
PARAM_VALUE 1 snapshot->region 4096-ptr_max
PARAM_VALUE 1 snapshot->region->devlink 4096-ptr_max
PARAM_VALUE 1 snapshot->region->snapshot_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 snapshot->region->snapshot_lock.wait_lock.owner (-1)
PARAM_VALUE 1 snapshot->region->snapshot_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 cmd 44
BUF_SIZE 1 snapshot 40
BUF_SIZE 1 snapshot->data (-1),64
DATA_SOURCE 0 region $0
DATA_SOURCE 1 snapshot r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &region->snapshot_lock
TYPE_LOCK (struct devlink_region)->snapshot_lock

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

Type Parameter Key Value
PARAM_VALUE 0 region 4096-ptr_max
PARAM_VALUE 0 region->devlink 4096-ptr_max
PARAM_VALUE 0 region->list.next 4096-ptr_max
PARAM_VALUE 0 region->max_snapshots 1,8,10,16
PARAM_VALUE 0 region->ops 4096-ptr_max
PARAM_VALUE 0 region->ops->destructor 1199127020996833280,2390000447067512832,3904155659306606592
PARAM_VALUE 0 region->ops->snapshot 0,4096-ptr_max
PARAM_VALUE 0 region->port_ops 4096-ptr_max
PARAM_VALUE 0 region->snapshot_list.next 4096-ptr_max
PARAM_VALUE 0 region->snapshot_list.next->next 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->prev 4096-ptr_max
PARAM_VALUE 0 region->snapshot_lock.dep_map->name 0-255
PARAM_VALUE 0 region->snapshot_lock.first_waiter 0
PARAM_VALUE 0 region->snapshot_lock.magic 4096-ptr_max
PARAM_VALUE 0 region->snapshot_lock.osq.tail.counter 0
PARAM_VALUE 0 region->snapshot_lock.owner.counter 0
PARAM_VALUE 1 snapshot 0
PARAM_VALUE 2 cmd 44
BUF_SIZE 0 region 224
DATA_SOURCE 0 region r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &adapter->devlink->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &devlink->lock

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

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->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.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 region->snapshot_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 region->snapshot_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 region->snapshot_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 region->snapshot_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 region->snapshot_lock.magic 0
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 1 snapshot 0
PARAM_VALUE 2 cmd 45
BUF_SIZE 0 region (-1),224
BUF_SIZE 0 region (-1),224
CAPPED_DATA 0 &region->snapshot_list 1
CAPPED_DATA 0 &region->snapshot_lock 1
DATA_SOURCE 0 region $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &adapter->devlink->lock
HALF_LOCKED2 &devlink->lock

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

Type Parameter Key Value
PARAM_VALUE 0 region 4096-ptr_max
PARAM_VALUE 0 region->devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 region->devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 region->list.next 4096-ptr_max
PARAM_VALUE 0 region->max_snapshots 1
PARAM_VALUE 0 region->ops 2187710165992325120
PARAM_VALUE 0 region->port 4096-ptr_max
PARAM_VALUE 0 region->port_ops 2187710165992325120
PARAM_VALUE 0 region->size 64
PARAM_VALUE 0 region->snapshot_list.next 4096-ptr_max
PARAM_VALUE 0 region->snapshot_list.next->next 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->prev 4096-ptr_max
PARAM_VALUE 0 region->snapshot_lock.dep_map->name 0-255
PARAM_VALUE 0 region->snapshot_lock.first_waiter 0
PARAM_VALUE 0 region->snapshot_lock.magic 4096-ptr_max
PARAM_VALUE 0 region->snapshot_lock.osq.tail.counter 0
PARAM_VALUE 0 region->snapshot_lock.owner.counter 0
PARAM_VALUE 1 snapshot 0
PARAM_VALUE 2 cmd 44
BUF_SIZE 0 region 224
DATA_SOURCE 0 region r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &devlink->lock
LOCK2 global &dsa2_mutex
TYPE_LOCK (struct devlink)->lock

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

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 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 45
BUF_SIZE 0 region (-1),224
BUF_SIZE 0 region (-1),224
DATA_SOURCE 0 region $0
DATA_SOURCE 1 snapshot $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &region->snapshot_lock
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct devlink_region)->snapshot_lock

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

Type Parameter Key Value
PARAM_VALUE 0 region 4096-ptr_max
PARAM_VALUE 1 snapshot 0
PARAM_VALUE 2 cmd 44
CAPPED_DATA 0 &region->list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

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

Type Parameter Key Value
PARAM_VALUE 0 region 4096-ptr_max
PARAM_VALUE 1 snapshot 0
PARAM_VALUE 2 cmd 45
CAPPED_DATA 0 &region->list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 global &rtnl_mutex