Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/raid1.c raid1_resize() -> raid1_size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 2 raid_disks 0
DATA_SOURCE 0 mddev $0
DATA_SOURCE 1 sectors $1
NOSPEC 0 mddev->bitmap_info.offset
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mddev->array_sectors 0-4294967294[c]
USER_DATA 0 mddev->bitmap_info.offset s64min-(-1),1-s64max[c]
USER_DATA 1 sectors 0-4294967294[c]
NO_OVERFLOW_SIMPLE 0 mddev->active.counter
NO_OVERFLOW_SIMPLE 0 mddev->bio_set.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 mddev->bio_set.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 mddev->gendisk->bdi->debug_dir->d_fsdata->d_fsdata
NO_OVERFLOW_SIMPLE 0 mddev->gendisk->bio_split.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 mddev->gendisk->bio_split.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 mddev->io_clone_set.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 mddev->io_clone_set.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 mddev->openers.counter
NO_OVERFLOW_SIMPLE 0 mddev->serial_info_pool->min_nr
NO_OVERFLOW_SIMPLE 0 mddev->sync_seq.counter
NO_OVERFLOW_SIMPLE 0 mddev->sync_set.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 mddev->sync_set.bvec_pool.min_nr
HALF_LOCKED2 &cinfo->recv_mutex
HALF_LOCKED2 0 &mddev->reconfig_mutex

drivers/md/raid1.c raid1_run() -> raid1_size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 1 sectors 0
PARAM_VALUE 2 raid_disks 0
BUF_SIZE 0 mddev->private (-1),1216,1600,2712
BUF_SIZE 0 mddev->to_remove (-1),48
DATA_SOURCE 0 mddev $0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mddev->raid_disks
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 array_size_store() -> (struct md_personality)->size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->pers 4096-ptr_max
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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 mddev->reconfig_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 sectors 0
PARAM_VALUE 2 raid_disks 0
DATA_SOURCE 0 mddev $0
CAPABLE 0 21
CONTAINER 0 -112-8+0 $(-1)
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 array_size_store() -> (struct md_personality)->size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->pers 4096-ptr_max
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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 mddev->reconfig_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 sectors 0
PARAM_VALUE 2 raid_disks 0
DATA_SOURCE 0 mddev $0
CAPABLE 0 21
CONTAINER 0 -112-8+0 $(-1)
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 md_finish_sync() -> (struct md_personality)->size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->delta_disks 1-s32max
PARAM_VALUE 0 mddev->gendisk 1-u64max
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 0 mddev->pers->finish_reshape 1-u64max
PARAM_VALUE 0 mddev->pers->size 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.first_waiter->task->blocked_on 0
PARAM_VALUE 0 mddev->reconfig_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 sectors 0
PARAM_VALUE 2 raid_disks 0
DATA_SOURCE 0 mddev $0
FUZZY_MAX 0 mddev->delta_disks 1
CONTAINER 0 -112-8+0 $(-1)
LOCK2 0 &mddev->reconfig_mutex
TYPE_LOCK (struct mddev)->reconfig_mutex

drivers/md/md-cluster.c process_recvd_msg() -> (struct md_personality)->size()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->bitmap_info.file->f_inode->i_mapping->host->i_op->get_offset_ctx 0,2606890545167454208
PARAM_VALUE 0 mddev->bitmap_info.file->f_inode->i_mapping->host->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 0 mddev->bitmap_info.file->f_inode->i_mapping->host->i_op->sync_lazytime 0,6951464784224747520
PARAM_VALUE 0 mddev->bitmap_info.file->f_mapping->host->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mddev->bitmap_info.file->f_mapping->host->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mddev->bitmap_info.file->f_mapping->host->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mddev->cluster_info 4096-ptr_max
PARAM_VALUE 0 mddev->cluster_info->lockspace 0-9223372036854775807
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_count.counter s32min-s32max
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_in_recovery.dep_map->name 0-255
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_in_recovery.first_waiter->handoff_set 1
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_in_recovery.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_in_recovery.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_in_recovery.first_waiter->type 0-1
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_lkbxa.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_lkbxa_lock.dep_map->name 0-255
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_lkbxa_lock.owner_cpu 0-4294967295
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_lkbxa_lock.raw_lock.cnts.counter s32min-s32max
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_lkbxa_lock.raw_lock.wlocked 0-255
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_rsbtbl.nelems.counter s32min-s32max
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_rsbtbl.tbl->dep_map->name 0-255
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_rsbtbl.tbl->hash_rnd 0-4294967295
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_rsbtbl.tbl->nest 0-4294967295
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_rsbtbl.tbl->size 0-4294967295
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_rsbtbl_lock.dep_map->name 0-255
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_rsbtbl_lock.owner (-1)
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_rsbtbl_lock.owner_cpu 4294967295
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_rsbtbl_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_scan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mddev->cluster_info->message_lockres->ls->ls_scan_timer.flags 0-4294967295
PARAM_VALUE 0 mddev->cluster_info->message_lockres->mode 1
PARAM_VALUE 0 mddev->cluster_info->message_lockres->sync_locking.head.prev->next 4096-ptr_max
PARAM_VALUE 0 mddev->cluster_info->message_lockres->sync_locking.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 mddev->cluster_info->message_lockres->sync_locking_done 0
PARAM_VALUE 0 mddev->cluster_info->recovery_map 0-9223372036854775807
PARAM_VALUE 0 mddev->cluster_info->recv_mutex.dep_map->name 0-255
PARAM_VALUE 0 mddev->cluster_info->recv_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mddev->cluster_info->recv_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mddev->cluster_info->recv_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mddev->cluster_info->recv_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 mddev->cluster_info->recv_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 mddev->cluster_info->state 0-9223372036854775807
PARAM_VALUE 0 mddev->cluster_info->suspend_hi 0-9223372036854775807
PARAM_VALUE 0 mddev->cluster_info->suspend_lo 0-9223372036854775807
PARAM_VALUE 0 mddev->cluster_info->sync_hi 0-9223372036854775807
PARAM_VALUE 0 mddev->cluster_info->sync_low 0-9223372036854775807
PARAM_VALUE 0 mddev->gendisk->ev->block s32min-s32max
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.p->dead 0-1
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mddev->gendisk->queue->mq_kobj->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mddev->gendisk->queue->stats->accounting s32min-s32max
PARAM_VALUE 0 mddev->gendisk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mddev->gendisk->queue->tag_set->update_nr_hwq_lock.first_waiter->type 0-1
PARAM_VALUE 0 mddev->gendisk->queue_kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mddev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 1 sectors 0
PARAM_VALUE 2 raid_disks 0
DATA_SOURCE 0 mddev $0
CONTAINER 0 -112-8+0 $(-1)
TASK_NOT_RUNNING
LOCK2 &cinfo->recv_mutex
TYPE_LOCK (struct md_cluster_info)->recv_mutex