Defined in 3 files as a function:
- drivers/bus/moxtet.c, line 510 (as a function)
- drivers/w1/slaves/w1_ds2408.c, line 162 (as a function)
- drivers/w1/slaves/w1_ds2413.c, line 83 (as a function)
Referenced in 2 files:
Smatch caller information:
fs/sysfs/file.c sysfs_kf_bin_write() -> (struct bin_attribute)->write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 4096-ptr_max |
| PARAM_VALUE | 2 | len->write | 1-u64max |
| PARAM_VALUE | 3 | ppos | 4096-ptr_max |
| PARAM_VALUE | 5 | count | 1-4096 |
| BUF_SIZE | 1 | buf | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | buf | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 2 | len | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 2 | len | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 5 | count | 1 |
| CAPPED_DATA | 5 | count | 1 |
| DATA_SOURCE | 1 | buf | r sysfs_file_kobj |
| DATA_SOURCE | 3 | ppos | $1 |
| DATA_SOURCE | 4 | off | $3 |
| DATA_SOURCE | 5 | count | $2 [m] |
| CONTAINER | 2 | -72+0 | $(-1) |
| BIT_INFO | 5 | count | 0x0,0x3fffffff |
| BIT_INFO | 5 | count | 0x0,0x3fffffff |
| NOSPEC | 5 | count | |
| NOSPEC | 5 | count | |
| TERMINATED | 3 | ppos | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | off | 0-4095 |
| USER_DATA | 5 | count | 1-4096 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/read_write.c vfs_write() -> (struct file_operations)->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 | len | 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 | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | len | $2 [m] |
| DATA_SOURCE | 3 | ppos | $3 |
| FUZZY_MAX | 2 | len | 2147479552 |
| CONTAINER | 0 | -32-80+0 | $(-1) |
| BIT_INFO | 0 | file->f_mode | 0x40002,0xffffffffffffffff |
| USER_DATA | 1 | buf | 0-u64max[c] |
| USER_DATA | 2 | len | 0-1000000000 |
| USER_DATA | 3 | *ppos | 0-1000000000 |
| USER_PTR | 3 | ppos |