Defined in 12 files as a function:
- drivers/base/memory.c, line 404 (as a function)
- drivers/crypto/intel/qat/qat_common/adf_sysfs.c, line 31 (as a function)
- drivers/dax/kmem.c, line 337 (as a function)
- drivers/greybus/bundle.c, line 41 (as a function)
- drivers/md/md.c, line 3080 (as a function)
- drivers/regulator/userspace-consumer.c, line 53 (as a function)
- drivers/remoteproc/remoteproc_sysfs.c, line 188 (as a function)
- drivers/staging/greybus/arche-apb-ctrl.c, line 248 (as a function)
- drivers/staging/greybus/arche-platform.c, line 306 (as a function)
- kernel/power/main.c, line 799 (as a function)
- mm/damon/sysfs.c, line 2404 (as a function)
- net/rfkill/core.c, line 820 (as a function)
Referenced in 1 files:
Smatch caller information:
lib/kobject.c kobj_attr_store() -> (struct kobj_attribute)->store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 1-1000000000 |
| BUF_SIZE | 0 | dev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | dev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | size | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | size | $3 |
| CONTAINER | 1 | -48+0 | $(-1) |
| NOSPEC | 3 | size | |
| TERMINATED | 2 | buf | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| 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_store() -> (struct kobj_attribute)->store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 1-1000000000 |
| BUF_SIZE | 0 | dev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | dev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | size | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | size | $3 |
| CONTAINER | 1 | -48+0 | $(-1) |
| NOSPEC | 3 | size | |
| TERMINATED | 2 | buf | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| 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_store() -> (struct kobj_attribute)->store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 1-1000000000 |
| BUF_SIZE | 0 | dev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | dev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 3 | size | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | size | $3 |
| CONTAINER | 1 | -48+0 | $(-1) |
| NOSPEC | 3 | size | |
| TERMINATED | 2 | buf | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| 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_store() -> (struct device_attribute)->store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 1-1000000000 |
| CAPPED_DATA | 3 | size | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | size | $3 |
| CONTAINER | 1 | -48+0 | $(-1) |
| NOSPEC | 3 | size | |
| TERMINATED | 2 | buf | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 2 | ==buf3 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/md/md.c rdev_attr_store() -> (struct rdev_sysfs_entry)->store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mddev | 1-u64max |
| PARAM_VALUE | 0 | dev->mddev->reconfig_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mddev->reconfig_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mddev->reconfig_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mddev->reconfig_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->mddev->reconfig_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 1-1000000000 |
| CAPPED_DATA | 2 | buf | 1 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 1 | attr | $2 |
| DATA_SOURCE | 2 | buf | $3 |
| CAPABLE | 0 | 21 | |
| NOSPEC | 2 | buf | |
| TERMINATED | 1 | attr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 1 | ==attr2 | 8052 |
| LOCK2 | &mddev->reconfig_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |