Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/ch.c ch_ioctl() -> ch_gstatus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | ch->device->sdev_state | 0-3,5,8-u32max |
| PARAM_VALUE | 1 | type | 0-7 |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| HARD_MAX | 1 | type | 7 |
| USER_DATA | 1 | type | 0-7 |
drivers/scsi/ch.c ch_ioctl() -> ch_gstatus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | ch->device->sdev_state | 0-3,5,8-u32max |
| PARAM_VALUE | 1 | type | 0-7 |
| PARAM_VALUE | 2 | dest | 0-u32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| HARD_MAX | 1 | type | 7 |
| USER_DATA | 1 | type | 0-7 |