Defined in 9 files as a function:
- drivers/hid/hid-msi.c, line 1633 (as a function)
- drivers/hid/hid-oxp.c, line 1300 (as a function)
- drivers/scsi/qedi/qedi_sysfs.c, line 31 (as a function)
- drivers/thunderbolt/switch.c, line 1993 (as a function)
- drivers/thunderbolt/xdomain.c, line 1933 (as a function)
- drivers/usb/core/sysfs.c, line 145 (as a function)
- drivers/usb/misc/trancevibrator.c, line 33 (as a function)
- drivers/w1/slaves/w1_ds28e17.c, line 582 (as a function)
- net/core/net-sysfs.c, line 332 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/base/core.c dev_attr_show() -> (struct device_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| CONTAINER | 1 | -40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/libfs.c simple_attr_read() -> (struct simple_attr)->get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 3083600379104260096 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| CONTAINER | 0 | *(-0+64) | $(-1) |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |