Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/sg.c sg_new_write() -> sg_add_request()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->cmd_q 1
PARAM_VALUE 0 sfp->parentdp 1-u64max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0

drivers/scsi/sg.c sg_write() -> sg_add_request()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->parentdp 4096-ptr_max
PARAM_VALUE 0 sfp->parentdp->detaching.counter 0
PARAM_VALUE 0 sfp->parentdp->device->host 4096-ptr_max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max