Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/parport/ieee1284.c, line 620
- drivers/parport/ieee1284_ops.c, line 890
- drivers/parport/parport_amiga.c, line 172
- drivers/parport/parport_atari.c, line 156
- drivers/parport/parport_gsc.c, line 112
- drivers/parport/parport_ip32.c, line 1781
- drivers/parport/parport_mfc3.c, line 265
- drivers/parport/parport_pc.c, line 938
- drivers/parport/parport_sunbpp.c, line 253
Smatch caller information:
drivers/parport/ieee1284.c parport_write() -> parport_write ptr fn()
| 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-9223372036854775807 |
| PARAM_VALUE | 3 | flags | 0 |
| BUF_SIZE | 1 | buffer | (-1)-1024,2048,4096 |
| BUF_SIZE | 1 | buffer | (-1)-1024,2048,4096 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | len | $2 |
| FUZZY_MAX | 2 | len | 4096 |
| STR_LEN | 0 | port | (-1),2,6 |
| STR_LEN | 0 | port | (-1),2,6 |
| NOSPEC | 2 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | 2 | len | 0-4096[c] |
| USER_PTR | 1 | buffer |
drivers/ata/pata_parport/bpck6.c bpck6_wr_data_byte() -> (struct parport_operations)->epp_write_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | *buffer | 0-255 |
| PARAM_VALUE | 2 | len | 1 |
| PARAM_VALUE | 3 | flags | 0 |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| CONTAINER | 0 | *(-104-2192+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pi_mutex |
drivers/ata/pata_parport/bpck6.c bpck6_write_block() -> (struct parport_operations)->epp_write_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | port->private_data->asynclock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->private_data->msg_pending | 0-1 |
| PARAM_VALUE | 0 | port->private_data->ref_count.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->private_data->shadowDCR | 0-255 |
| PARAM_VALUE | 0 | port->private_data->shadowECR | 0,32 |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.done | 0-4294967295 |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 2 | len | 0-255 |
| PARAM_VALUE | 3 | flags | 8 |
| BUF_SIZE | 1 | buffer | (-1),16 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | len | $2 |
| CONTAINER | 0 | *(-104-2192+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->physport->private_data->ctr | 0-255[c] |
| HOST_DATA | 2 | len | 2-255[c] |
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | irq |
drivers/ata/pata_parport/bpck6.c bpck6_write_block() -> (struct parport_operations)->epp_write_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | port->private_data->asynclock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->private_data->msg_pending | 0-1 |
| PARAM_VALUE | 0 | port->private_data->ref_count.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->private_data->shadowDCR | 0-255 |
| PARAM_VALUE | 0 | port->private_data->shadowECR | 0,32 |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.done | 0-4294967295 |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 2 | len | 0-255 |
| PARAM_VALUE | 3 | flags | 4 |
| BUF_SIZE | 1 | buffer | (-1),16 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | len | $2 |
| CONTAINER | 0 | *(-104-2192+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->physport->private_data->ctr | 0-255[c] |
| HOST_DATA | 2 | len | 2-255[c] |
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | irq |
drivers/ata/pata_parport/bpck6.c bpck6_write_block() -> (struct parport_operations)->epp_write_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | port->private_data->asynclock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->private_data->msg_pending | 0-1 |
| PARAM_VALUE | 0 | port->private_data->ref_count.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->private_data->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->private_data->shadowDCR | 0-255 |
| PARAM_VALUE | 0 | port->private_data->shadowECR | 0,32 |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.done | 0-4294967295 |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | port->private_data->syncmsg_compl.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 2 | len | 0-255 |
| PARAM_VALUE | 3 | flags | 1 |
| BUF_SIZE | 1 | buffer | (-1),16 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | len | $2 |
| CONTAINER | 0 | *(-104-2192+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->physport->private_data->ctr | 0-255[c] |
| HOST_DATA | 2 | len | 2-255[c] |
| HALF_LOCKED2 | &host->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | irq |
drivers/char/ppdev.c pp_write() -> (struct parport_operations)->epp_write_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 16,4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-1024 |
| PARAM_VALUE | 3 | flags | 1 |
| BUF_SIZE | 1 | buffer | 0-1024 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | buffer | r _kmalloc_noprof |
| CONTAINER | 0 | -104-2192+0 | $(-1) |
| BIT_INFO | 0 | port->ieee1284.mode | 0x0,0xffffdfff |
| USER_DATA | 2 | len | 1-1023[c] |
| USER_PTR | 1 | buffer |