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 md_bitmap_create() -> md_bitmap_create_nosysfs()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->bitmap 0
PARAM_VALUE 0 mddev->bitmap_id s32min-13,15-s32max
PARAM_VALUE 0 mddev->bitmap_info.file 4096-ptr_max
PARAM_VALUE 0 mddev->bitmap_info.file->f_mapping 4096-ptr_max
PARAM_VALUE 0 mddev->bitmap_info.offset 0
PARAM_VALUE 0 mddev->bitmap_ops 1-u64max
PARAM_VALUE 0 mddev->gendisk 0,4096-ptr_max
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 0 mddev->pers->quiesce 1-u64max
PARAM_VALUE 0 mddev->recovery 0
PARAM_VALUE 0 mddev->sync_thread 0
PARAM_VALUE 0 mddev->thread 1-u64max
DATA_SOURCE 0 mddev $0

drivers/md/md-bitmap.c location_store() -> md_bitmap_create_nosysfs()

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 0
PARAM_VALUE 0 mddev->bitmap_id 12
PARAM_VALUE 0 mddev->bitmap_info.file 0
PARAM_VALUE 0 mddev->bitmap_info.offset s64min-(-1),1-s64max
PARAM_VALUE 0 mddev->bitmap_ops 4096-ptr_max
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->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
CAPPED_DATA 0 mddev->bitmap_info.offset 1
DATA_SOURCE 0 mddev $0
CAPABLE 0 21
NOSPEC 0 mddev->bitmap_info.offset
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mddev->bitmap_info.offset s64min-(-1),1-s64max[c]
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