Defined in 1 files as a label:
Defined in 4 files as a function:
- drivers/firmware/google/cbmem.c, line 43 (as a function)
- drivers/platform/x86/intel/vsec_tpmi.c, line 472 (as a function)
- drivers/usb/isp1760/isp1760-hcd.c, line 478 (as a function)
- fs/proc/base.c, line 943 (as a function)
Referenced in 8 files:
- arch/m68k/fpsp040/res_func.S
- arch/m68k/fpsp040/skeleton.S
- arch/m68k/fpsp040/x_operr.S
- arch/m68k/fpsp040/x_snan.S
- arch/m68k/fpsp040/x_store.S
- drivers/platform/x86/intel/vsec_tpmi.c, line 533
- drivers/usb/isp1760/isp1760-hcd.c, line 1164
- fs/proc/base.c, line 976
Smatch caller information:
drivers/usb/isp1760/isp1760-hcd.c enqueue_qtds() -> mem_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 1-u32max |
| BUF_SIZE | 0 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | count | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | ppos | 1 |
| DATA_SOURCE | 0 | file | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | count | unit_byte |
| UNITS | 3 | ppos | unit_byte |
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | spinflags | ||
| TYPE_LOCK | (struct isp1760_hcd)->lock |
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 | 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 | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | count | $2 [m] |
| DATA_SOURCE | 3 | ppos | $3 |
| FUZZY_MAX | 2 | count | 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 | count | 0-1000000000 |
| USER_DATA | 3 | *ppos | 0-1000000000 |
| USER_PTR | 3 | ppos |
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 | count | 4096-ptr_max |
| PARAM_VALUE | 2 | count->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 | count | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 2 | count | 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 | pos | $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 | pos | 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 |