Defined in 14 files as a function:
- arch/powerpc/kernel/cacheinfo.c, line 590 (as a function)
- arch/powerpc/kernel/secvar-sysfs.c, line 39 (as a function)
- drivers/base/cacheinfo.c, line 687 (as a function)
- drivers/cxl/core/port.c, line 110 (as a function)
- drivers/cxl/core/region.c, line 762 (as a function)
- drivers/dax/bus.c, line 942 (as a function)
- drivers/firmware/google/cbmem.c, line 68 (as a function)
- drivers/md/md.c, line 4920 (as a function)
- drivers/nvdimm/btt_devs.c, line 116 (as a function)
- drivers/nvdimm/namespace_devs.c, line 914 (as a function)
- drivers/nvdimm/pfn_devs.c, line 213 (as a function)
- drivers/nvdimm/region_devs.c, line 269 (as a function)
- drivers/pci/p2pdma.c, line 41 (as a function)
- drivers/platform/x86/intel/pmt/class.c, line 148 (as a function)
Referenced in 3 files:
- arch/powerpc/kernel/cacheinfo.c, line 604
- drivers/md/md.c, line 4959
- drivers/nvdimm/namespace_devs.c, line 920
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 |
drivers/md/md.c md_attr_show() -> (struct md_sysfs_entry)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ras_feat_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 1-u64max |
| CAPPED_DATA | 1 | attr | 1 |
| DATA_SOURCE | 1 | attr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |