Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd() -> lpfc_bsg_copy_data()

Type Parameter Key Value
PARAM_VALUE 0 dma_buffers 4096-ptr_max
PARAM_VALUE 0 dma_buffers->list.prev->next 4096-ptr_max
PARAM_VALUE 0 dma_buffers->list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 bsg_buffers 4096-ptr_max
PARAM_VALUE 1 bsg_buffers->payload_len 1-u32max
PARAM_VALUE 2 bytes_to_transfer 1-u32max
PARAM_VALUE 3 to_buffers 1
BUF_SIZE 0 dma_buffers 0,40
BUF_SIZE 0 dma_buffers 0,40
CAPPED_DATA 2 bytes_to_transfer 1
DATA_SOURCE 0 dma_buffers r lpfc_alloc_bsg_buffers
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 bytes_to_transfer unit_byte
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read

drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp() -> lpfc_bsg_copy_data()

Type Parameter Key Value
PARAM_VALUE 1 bsg_buffers 4096-ptr_max
PARAM_VALUE 3 to_buffers 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 bytes_to_transfer unit_byte

drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_rsp() -> lpfc_bsg_copy_data()

Type Parameter Key Value
PARAM_VALUE 0 dma_buffers 4096-ptr_max
PARAM_VALUE 0 dma_buffers->list.prev->next 4096-ptr_max
PARAM_VALUE 0 dma_buffers->list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 bsg_buffers 4096-ptr_max
PARAM_VALUE 1 bsg_buffers->payload_len 1-327680
PARAM_VALUE 2 bytes_to_transfer 1-327680
PARAM_VALUE 3 to_buffers 1
BUF_SIZE 0 dma_buffers 0,40
BUF_SIZE 0 dma_buffers 0,40
CAPPED_DATA 2 bytes_to_transfer 1
DATA_SOURCE 0 dma_buffers r lpfc_alloc_bsg_buffers
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 bytes_to_transfer unit_byte
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read