Documented in 2 files:
- drivers/platform/x86/dell/dell-wmi-sysman/enum-attributes.c, line 58
- drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c, line 24
Defined in 2 files as a function:
- drivers/platform/x86/dell/dell-wmi-sysman/enum-attributes.c, line 63 (as a function)
- drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c, line 31 (as a function)
No references found in the database
Smatch caller information:
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c current_value_store() -> validate_enumeration_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | instance_id | 0-254 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| CAPPED_DATA | 0 | instance_id | 1 |
| DATA_SOURCE | 0 | instance_id | r get_enumeration_instance_id |
| DATA_SOURCE | 1 | buf | r kstrdup |
| 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/platform/x86/dell/dell-wmi-sysman/enum-attributes.c current_value_store() -> validate_enumeration_input()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | instance_id | 0-255 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| CAPPED_DATA | 0 | instance_id | 1 |
| DATA_SOURCE | 0 | instance_id | r get_enumeration_instance_id |
| DATA_SOURCE | 1 | buf | r kstrdup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |