Documented in 2 files:
Defined in 1 files as a prototype:
Defined in 60 files as a function:
- arch/mips/sgi-ip22/ip22-gio.c, line 162 (as a function)
- arch/powerpc/platforms/pseries/ibmebus.c, line 407 (as a function)
- arch/powerpc/platforms/pseries/vio.c, line 1536 (as a function)
- arch/x86/platform/ts5500/ts5500.c, line 150 (as a function)
- drivers/acpi/platform_profile.c, line 144 (as a function)
- drivers/base/power/wakeup_stats.c, line 92 (as a function)
- drivers/devfreq/devfreq-event.c, line 441 (as a function)
- drivers/devfreq/devfreq.c, line 1366 (as a function)
- drivers/extcon/extcon.c, line 387 (as a function)
- drivers/firmware/arm_scmi/bus.c, line 327 (as a function)
- drivers/fpga/fpga-bridge.c, line 288 (as a function)
- drivers/fpga/fpga-mgr.c, line 616 (as a function)
- drivers/gpu/drm/display/drm_dp_aux_dev.c, line 105 (as a function)
- drivers/gpu/drm/i915/gt/sysfs_engines.c, line 26 (as a function)
- drivers/gpu/drm/xe/xe_gt_idle.c, line 287 (as a function)
- drivers/hwmon/dme1737.c, line 1497 (as a function)
- drivers/hwmon/f71805f.c, line 976 (as a function)
- drivers/hwmon/f71882fg.c, line 514 (as a function)
- drivers/hwmon/hwmon.c, line 74 (as a function)
- drivers/hwmon/ibmaem.c, line 796 (as a function)
- drivers/hwmon/max1111.c, line 99 (as a function)
- drivers/hwmon/max197.c, line 207 (as a function)
- drivers/hwmon/mc13783-adc.c, line 31 (as a function)
- drivers/hwmon/pc87360.c, line 1274 (as a function)
- drivers/hwmon/pc87427.c, line 921 (as a function)
- drivers/hwmon/sch5636.c, line 159 (as a function)
- drivers/hwmon/sht15.c, line 769 (as a function)
- drivers/hwmon/sis5595.c, line 554 (as a function)
- drivers/hwmon/smsc47m1.c, line 443 (as a function)
- drivers/hwmon/via-cputemp.c, line 50 (as a function)
- drivers/hwmon/via686a.c, line 663 (as a function)
- drivers/hwmon/vt8231.c, line 701 (as a function)
- drivers/hwmon/w83627hf.c, line 1475 (as a function)
- drivers/hwmon/w83781d.c, line 1608 (as a function)
- drivers/i2c/i2c-core-base.c, line 667 (as a function)
- drivers/i2c/i2c-dev.c, line 98 (as a function)
- drivers/iio/industrialio-core.c, line 1469 (as a function)
- drivers/iio/industrialio-trigger.c, line 50 (as a function)
- drivers/macintosh/macio_sysfs.c, line 52 (as a function)
- drivers/mcb/mcb-core.c, line 133 (as a function)
- drivers/media/v4l2-core/v4l2-dev.c, line 79 (as a function)
- drivers/misc/mei/bus.c, line 1181 (as a function)
- drivers/pnp/card.c, line 184 (as a function)
- drivers/powercap/powercap_sys.c, line 346 (as a function)
- drivers/pps/sysfs.c, line 64 (as a function)
- drivers/regulator/core.c, line 632 (as a function)
- drivers/regulator/userspace-consumer.c, line 34 (as a function)
- drivers/remoteproc/remoteproc_sysfs.c, line 212 (as a function)
- drivers/rpmsg/rpmsg_char.c, line 374 (as a function)
- drivers/rtc/sysfs.c, line 25 (as a function)
- drivers/ssb/main.c, line 371 (as a function)
- drivers/uio/uio.c, line 216 (as a function)
- drivers/vfio/mdev/mdev_sysfs.c, line 96 (as a function)
- drivers/w1/w1.c, line 85 (as a function)
- fs/fuse/virtio_fs.c, line 219 (as a function)
- kernel/irq/irqdesc.c, line 307 (as a function)
- net/ieee802154/sysfs.c, line 37 (as a function)
- net/rfkill/core.c, line 705 (as a function)
- net/wireless/sysfs.c, line 40 (as a function)
- sound/aoa/soundbus/sysfs.c, line 23 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/extcon/extcon.c extcon_sync() -> name_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 0 |
| PARAM_VALUE | 2 | buf | 18379471554275704832,18446612682070032384 |
| DATA_SOURCE | 2 | buf | r get_zeroed_page_noprof |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &edev->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct extcon_dev)->lock |
drivers/soc/hisilicon/kunpeng_hccs.c hccs_show() -> (struct kobj_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| 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 |
lib/kobject.c kobj_attr_show() -> (struct kobj_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 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| 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/ocfs2/filecheck.c ocfs2_filecheck_show() -> (struct kobj_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 0,4096-ptr_max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| 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/gpu/drm/xe/xe_hw_engine_class_sysfs.c xe_hw_engine_class_sysfs_attr_show() -> (struct kobj_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 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | kobj | $0 |
| 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/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/vfio/mdev/mdev_sysfs.c mdev_type_attr_show() -> (struct mdev_type_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->show | 134867551363301376,1821310164311875584,8742409611818266624,8980281642748354560 |
| 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 |