Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/dc395x.c msgin_set_async() -> build_wdtr()

Type Parameter Key Value
PARAM_VALUE 0 acb 4096-ptr_max
PARAM_VALUE 1 dcb 4096-ptr_max
PARAM_VALUE 2 srb 4096-ptr_max
PARAM_VALUE 2 srb->state 0-57343
DATA_SOURCE 0 acb $0
DATA_SOURCE 2 srb $1
BIT_INFO 1 dcb->sync_mode 0x6,0xf7
BIT_INFO 2 srb->state 0x0,0xdfff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 (acb->scsi_host)->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/scsi/dc395x.c msgin_set_sync() -> build_wdtr()

Type Parameter Key Value
PARAM_VALUE 0 acb 4096-ptr_max
PARAM_VALUE 1 dcb 4096-ptr_max
PARAM_VALUE 1 dcb->dev_mode 2-255
PARAM_VALUE 2 srb 4096-ptr_max
PARAM_VALUE 2 srb->state 8192-u16max
CAPPED_DATA 1 dcb->min_nego_period 1
CAPPED_DATA 1 dcb->sync_offset 1
DATA_SOURCE 0 acb $0
DATA_SOURCE 2 srb $1
BIT_INFO 1 dcb->sync_mode 0x4,0xf7
BIT_INFO 1 dcb->sync_period 0x8,0xff
BIT_INFO 2 srb->state 0x2000,0xffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 (acb->scsi_host)->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/scsi/dc395x.c start_scsi() -> build_wdtr()

Type Parameter Key Value
PARAM_VALUE 0 acb 4096-ptr_max
PARAM_VALUE 1 dcb 4096-ptr_max
PARAM_VALUE 2 srb 4096-ptr_max
PARAM_VALUE 2 srb->msg_count 1
PARAM_VALUE 2 srb->msgout_buf 4096-ptr_max
PARAM_VALUE 2 srb->state 4
DATA_SOURCE 0 acb $0
DATA_SOURCE 1 dcb $1
DATA_SOURCE 2 srb $2
BIT_INFO 1 dcb->inquiry7 0x20,0xff
BIT_INFO 1 dcb->sync_mode 0x4,0xff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 srb->sg_count
HALF_LOCKED2 (acb->scsi_host)->host_lock
HALF_LOCKED2 irq_flags
HALF_LOCKED2 shost->host_lock

drivers/scsi/dc395x.c start_scsi() -> build_wdtr()

Type Parameter Key Value
PARAM_VALUE 0 acb 4096-ptr_max
PARAM_VALUE 1 dcb 4096-ptr_max
PARAM_VALUE 2 srb 4096-ptr_max
PARAM_VALUE 2 srb->msg_count 1
PARAM_VALUE 2 srb->msgout_buf 4096-ptr_max
PARAM_VALUE 2 srb->state 4
DATA_SOURCE 0 acb $0
DATA_SOURCE 1 dcb $1
DATA_SOURCE 2 srb $2
BIT_INFO 1 dcb->inquiry7 0x20,0xff
BIT_INFO 1 dcb->sync_mode 0x4,0xff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 srb->sg_count
HALF_LOCKED2 (acb->scsi_host)->host_lock
HALF_LOCKED2 irq_flags
HALF_LOCKED2 shost->host_lock