Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/message/fusion/mptbase.c mpt_config() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4096-ptr_max |
| PARAM_VALUE | 1 | flagslength | 3506438144-3506700284,3573547008-3573809148 |
| BUF_SIZE | 0 | pAddr | 12 |
| BIT_INFO | 1 | flagslength | 0xd1000000,0xd503ffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->mptbase_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->ioctl_cmds.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sdev->request_queue->limits_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | global &mpctl_mutex | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptbase.c mpt_do_upload() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | flagslength | 0,16777216-u32max |
| CONTAINER | 2 | *(-312+1000) | $(-1) |
| BIT_INFO | 1 | flagslength | 0xd1000000,0xffffffff |
| NOCHECK_CALL |
drivers/message/fusion/mptbase.c mpt_host_page_alloc() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 3937926561883959324 |
| PARAM_VALUE | 1 | flagslength | 0,67108864-u32max |
| BUF_SIZE | 0 | pAddr | 12 |
| CONTAINER | 2 | *(-312+616) | $(-1) |
| BIT_INFO | 1 | flagslength | 0x54000000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | flagslength | |
| NO_OVERFLOW_SIMPLE | 2 | dma_addr | |
| HALF_LOCKED2 | &ioc->internal_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->ioctl_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->mptbase_cmds.mutex | ||
| HALF_LOCKED2 | &ioc->raid_data.inactive_list_mutex | ||
| HALF_LOCKED2 | &ioc->sas_device_info_mutex | ||
| HALF_LOCKED2 | &ioc->sas_mgmt.mutex | ||
| HALF_LOCKED2 | &ioc->sas_topology_mutex | ||
| HALF_LOCKED2 | &ioc->taskmgmt_cmds.mutex |
drivers/message/fusion/mptspi.c mptscsih_quiesce_raid() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4096-ptr_max |
| PARAM_VALUE | 1 | flagslength | 3506438144 |
| PARAM_VALUE | 2 | dma_addr | u64max |
| BUF_SIZE | 0 | pAddr | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->internal_cmds.mutex | ||
| HALF_LOCKED2 | &sdev->request_queue->limits_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptspi.c mptspi_writeIOCPage4() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4096-ptr_max |
| PARAM_VALUE | 1 | flagslength | 3573547008-3573549048 |
| BUF_SIZE | 0 | pAddr | 12 |
| CONTAINER | 2 | *(-312+24+656) | $(-1) |
| BIT_INFO | 1 | flagslength | 0xd5000000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sdev->request_queue->limits_lock | ||
| LOCK2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/message/fusion/mptscsih.c mptscsih_AddSGE() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flagslength | 0,67108864-u32max |
| BUF_SIZE | 0 | pAddr | (-1),12 |
| BIT_INFO | 1 | flagslength | 0x10000000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/message/fusion/mptscsih.c mptscsih_AddSGE() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flagslength | 0,16777216-u32max |
| BUF_SIZE | 0 | pAddr | (-1),12 |
| BIT_INFO | 1 | flagslength | 0xd1000000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/message/fusion/mptscsih.c mptscsih_do_cmd() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4096-ptr_max |
| PARAM_VALUE | 1 | flagslength | 3506438144 |
| PARAM_VALUE | 2 | dma_addr | u64max |
| BUF_SIZE | 0 | pAddr | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->internal_cmds.mutex | ||
| LOCK2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptscsih.c mptscsih_do_cmd() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4096-ptr_max |
| PARAM_VALUE | 1 | flagslength | 3573547008 |
| PARAM_VALUE | 2 | dma_addr | u64max |
| BUF_SIZE | 0 | pAddr | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->internal_cmds.mutex | ||
| LOCK2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptscsih.c mptscsih_qcmd() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4096-ptr_max |
| PARAM_VALUE | 1 | flagslength | 3506438144 |
| PARAM_VALUE | 2 | dma_addr | u64max |
| BUF_SIZE | 0 | pAddr | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/message/fusion/mptsas.c mptsas_exp_repmanufacture_info() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flagslength | 1409286148 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_mgmt.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptsas.c mptsas_exp_repmanufacture_info() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4096-ptr_max |
| PARAM_VALUE | 1 | flagslength | 1342177340 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_mgmt.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptsas.c mptsas_smp_handler() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flagslength | 0,67108864-u32max |
| BIT_INFO | 1 | flagslength | 0x54000000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_mgmt.mutex | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptsas.c mptsas_smp_handler() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4096-ptr_max |
| PARAM_VALUE | 1 | flagslength | 0,268435456-u32max |
| BIT_INFO | 1 | flagslength | 0x50000000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->sas_mgmt.mutex | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptctl.c mptctl_do_fw_download() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flagslength | 0 |
| BUF_SIZE | 0 | pAddr | (-1),8 |
| NOCHECK_CALL | |||
| LOCK2 | &iocp->ioctl_cmds.mutex | ||
| LOCK2 | global &mpctl_mutex | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptctl.c mptctl_do_mpt_command() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flagslength | 0-s32max,3573547009-u32max |
| BIT_INFO | 1 | flagslength | 0x54000000,0x7fffffff |
| NOCHECK_CALL | |||
| USER_PTR | 0 | pAddr | |
| LOCK2 | &ioc->ioctl_cmds.mutex | ||
| LOCK2 | global &mpctl_mutex | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptctl.c mptctl_do_mpt_command() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flagslength | 0-1358954495,3506438145-u32max |
| NOCHECK_CALL | |||
| USER_PTR | 0 | pAddr | |
| LOCK2 | &ioc->ioctl_cmds.mutex | ||
| LOCK2 | global &mpctl_mutex | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptctl.c mptctl_do_mpt_command() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flagslength | 0 |
| PARAM_VALUE | 2 | dma_addr | u64max |
| NOCHECK_CALL | |||
| USER_PTR | 0 | pAddr | |
| LOCK2 | &ioc->ioctl_cmds.mutex | ||
| LOCK2 | global &mpctl_mutex | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |
drivers/message/fusion/mptctl.c mptctl_hp_hostinfo() -> (struct _MPT_ADAPTER)->add_sge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pAddr | 4096-ptr_max |
| PARAM_VALUE | 1 | flagslength | 3506438148 |
| BUF_SIZE | 0 | pAddr | 12 |
| MEM_ZERO | 0 | pAddr | |
| NOCHECK_CALL | |||
| LOCK2 | &ioc->ioctl_cmds.mutex | ||
| LOCK2 | global &mpctl_mutex | ||
| TYPE_LOCK | (struct _MPT_MGMT)->mutex |