Defined in 8 files as a function:
- arch/um/drivers/ubd_kern.c, line 788 (as a function)
- drivers/acpi/nfit/core.c, line 1537 (as a function)
- drivers/block/virtio_blk.c, line 892 (as a function)
- drivers/cxl/core/memdev.c, line 114 (as a function)
- drivers/firmware/meson/meson_sm.c, line 270 (as a function)
- drivers/infiniband/hw/hfi1/sysfs.c, line 473 (as a function)
- drivers/scsi/myrs.c, line 1297 (as a function)
- drivers/zorro/zorro-sysfs.c, line 42 (as a function)
No references found in the database
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 |