Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/raid10.c raid10_resize() -> calc_sectors()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 1 size 1
CAPPED_DATA 1 size 1
DATA_SOURCE 1 size $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 size 0-4294967294[c]
UNITS 1 size unit_byte
HALF_LOCKED2 &cinfo->recv_mutex
HALF_LOCKED2 &mddev->reconfig_mutex

drivers/md/raid10.c setup_conf() -> calc_sectors()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->copies 2-65025
PARAM_VALUE 0 conf->geo.far_copies 1-255
PARAM_VALUE 0 conf->geo.far_offset 0,65536
PARAM_VALUE 0 conf->geo.near_copies 1-255
BUF_SIZE 0 conf 1600
BUF_SIZE 0 conf->mirrors 0-u64max
CAPPED_DATA 0 conf->copies 1
DATA_SOURCE 0 conf r _kzalloc_noprof
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 conf->geo.raid_disks
UNITS 1 size unit_byte