Defined in 5 files as a function:
- drivers/char/xillybus/xillyusb.c, line 224 (as a function)
- drivers/gpib/cb7210/cb7210.c, line 267 (as a function)
- samples/kfifo/bytestream-example.c, line 113 (as a function)
- samples/kfifo/inttype-example.c, line 106 (as a function)
- samples/kfifo/record-example.c, line 120 (as a function)
Referenced in 5 files:
- drivers/char/xillybus/xillyusb.c
- drivers/gpib/cb7210/cb7210.c, line 370
- samples/kfifo/bytestream-example.c, line 151
- samples/kfifo/inttype-example.c, line 144
- samples/kfifo/record-example.c, line 158
Smatch caller information:
drivers/gpib/cb7210/cb7210.c cb7210_accel_write() -> fifo_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->big_gpib_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->big_gpib_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | file->big_gpib_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | file->big_gpib_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | file->big_gpib_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->big_gpib_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | file->big_gpib_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | file->big_gpib_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | file->big_gpib_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | file->big_gpib_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | file->big_gpib_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->interface | 4096-ptr_max |
| PARAM_VALUE | 0 | file->locking_pid_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file->online | 1-u32max |
| PARAM_VALUE | 2 | count | 1-4294967294 |
| PARAM_VALUE | 3 | ppos | 7041522053935038464 |
| BUF_SIZE | 1 | buf | 16384 |
| BUF_SIZE | 1 | buf | 16384 |
| CAPPED_DATA | 0 | file->locking_pid | 1 |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| USER_DATA | 0 | file->status | 0-4294967321[c][u] |
| USER_DATA | 0 | *file->buffer | 0-255 |
| USER_DATA | 1 | *buf | 0-255 |
| USER_PTR | 0 | file->buffer | |
| USER_PTR | 1 | buf |
drivers/char/xillybus/xillyusb.c process_bulk_in() -> fifo_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 1-u64max |
| PARAM_VALUE | 3 | ppos | 734240262023966720 |
| CAPPED_DATA | 2 | count | 1 |
| LOCK2 | &xdev->process_in_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xillyusb_dev)->process_in_mutex |
drivers/char/xillybus/xillyusb.c xillyusb_send_opcode() -> fifo_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 8 |
| PARAM_VALUE | 3 | ppos | 734240262023966720 |
| BUF_SIZE | 0 | file | 208 |
| BUF_SIZE | 1 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &xdev->msg_mutex | ||
| HALF_LOCKED2 | &chan->in_mutex | ||
| HALF_LOCKED2 | &chan->out_mutex | ||
| TYPE_LOCK | (struct xillyusb_dev)->msg_mutex |
drivers/char/xillybus/xillyusb.c xillyusb_write() -> fifo_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-1000000000,2147479552 |
| PARAM_VALUE | 3 | ppos | 8419645942978797568 |
| BUF_SIZE | 0 | file | 208 |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | count | $2 |
| USER_DATA | 2 | count | 1-1000000000 |
| LOCK2 | &chan->out_mutex | ||
| TYPE_LOCK | (struct xillyusb_channel)->out_mutex |
fs/proc/inode.c pde_write() -> pde_write ptr write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->write | 1-u64max |
| PARAM_VALUE | 2 | count | 0-1000000000,2147479552 |
| PARAM_VALUE | 3 | *ppos | 0-1000000000 |
| BUF_SIZE | 3 | ppos | (-1),8 |
| BUF_SIZE | 3 | ppos | (-1),8 |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 0 | file | $1 |
| DATA_SOURCE | 1 | buf | $2 |
| DATA_SOURCE | 2 | count | $3 |
| DATA_SOURCE | 3 | ppos | $4 |
| FUZZY_MAX | 2 | count | 2147479552 |
| BIT_INFO | 0 | file->f_mode | 0x40002,0xffffffffffffffff |
| USER_DATA | 1 | buf | 0-u64max[c] |
| USER_DATA | 2 | count | 0-1000000000 |
| USER_DATA | 3 | *ppos | 0-1000000000 |
| USER_PTR | 3 | ppos |