Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_bios_param() -> scsi_partsize()

Type Parameter Key Value
DATA_SOURCE 0 disk $1
DATA_SOURCE 1 capacity $2
DATA_SOURCE 2 geom $3

drivers/scsi/megaraid.c megaraid_biosparam() -> scsi_partsize()

Type Parameter Key Value
PARAM_VALUE 0 disk 4096-ptr_max
PARAM_VALUE 0 disk->fops 4096-ptr_max
PARAM_VALUE 0 disk->fops->getgeo 4096-ptr_max
PARAM_VALUE 2 geom 4096-ptr_max
BUF_SIZE 2 geom 16
BUF_SIZE 2 geom 16
DATA_SOURCE 0 disk $1
DATA_SOURCE 1 capacity $2
DATA_SOURCE 2 geom $3

drivers/scsi/leapraid/leapraid_os.c leapraid_bios_param() -> scsi_partsize()

Type Parameter Key Value
PARAM_VALUE 0 disk 4096-ptr_max
PARAM_VALUE 0 disk->fops 4096-ptr_max
PARAM_VALUE 0 disk->fops->getgeo 4096-ptr_max
PARAM_VALUE 2 geom 4096-ptr_max
BUF_SIZE 2 geom 16
BUF_SIZE 2 geom 16
DATA_SOURCE 0 disk $1
DATA_SOURCE 1 capacity $2
DATA_SOURCE 2 geom $3

drivers/scsi/scsicam.c scsicam_bios_param() -> scsi_partsize()

Type Parameter Key Value
PARAM_VALUE 0 disk->fops->getgeo 0,4096-ptr_max
PARAM_VALUE 2 geom 4096-ptr_max
BUF_SIZE 2 geom 12,16
BUF_SIZE 2 geom 12,16
DATA_SOURCE 0 disk $0
DATA_SOURCE 1 capacity $1
DATA_SOURCE 2 geom $2