Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/ch.c ch_ioctl() -> ch_elem_to_typecode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->firsts | 4096-ptr_max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ch->lock | 1 |
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_read_element_status() -> ch_elem_to_typecode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->counts | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->firsts | 4096-ptr_max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch->dt | (-1)-s32max |
| DATA_SOURCE | 0 | ch | $0 |
| DATA_SOURCE | 1 | elem | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |
drivers/scsi/ch.c ch_set_voltag() -> ch_elem_to_typecode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->firsts | 4096-ptr_max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ch | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ch | $0 |
| DATA_SOURCE | 1 | elem | $1 |
| LOCK2 | 0 | &ch->lock | |
| TYPE_LOCK | (struct scsi_changer)->lock |