Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/nvdimm/label.c del_labels() -> nd_mapping_free_labels()

Type Parameter Key Value
PARAM_VALUE 0 nd_mapping 4096-ptr_max
PARAM_VALUE 0 nd_mapping->labels.prev 4096-ptr_max
PARAM_VALUE 0 nd_mapping->labels.prev->next 668695290603220992
PARAM_VALUE 0 nd_mapping->lock.dep_map->name 0-255
PARAM_VALUE 0 nd_mapping->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nd_mapping->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nd_mapping->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nd_mapping->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 nd_mapping->lock.wait_lock.owner (-1)
PARAM_VALUE 0 nd_mapping->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 nd_mapping->nvdimm 4096-ptr_max
CAPPED_DATA 0 &nd_mapping->labels 1
CAPPED_DATA 0 &nd_mapping->lock 1
DATA_SOURCE 0 nd_mapping $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->mutex
LOCK2 &of->mutex
LOCK2 0 &nd_mapping->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct nd_mapping)->lock

drivers/nvdimm/namespace_devs.c deactivate_labels() -> nd_mapping_free_labels()

Type Parameter Key Value
PARAM_VALUE 0 nd_mapping 4096-ptr_max
PARAM_VALUE 0 nd_mapping->lock.dep_map->name 0-255
PARAM_VALUE 0 nd_mapping->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nd_mapping->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nd_mapping->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nd_mapping->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 nd_mapping->lock.wait_lock.owner (-1)
PARAM_VALUE 0 nd_mapping->lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &nd_mapping->lock 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &nd_mapping->lock
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct nd_mapping)->lock

drivers/nvdimm/namespace_devs.c scan_labels() -> nd_mapping_free_labels()

Type Parameter Key Value
PARAM_VALUE 0 nd_mapping 4096-ptr_max
CAPPED_DATA 0 &nd_mapping->labels 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &nd_mapping->lock
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct nd_mapping)->lock

drivers/nvdimm/namespace_devs.c scan_labels() -> nd_mapping_free_labels()

Type Parameter Key Value
PARAM_VALUE 0 nd_mapping 4096-ptr_max
CAPPED_DATA 0 &nd_mapping->labels 1
PARAM_COMPARE 0 &nd_mapping->labels != $0->labels.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &nd_mapping->lock
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct nd_mapping)->lock