Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 34 files:
- arch/powerpc/kernel/secvar-sysfs.c, line 81
- arch/powerpc/platforms/powernv/opal-msglog.c
- arch/s390/kernel/cpacf.c
- arch/s390/kernel/ipl.c
- arch/s390/pci/pci_sysfs.c, line 138
- drivers/acpi/sysfs.c, line 337
- drivers/base/devcoredump.c, line 247
- drivers/cxl/port.c, line 186
- drivers/firmware/dmi-sysfs.c, line 533
- drivers/firmware/google/cbmem.c, line 39
- drivers/firmware/google/memconsole-coreboot.c, line 63
- drivers/firmware/google/memconsole-x86-legacy.c, line 48
- drivers/firmware/google/vpd.c
- drivers/hwmon/occ/p9_sbe.c, line 41
- drivers/leds/led-triggers.c, line 157
- drivers/mtd/spi-nor/sysfs.c, line 62
- drivers/of/kobj.c, line 39
- drivers/platform/x86/dell/dcdbas.c, line 172
- drivers/platform/x86/dell/dell_rbu.c, line 476
- drivers/platform/x86/wmi-bmof.c, line 28
- drivers/remoteproc/remoteproc_coredump.c, line 189
- drivers/s390/cio/chp.c
- drivers/scsi/3w-sas.c
- drivers/scsi/ipr.c
- drivers/scsi/qedf/qedf_attr.c, line 116
- drivers/scsi/qla2xxx/qla_attr.c
- drivers/scsi/qla4xxx/ql4_attr.c, line 25
- drivers/scsi/scsi_sysfs.c
- drivers/video/fbdev/aty/radeon_base.c, line 2197
- drivers/virt/coco/guest/report.c, line 259
- drivers/zorro/zorro-sysfs.c, line 99
- fs/libfs.c, line 1229
- lib/bitmap-str.c, line 64
- net/sunrpc/sysctl.c, line 54
Smatch caller information:
drivers/of/kobj.c of_node_property_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 3 | from | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 3 | from | unit_array_size |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
lib/bitmap-str.c bitmap_print_to_buf() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096,8192 |
| PARAM_VALUE | 3 | from | 1-u64max |
| PARAM_VALUE | 3 | *from | 0-255 |
| PARAM_VALUE | 4 | available | 1-18446744073709551614 |
| BUF_SIZE | 0 | to | (-1),8192 |
| BUF_SIZE | 3 | from | 0-s32max |
| BUF_SIZE | 3 | from | 0-s32max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 3 | from | 1 |
| DATA_SOURCE | 0 | to | $1 |
| DATA_SOURCE | 1 | count | $5 |
| DATA_SOURCE | 3 | from | r kasprintf |
| STR_LEN | 0 | to | 0-18446744073709551613 |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 1 | count | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| HALF_LOCKED2 | &of->mutex |
drivers/video/fbdev/aty/radeon_base.c radeon_show_one_edid() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 128 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $0 |
| DATA_SOURCE | 1 | count | $2 |
| DATA_SOURCE | 3 | from | $3 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/sunrpc/sysctl.c proc_do_xprt() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | count | 0-4194303 |
| PARAM_VALUE | 2 | ppos | 4096-ptr_max |
| PARAM_VALUE | 2 | *ppos | 0 |
| PARAM_VALUE | 3 | from | 6658567272115265536 |
| PARAM_VALUE | 4 | available | 0,6-s32max |
| BUF_SIZE | 0 | to | (-1),1-4194304 |
| BUF_SIZE | 0 | to | (-1),1-4194304 |
| BUF_SIZE | 3 | from | 256 |
| DATA_SOURCE | 0 | to | $2 |
| DATA_SOURCE | 2 | ppos | $4 |
| DATA_SOURCE | 4 | available | r svc_print_xprts |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 0-4194303[c] |
| USER_DATA | 2 | *ppos | 0 |
| USER_PTR | 2 | ppos | |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/scsi_sysfs.c show_inquiry() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 3 | from | 1-u64max |
| BUF_SIZE | 3 | from | 36-255 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_sysfs.c show_vpd_pg0() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_sysfs.c show_vpd_pg80() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_sysfs.c show_vpd_pg83() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_sysfs.c show_vpd_pg89() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_sysfs.c show_vpd_pgb0() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_sysfs.c show_vpd_pgb1() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_sysfs.c show_vpd_pgb2() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_sysfs.c show_vpd_pgb7() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/qedf/qedf_attr.c qedf_sysfs_read_grcdump() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/3w-sas.c twl_sysfs_aen_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 28672 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | tw_dev->host->host_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/3w-sas.c twl_sysfs_compat_info() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 3 | from | 4096-ptr_max |
| PARAM_VALUE | 4 | available | 56 |
| BUF_SIZE | 3 | from | 56 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | tw_dev->host->host_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/qla4xxx/ql4_attr.c qla4_8xxx_sysfs_read_fw_dump() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| BUF_SIZE | 3 | from | 1-s32max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/firmware/google/memconsole-coreboot.c memconsole_coreboot_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 4096-ptr_max |
| PARAM_VALUE | 0 | *to | 0-255 |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 3 | from | 4096-ptr_max |
| PARAM_VALUE | 3 | *from | 0-255 |
| PARAM_VALUE | 4 | available | 0-u32max |
| CAPPED_DATA | 1 | count | 1 |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4095[c] |
| USER_DATA | 2 | *ppos | 0-s64max |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/remoteproc/remoteproc_coredump.c rproc_coredump_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 2 | *ppos | s64min-(-2),0-s64max |
| PARAM_VALUE | 4 | available | 1-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $0 |
| DATA_SOURCE | 1 | count | $2 |
| DATA_SOURCE | 4 | available | $4 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 1-4095[c] |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/dell/dell_rbu.c read_rbu_mono_data() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 3 | from | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 4 | available | 1-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $0 |
| DATA_SOURCE | 1 | count | $2 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rbu_data.lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct _rbu_data)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_fw_dump() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 2 | *ppos | s64min-4294967294 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095[c] |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &ha->optrom_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct qla_hw_data)->optrom_mutex |
drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_fw_dump() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 2 | *ppos | 0-s64max |
| BUF_SIZE | 3 | from | 1-s32max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &ha->optrom_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct qla_hw_data)->optrom_mutex |
drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_fw_dump() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 548964 |
| BUF_SIZE | 3 | from | 548964 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &ha->optrom_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct qla_hw_data)->optrom_mutex |
drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_fw_dump() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &ha->optrom_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct qla_hw_data)->optrom_mutex |
drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_fw_dump() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &ha->optrom_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct qla_hw_data)->optrom_mutex |
drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_nvram() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| BUF_SIZE | 3 | from | 4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | *from | 0-255 |
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_optrom() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| BUF_SIZE | 3 | from | 1-s32max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &ha->optrom_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct qla_hw_data)->optrom_mutex |
drivers/scsi/qla2xxx/qla_attr.c qla2x00_sysfs_read_vpd() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | *from | 0-255 |
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/firmware/google/cbmem.c mem_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/leds/led-triggers.c led_trigger_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 3 | from | 16,4096-ptr_max |
| PARAM_VALUE | 3 | *from | 0-255 |
| PARAM_VALUE | 4 | available | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 3 | from | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 3 | from | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| DATA_SOURCE | 3 | from | r __kvmalloc_node_noprof |
| DATA_SOURCE | 4 | available | r led_trigger_format |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/mtd/spi-nor/sysfs.c sfdp_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| BUF_SIZE | 3 | from | 1-4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/ipr.c ipr_read_async_err_log() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 3 | from | 4096-ptr_max |
| PARAM_VALUE | 4 | available | 3120 |
| BUF_SIZE | 3 | from | 3120 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | ioa_cfg->host->host_lock | ||
| LOCK2 | lock_flags | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/ipr.c ipr_read_trace() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 4 | available | 4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | ioa_cfg->host->host_lock | ||
| LOCK2 | lock_flags | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/firmware/google/memconsole-x86-legacy.c memconsole_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $0 |
| DATA_SOURCE | 1 | count | $2 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/wmi-bmof.c bmof_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| BUF_SIZE | 3 | from | 4-5,8,16,32,36 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/devcoredump.c devcd_readv() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| BUF_SIZE | 3 | from | 1-s32max |
| BUF_SIZE | 3 | from | 1-s32max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $0 |
| DATA_SOURCE | 1 | count | $2 |
| DATA_SOURCE | 3 | from | $3 |
| DATA_SOURCE | 4 | available | $4 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cxl/port.c CDAT_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 3 | from | 1-u64max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/firmware/google/vpd.c vpd_attrib_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/firmware/google/vpd.c vpd_section_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/dell/dcdbas.c smi_data_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 3 | from | 0-ptr_max |
| BUF_SIZE | 3 | from | 1-262144 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &smi_data_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/acpi/sysfs.c acpi_table_show() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| PARAM_VALUE | 3 | from | 4096-ptr_max |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/virt/coco/guest/report.c __read_report() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 0-u32max |
| PARAM_VALUE | 2 | ppos | 3852564953052798976 |
| PARAM_VALUE | 2 | *ppos | 0 |
| PARAM_VALUE | 4 | available | 0-u32max |
| BUF_SIZE | 0 | to | (-1),1-s32max |
| BUF_SIZE | 0 | to | (-1),1-s32max |
| BUF_SIZE | 3 | from | (-1),1-131048 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $1 |
| DATA_SOURCE | 1 | count | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | available | unit_byte |
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/hwmon/occ/p9_sbe.c ffdc_read() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 1-u64max |
| PARAM_VALUE | 1 | count | 1-4096 |
| BUF_SIZE | 3 | from | 8,4096 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | count | $5 |
| BIT_INFO | 1 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| NOSPEC | 2 | *ppos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | count | 1-4096[c] |
| USER_DATA | 2 | *ppos | 0-4095 |
| UNITS | 4 | available | unit_byte |
| BYTE_COUNT | 0 | ==to1 | 8050 |
| USER_PTR | 2 | ppos | |
| LOCK2 | &ctx->sbe_error_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct p9_sbe_occ)->sbe_error_lock |
drivers/firmware/dmi-sysfs.c dmi_entry_raw_read_helper() -> memory_read_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ppos | 4096-ptr_max |
| PARAM_VALUE | 3 | from | 4096-ptr_max |
| PARAM_VALUE | 4 | available | 0-9223372036854771712,9223372036854779904-u64max |
| DATA_SOURCE | 3 | from | $1 |
| DATA_SOURCE | 4 | available | r dmi_entry_length |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |