Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/char/lp.c lp_console_write() -> parport_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-9223372036854775807 |
| BUF_SIZE | 1 | buffer | (-1),1,7,85,256,512,2048 |
| DATA_SOURCE | 1 | buffer | $1 [m] |
| STR_LEN | 0 | port | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | port->physport->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->physport->cad->state->u.pc->ctr | 0-u32max |
| HOST_DATA | 0 | port->physport->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] |
| UNITS | 0 | port | unit_byte |
| HALF_LOCKED2 | flags |
drivers/char/lp.c lp_console_write() -> parport_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-s32max |
| BUF_SIZE | 1 | buffer | (-1),3 |
| STR_LEN | 0 | port | (-1),2 |
| TERMINATED | 1 | buffer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | port->physport->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->physport->cad->state->u.pc->ctr | 0-u32max |
| HOST_DATA | 0 | port->physport->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] |
| UNITS | 0 | port | unit_byte |
| HALF_LOCKED2 | flags |
drivers/char/lp.c lp_write() -> parport_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->physport->ieee1284.irq.first_waiter->up | 0-1 |
| PARAM_VALUE | 2 | len | 0-4096 |
| BUF_SIZE | 1 | buffer | 4096 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| FUZZY_MAX | 2 | len | 4096 |
| HOST_DATA | 0 | port->physport->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->physport->cad->state->u.pc->ctr | 0-u32max |
| HOST_DATA | 0 | port->physport->cad->state->u.pc->ecr | 0-u32max |
| USER_DATA | 0 | port->physport->private_data->ctr | 0-255[c] |
| USER_DATA | 0 | port->private_data->shadowDCR | 0-255[c] |
| USER_DATA | 0 | *port->physport->private_data->dma_buf | 0-255 |
| USER_DATA | 2 | len | 0-4096[c] |
| UNITS | 0 | port | unit_byte |
| USER_PTR | 1 | buffer |
drivers/char/ppdev.c pp_write() -> parport_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->physport->ieee1284.irq.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | buffer | 16,4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-1024 |
| BUF_SIZE | 1 | buffer | 0-1024 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | buffer | r _kmalloc_noprof |
| HOST_DATA | 0 | port->physport->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->physport->cad->state->u.pc->ctr | 0-u32max |
| HOST_DATA | 0 | port->physport->cad->state->u.pc->ecr | 0-u32max |
| USER_DATA | 0 | port->physport->private_data->ctr | 0-255[c] |
| USER_DATA | 0 | port->private_data->shadowDCR | 0-255[c] |
| USER_DATA | 0 | *port->physport->private_data->dma_buf | 0-255 |
| USER_DATA | 2 | len | 1-1023[c] |
| UNITS | 0 | port | unit_byte |
| USER_PTR | 1 | buffer |