Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpio/gpiolib-sysfs.c chip_export_store() -> do_chip_export_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7205190089347264512 |
| PARAM_VALUE | 1 | attr->attr | 7267716787493806080 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 1-1000000000 |
| PARAM_VALUE | 4 | handler | 2672064851829182464 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | size | $3 |
| NOSPEC | 3 | size | |
| 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/gpio/gpiolib-sysfs.c chip_unexport_store() -> do_chip_export_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 1614215178111512576 |
| PARAM_VALUE | 1 | attr->attr | 6311116168984137728 |
| PARAM_VALUE | 1 | attr->store | 1-u64max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 1-1000000000 |
| PARAM_VALUE | 4 | handler | 4822902343478202368 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | size | $3 |
| NOSPEC | 3 | size | |
| 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 |