Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/ata/libata-scsi.c, line 231
- drivers/scsi/libiscsi.c, line 896
- drivers/scsi/scsi_common.c, line 348
- drivers/scsi/scsi_debug.c, line 8995
- drivers/target/target_core_transport.c, line 3585
Smatch caller information:
drivers/scsi/scsi_debug.c resp_not_ready() -> scsi_set_sense_information()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf_len | 96 |
| BUF_SIZE | 0 | buf | 96 |
| PARAM_COMPARE | 2 | info | < $2 |
| MEM_ZERO | 0 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/ata/libata-scsi.c ata_scsi_set_sense_information() -> scsi_set_sense_information()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf_len | 96 |
| PARAM_VALUE | 2 | info | 0-281474976710655 |
| BUF_SIZE | 0 | buf | 96 |
| DATA_SOURCE | 2 | info | r ata_tf_read_block |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | info | 0-281474976710655 |
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/libiscsi.c iscsi_scsi_cmd_rsp() -> scsi_set_sense_information()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf_len | 96 |
| BUF_SIZE | 0 | buf | 96 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &conn->session->back_lock | ||
| HALF_LOCKED2 | &phba->async_pdu_lock | ||
| HALF_LOCKED2 | &session->back_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct iscsi_session)->back_lock |
drivers/target/target_core_transport.c translate_sense_reason() -> scsi_set_sense_information()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf_len | 96 |
| BUF_SIZE | 0 | buf | 3,96 |
| BUF_SIZE | 0 | buf | 3,96 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | info | |
| UNITS | 1 | buf_len | unit_byte |