Defined in 1 files as a prototype:

Defined in 2 files as a member:

Defined in 2 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/md/md.c size_store() -> update_size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->pers 1-u64max
PARAM_VALUE 0 mddev->reconfig_mutex.dep_map->name 0-255
PARAM_VALUE 0 mddev->reconfig_mutex.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 mddev->reconfig_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mddev->reconfig_mutex.osq.tail.counter 0-s32max
DATA_SOURCE 0 mddev $0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &mddev->reconfig_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct mddev)->reconfig_mutex

drivers/md/md.c update_array_info() -> update_size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->chunk_sectors (-4194304)-4194303
PARAM_VALUE 0 mddev->ctime 0-4294967295
PARAM_VALUE 0 mddev->pers 1-u64max
PARAM_VALUE 0 mddev->persistent 0-1
PARAM_VALUE 1 old_dev_sectors 0-4294967294
CAPPED_DATA 0 mddev->chunk_sectors 1
CAPPED_DATA 0 mddev->ctime 1
CAPPED_DATA 0 mddev->layout 1
CAPPED_DATA 0 mddev->level 1
CAPPED_DATA 0 mddev->major_version 1
CAPPED_DATA 0 mddev->minor_version 1
CAPPED_DATA 0 mddev->persistent 1
CAPPED_DATA 1 old_dev_sectors 1
DATA_SOURCE 0 mddev $0
USER_DATA 1 old_dev_sectors 0-4294967294[c]

drivers/md/md.c md_reap_sync_thread() -> (struct md_cluster_operations)->update_size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->bitmap_info.nodes 2-s32max
PARAM_VALUE 0 mddev->cluster_info 1-u64max
PARAM_VALUE 0 mddev->cluster_info->recv_thread 0-s64max
PARAM_VALUE 0 mddev->cluster_ops 4096-ptr_max
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 0 mddev->pers->finish_reshape 1-u64max
PARAM_VALUE 0 mddev->sync_thread 0
DATA_SOURCE 0 mddev $0
CONTAINER 0 -200-4072+0 $(-1)
CONTAINER 1 *(-200-4072+600) $(-1)
NOCHECK_CALL

drivers/md/md.c update_size() -> (struct md_cluster_operations)->update_size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->bitmap->chunks 0-s64max
PARAM_VALUE 0 mddev->bitmap_info.nodes 2-s32max
PARAM_VALUE 0 mddev->cluster_info 1-u64max
PARAM_VALUE 0 mddev->cluster_ops 4096-ptr_max
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 0 mddev->pers->resize 1-u64max
PARAM_VALUE 0 mddev->reconfig_mutex.dep_map->name 0-255
PARAM_VALUE 0 mddev->reconfig_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mddev->reconfig_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mddev->reconfig_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mddev->resync_offset 0-18446744073709551614
PARAM_VALUE 0 mddev->ro 0
DATA_SOURCE 0 mddev $0
CAPABLE 0 21
CONTAINER 0 -200-4072+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 0 &mddev->reconfig_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct mddev)->reconfig_mutex