Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/char/lp.c, line 450
- drivers/char/ppdev.c, line 164
- drivers/parport/ieee1284.c, line 785
- drivers/parport/probe.c
Smatch caller information:
drivers/parport/probe.c parport_read_device_id() -> parport_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 7284628350201380864 |
| PARAM_VALUE | 2 | len | 2 |
| BUF_SIZE | 1 | buffer | 2 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | port | unit_byte |
drivers/parport/probe.c parport_read_device_id() -> parport_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->physport->ieee1284.irq.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | port->physport->ieee1284.phase | 5-7 |
| PARAM_VALUE | 0 | port->private_data->asynclock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | *buffer | 0-255 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | port->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->cad->state->u.pc->ctr | 0-u32max |
| HOST_DATA | 0 | port->cad->state->u.pc->ecr | 0-u32max |
| HOST_DATA | 0 | port->physport->private_data->ctr | 0-255[c] |
| HOST_DATA | 0 | port->private_data->shadowDCR | 0-255[c] |
| HOST_DATA | 2 | len | 0-1019,18446744073709547519-u64max[c] |
| UNITS | 0 | port | unit_byte |
drivers/parport/probe.c parport_read_device_id() -> parport_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->physport->ieee1284.irq.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | port->physport->ieee1284.phase | 5-7 |
| PARAM_VALUE | 0 | port->private_data->asynclock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | *buffer | 0-255 |
| PARAM_VALUE | 2 | len | 1-1021 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | port->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->cad->state->u.pc->ctr | 0-u32max |
| HOST_DATA | 0 | port->cad->state->u.pc->ecr | 0-u32max |
| HOST_DATA | 0 | port->physport->private_data->ctr | 0-255[c] |
| HOST_DATA | 0 | port->private_data->shadowDCR | 0-255[c] |
| HOST_DATA | 2 | len | 1-1020[c] |
| UNITS | 0 | port | unit_byte |
drivers/parport/probe.c parport_read_device_id() -> parport_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->physport->ieee1284.irq.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | port->physport->ieee1284.phase | 5-7 |
| PARAM_VALUE | 0 | port->private_data->asynclock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | buffer | 1056737604061622272 |
| PARAM_VALUE | 2 | len | 1-4 |
| BUF_SIZE | 1 | buffer | 4 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | port->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->cad->state->u.pc->ctr | 0-u32max |
| HOST_DATA | 0 | port->cad->state->u.pc->ecr | 0-u32max |
| HOST_DATA | 0 | port->physport->private_data->ctr | 0-255[c] |
| HOST_DATA | 0 | port->private_data->shadowDCR | 0-255[c] |
| HOST_DATA | 2 | len | 1-4[c] |
| UNITS | 0 | port | unit_byte |
| UNITS | 2 | len | unit_byte |
drivers/char/lp.c lp_read() -> parport_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 0-4096 |
| BUF_SIZE | 1 | buffer | 4096 |
| DATA_SOURCE | 2 | len | $2 [m] |
| FUZZY_MAX | 2 | len | 4096 |
| HARD_MAX | 2 | len | 4096 |
| HOST_DATA | 0 | port->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->cad->state->u.pc->ctr | 0-u32max |
| HOST_DATA | 0 | port->cad->state->u.pc->ecr | 0-u32max |
| USER_DATA | 2 | len | 0-4096 |
| UNITS | 0 | port | unit_byte |
drivers/char/ppdev.c pp_read() -> parport_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-1024 |
| BUF_SIZE | 1 | buffer | 1-1024 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | buffer | r _kmalloc_noprof |
| HOST_DATA | 0 | port->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->cad->state->u.pc->ctr | 0-u32max |
| HOST_DATA | 0 | port->cad->state->u.pc->ecr | 0-u32max |
| USER_DATA | 2 | len | 1-1023[c] |
| UNITS | 0 | port | unit_byte |