Defined in 1 files as a member:
Defined in 1 files as a label:
Defined in 4 files as a function:
- drivers/firmware/google/cbmem.c, line 33 (as a function)
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c, line 3268 (as a function)
- drivers/usb/isp1760/isp1760-hcd.c, line 405 (as a function)
- fs/proc/base.c, line 937 (as a function)
Referenced in 9 files:
- arch/m68k/fpsp040/skeleton.S
- arch/m68k/fpsp040/util.S
- arch/m68k/fpsp040/x_fline.S
- arch/m68k/ifpsp060/src/fpsp.S
- arch/m68k/ifpsp060/src/pfpsp.S
- arch/x86/kvm/emulate.c
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c, line 3308
- drivers/usb/isp1760/isp1760-hcd.c, line 1073
- fs/proc/base.c, line 975
Smatch caller information:
drivers/usb/isp1760/isp1760-hcd.c collect_qtds() -> mem_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | count | s32min-(-2),1-s32max |
| 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/sysfs/file.c sysfs_kf_bin_read() -> (struct bin_attribute)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 4096-ptr_max |
| PARAM_VALUE | 2 | count->read | 1-u64max |
| PARAM_VALUE | 3 | ppos | 1-u64max |
| 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 | -64+0 | $(-1) |
| PARAM_COMPARE | 3 | ppos | >= $5 |
| BIT_INFO | 5 | count | 0x0,0x7fffffffffffffff |
| BIT_INFO | 5 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 4 | pos | |
| NOSPEC | 4 | pos | |
| NOSPEC | 5 | count | |
| NOSPEC | 5 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | pos | 0-4095 |
| USER_DATA | 5 | count | 1-4096 |
| BYTE_COUNT | 3 | ==ppos5 | 8050 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/read_write.c vfs_read() -> (struct file_operations)->read()
| 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->read | 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 | -24-80+0 | $(-1) |
| BIT_INFO | 0 | file->f_mode | 0x20001,0xffffffff |
| USER_DATA | 1 | buf | 0-u64max[c] |
| USER_DATA | 2 | count | 0-1000000000 |
| USER_DATA | 3 | *ppos | 0-1000000000 |
| USER_PTR | 3 | ppos |