Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/libfc/fc_fcp.c fc_fcp_recv_data() -> fc_copy_buffer_to_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 0,4096-ptr_max |
| PARAM_VALUE | 3 | nents | 4867831855286849536 |
| PARAM_VALUE | 4 | offset | 7399658210783248384 |
| PARAM_VALUE | 4 | *offset | 0-u32max |
| PARAM_VALUE | 5 | crc | 0 |
| DATA_SOURCE | 0 | buf | r fc_frame_payload_get |
| PREEMPT_ADD | |||
| USER_DATA | 4 | *offset | 0-u32max[c][u] |
| NO_OVERFLOW_SIMPLE | 1 | len | |
| NO_OVERFLOW_SIMPLE | 4 | *offset | |
| UNITS | 1 | len | unit_byte |
| UNITS | 2 | sg | unit_byte |
| USER_PTR | 4 | offset | |
| LOCK2 | &fsp->scsi_pkt_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct fc_fcp_pkt)->scsi_pkt_lock |
drivers/scsi/libfc/fc_fcp.c fc_fcp_recv_data() -> fc_copy_buffer_to_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 0,4096-ptr_max |
| PARAM_VALUE | 3 | nents | 4867831855286849536 |
| PARAM_VALUE | 4 | offset | 7399658210783248384 |
| PARAM_VALUE | 4 | *offset | 0-u32max |
| PARAM_VALUE | 5 | crc | 9002135476109570048 |
| DATA_SOURCE | 0 | buf | r fc_frame_payload_get |
| PREEMPT_ADD | |||
| USER_DATA | 4 | *offset | 0-u32max[c][u] |
| NO_OVERFLOW_SIMPLE | 1 | len | |
| NO_OVERFLOW_SIMPLE | 4 | *offset | |
| UNITS | 1 | len | unit_byte |
| UNITS | 2 | sg | unit_byte |
| USER_PTR | 4 | offset | |
| LOCK2 | &fsp->scsi_pkt_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct fc_fcp_pkt)->scsi_pkt_lock |
drivers/scsi/libfc/fc_lport.c fc_lport_bsg_resp() -> fc_copy_buffer_to_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 0,4096-ptr_max |
| PARAM_VALUE | 3 | nents | 4096-ptr_max |
| PARAM_VALUE | 4 | offset | 4096-ptr_max |
| PARAM_VALUE | 5 | crc | 0 |
| DATA_SOURCE | 0 | buf | r fc_frame_payload_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | len | unit_byte |
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |