Defined in 3 files as a function:
- drivers/base/firmware_loader/sysfs.c, line 47 (as a function)
- drivers/md/md-bitmap.c, line 2800 (as a function)
- drivers/staging/greybus/vibrator.c, line 78 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/base/class.c class_attr_store() -> (struct class_attribute)->store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->store | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 1-1000000000 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| CONTAINER | 1 | -48+0 | $(-1) |
| NOSPEC | 3 | count | |
| 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 md_attr_store() -> (struct md_sysfs_entry)->store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| 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 | &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 | count | 1-1000000000 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | count | $3 |
| CONTAINER | 1 | -48+0 | $(-1) |
| NOSPEC | 3 | count | |
| 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 |