Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/md.c bind_rdev_to_array() -> mddev_create_serial_pool()

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_inode->i_mapping->host->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 mddev->gendisk->part0->bd_device.kobj.sd->attr.open->nr_mmapped 0-4294967295
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->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->raid_disks s32min-(-1),1-s32max
PARAM_VALUE 1 rdev 4096-ptr_max
PARAM_VALUE 1 rdev->bdev 4096-ptr_max
PARAM_VALUE 1 rdev->mddev 4096-ptr_max
PARAM_VALUE 1 rdev->mddev->raid_disks s32min-(-1),1-s32max
PARAM_VALUE 1 rdev->meta_bdev 0,4096-ptr_max
BUF_SIZE 0 mddev (-1),8,96,1296,4112
BUF_SIZE 0 mddev (-1),8,96,1296,4112
BUF_SIZE 1 rdev (-1),760
BUF_SIZE 1 rdev (-1),760
BUF_SIZE 1 rdev->mddev (-1),8,96,1296,4112
CAPPED_DATA 0 mddev->dev_sectors 1
CAPPED_DATA 1 rdev->mddev->dev_sectors 1
DATA_SOURCE 0 mddev $1
DATA_SOURCE 1 rdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 rdev->bdev_file->f_flags 0,32768-u32max
USER_DATA 1 rdev->bdev_file->f_mode 0,64-u32max
NO_OVERFLOW_SIMPLE 0 mddev->bio_set.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 mddev->sync_set.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 1 rdev->bdev_file->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 1 rdev->bdev_file->f_inode->i_size
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &mddev->reconfig_mutex

drivers/md/md.c serialize_policy_store() -> mddev_create_serial_pool()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->active_io.data 0,4096-ptr_max
PARAM_VALUE 0 mddev->active_io.data->rcu.func 1-u64max
PARAM_VALUE 0 mddev->active_io.data->rcu.next 0
PARAM_VALUE 0 mddev->active_io.percpu_count_ptr 1-u64max
PARAM_VALUE 0 mddev->noio_flag 0,524288
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 0 mddev->pers->head.id 1
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->suspend_mutex.dep_map->name 0-255
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mddev->suspend_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mddev->suspended (-2147483647)-1
PARAM_VALUE 1 rdev 0
DATA_SOURCE 0 mddev $0
CAPABLE 0 21
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

drivers/md/md.c state_store() -> mddev_create_serial_pool()

Type Parameter Key Value
PARAM_VALUE 0 mddev 1-u64max
PARAM_VALUE 0 mddev->reconfig_mutex.dep_map->name 0-255
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 1 rdev 4096-ptr_max
PARAM_VALUE 1 rdev->mddev 1-u64max
PARAM_VALUE 1 rdev->mddev->reconfig_mutex.dep_map->name 0-255
PARAM_VALUE 1 rdev->mddev->reconfig_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 rdev->mddev->reconfig_mutex.osq.tail.counter 0-s32max
DATA_SOURCE 1 rdev $0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mddev->reconfig_mutex
LOCK2 &of->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-bitmap.c backlog_store() -> mddev_create_serial_pool()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->active_io.data 0,4096-ptr_max
PARAM_VALUE 0 mddev->active_io.data->rcu.func 1-u64max
PARAM_VALUE 0 mddev->active_io.data->rcu.next 0
PARAM_VALUE 0 mddev->active_io.percpu_count_ptr 1-u64max
PARAM_VALUE 0 mddev->bitmap_info.max_write_behind 1-16383
PARAM_VALUE 0 mddev->noio_flag 0,524288
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->serial_info_pool 0,4096-ptr_max
PARAM_VALUE 0 mddev->serial_info_pool->min_nr 8
PARAM_VALUE 0 mddev->serial_info_pool->pool_data 184
PARAM_VALUE 0 mddev->suspend_mutex.dep_map->name 0-255
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mddev->suspend_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mddev->suspended (-2147483647)-1
DATA_SOURCE 0 mddev $0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 mddev->bitmap_info.max_write_behind 1-16383
NO_OVERFLOW_SIMPLE 0 mddev->bitmap_info.max_write_behind
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-bitmap.c bitmap_load() -> mddev_create_serial_pool()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->bitmap 1-u64max
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_inode->i_mapping->host->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 mddev->bitmap_ops 4096-ptr_max
PARAM_VALUE 0 mddev->cluster_info->recv_thread 0-s64max
BUF_SIZE 0 mddev (-1),8,96,1296,4112
BUF_SIZE 0 mddev (-1),8,96,1296,4112
DATA_SOURCE 0 mddev $0
NOSPEC 0 mddev->bitmap_info.offset
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 mddev->bitmap_info.offset s64min-(-1),1-s64max[c]
HALF_LOCKED2 &md->suspend_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &mddev->reconfig_mutex