Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 hdr 4096-ptr_max
PARAM_VALUE 0 hdr->cmd_len 0
PARAM_VALUE 0 hdr->cmdp 0
PARAM_VALUE 0 hdr->driver_status 0
PARAM_VALUE 0 hdr->dxfer_direction 0
PARAM_VALUE 0 hdr->dxfer_len 0
PARAM_VALUE 0 hdr->dxferp 0
PARAM_VALUE 0 hdr->flags 0
PARAM_VALUE 0 hdr->host_status 0
PARAM_VALUE 0 hdr->info 0
PARAM_VALUE 0 hdr->interface_id 0
PARAM_VALUE 0 hdr->iovec_count 0
PARAM_VALUE 0 hdr->masked_status 0
PARAM_VALUE 0 hdr->msg_status 0
PARAM_VALUE 0 hdr->mx_sb_len 0
PARAM_VALUE 0 hdr->pack_id 0
PARAM_VALUE 0 hdr->resid 0
PARAM_VALUE 0 hdr->sb_len_wr 0
PARAM_VALUE 0 hdr->sbp 0
PARAM_VALUE 0 hdr->status 0
PARAM_VALUE 0 hdr->timeout 0
PARAM_VALUE 0 hdr->usr_ptr 0
BUF_SIZE 0 hdr 88
DATA_SOURCE 1 argp $2

drivers/scsi/scsi_ioctl.c scsi_ioctl_sg_io() -> get_sg_io_hdr()

Type Parameter Key Value
PARAM_VALUE 0 hdr 1777181955115290624
DATA_SOURCE 1 argp $2
HALF_LOCKED2 &cd->lock