Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/misc/sisusbvga/sisusbvga.c sisusb_clear_vram() -> sisusb_write_mem_bulk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sisusb | 4096-ptr_max |
| PARAM_VALUE | 0 | sisusb->devinit | 1-255 |
| PARAM_VALUE | 0 | sisusb->gfxinit | 1-255 |
| PARAM_VALUE | 0 | sisusb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sisusb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sisusb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sisusb->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sisusb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sisusb->numobufs | 1-s32max |
| PARAM_VALUE | 0 | sisusb->obuf | 4096-ptr_max |
| PARAM_VALUE | 0 | sisusb->obufsize | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | sisusb->present | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sisusb->sisusb_dev | 1-u64max |
| PARAM_VALUE | 0 | sisusb->vrambase | 0-u32max |
| PARAM_VALUE | 0 | *sisusb->urbstatus | 0-255 |
| PARAM_VALUE | 2 | kernbuffer | 0 |
| PARAM_VALUE | 3 | length | 1-s32max |
| PARAM_VALUE | 4 | userbuffer | 0 |
| PARAM_VALUE | 5 | index | 0-s32max |
| PARAM_VALUE | 6 | bytes_written | 5277132933910507520 |
| BUF_SIZE | 0 | sisusb | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sisusb | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sisusb->ibuf | (-1),4096 |
| CAPPED_DATA | 0 | sisusb->numobufs | 1 |
| CAPPED_DATA | 0 | sisusb->vrambase | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 5 | index | 1 |
| DATA_SOURCE | 0 | sisusb | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 3 | length | $2 [m] |
| DATA_SOURCE | 5 | index | r sisusb_alloc_outbuf |
| FUZZY_MAX | 3 | length | 614400 |
| PARAM_COMPARE | 1 | addr | >= $0->vrambase |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | length | 1-16777215 |
| UNITS | 0 | sisusb | unit_byte |
| HALF_LOCKED2 | 0 | &sisusb->lock |
drivers/usb/misc/sisusbvga/sisusbvga.c sisusb_write() -> sisusb_write_mem_bulk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sisusb | 4096-ptr_max |
| PARAM_VALUE | 0 | sisusb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sisusb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sisusb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sisusb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sisusb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sisusb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sisusb->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sisusb->present | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sisusb->ready | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sisusb->sisusb_dev | 1-u64max |
| PARAM_VALUE | 1 | addr | 3489660928-4221225472 |
| PARAM_VALUE | 2 | kernbuffer | 0 |
| PARAM_VALUE | 3 | length | 0-1000000000,2147479552 |
| PARAM_VALUE | 5 | index | 0 |
| PARAM_VALUE | 6 | bytes_written | 7095419004563369984 |
| PARAM_VALUE | 6 | *bytes_written | 0 |
| BUF_SIZE | 0 | sisusb | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sisusb | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &sisusb->lock | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| CAPPED_DATA | 4 | userbuffer | 1 |
| DATA_SOURCE | 3 | length | $2 |
| DATA_SOURCE | 4 | userbuffer | $1 |
| USER_DATA | 1 | addr | 3489660928-4221225472[c] |
| USER_DATA | 3 | length | 0-1000000000 |
| USER_DATA | 4 | userbuffer | 0-u64max[c] |
| LOCK2 | 0 | &sisusb->lock | |
| TYPE_LOCK | (struct sisusb_usb_data)->lock |
drivers/usb/misc/sisusbvga/sisusbvga.c sisusb_write() -> sisusb_write_mem_bulk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sisusb | 4096-ptr_max |
| PARAM_VALUE | 0 | sisusb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sisusb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sisusb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sisusb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sisusb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sisusb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sisusb->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sisusb->present | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sisusb->ready | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sisusb->sisusb_dev | 1-u64max |
| PARAM_VALUE | 1 | addr | 3825205248-3825336319 |
| PARAM_VALUE | 2 | kernbuffer | 0 |
| PARAM_VALUE | 3 | length | 0-1000000000,2147479552 |
| PARAM_VALUE | 5 | index | 0 |
| PARAM_VALUE | 6 | bytes_written | 7095419004563369984 |
| PARAM_VALUE | 6 | *bytes_written | 0 |
| BUF_SIZE | 0 | sisusb | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sisusb | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &sisusb->lock | 1 |
| CAPPED_DATA | 4 | userbuffer | 1 |
| DATA_SOURCE | 3 | length | $2 |
| DATA_SOURCE | 4 | userbuffer | $1 |
| USER_DATA | 1 | addr | 3825205248-3825336319[c] |
| USER_DATA | 3 | length | 0-1000000000 |
| USER_DATA | 4 | userbuffer | 0-u64max[c] |
| LOCK2 | 0 | &sisusb->lock | |
| TYPE_LOCK | (struct sisusb_usb_data)->lock |