Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/md.c array_size_store() -> strict_blocks_to_sectors()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 sectors 4483721865093005312
DATA_SOURCE 0 buf $1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
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.c rdev_size_store() -> strict_blocks_to_sectors()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 sectors 1657261079043162112
DATA_SOURCE 0 buf $1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
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.c size_store() -> strict_blocks_to_sectors()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 sectors 1498497950663757824
DATA_SOURCE 0 buf $1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex