Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/platform/wmi/core.c
- drivers/platform/wmi/marshalling.c, line 251
- drivers/platform/wmi/tests/marshalling_kunit.c
Smatch caller information:
drivers/platform/wmi/tests/marshalling_kunit.c wmi_marshal_string_failure_test() -> wmi_marshal_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 7602828138439491584 |
drivers/platform/wmi/tests/marshalling_kunit.c wmi_marshal_string_test() -> wmi_marshal_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 477877388850737152 |
drivers/platform/wmi/core.c wmidev_invoke_method() -> wmi_marshal_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 550778692149182464,1888481722814025728,2825527394699927552,3776308984181952512,4248943295042797568,7171421840193241088,8525688594385027072 |
| PARAM_VALUE | 0 | buffer->data | 8,4096-ptr_max |
| PARAM_VALUE | 1 | out | 6129920859974508544 |
| DATA_SOURCE | 0 | buffer | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/platform/wmi/core.c wmidev_invoke_procedure() -> wmi_marshal_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 1888481722814025728,2257522238051835904,2825527394699927552 |
| PARAM_VALUE | 0 | buffer->data | 4096-ptr_max |
| PARAM_VALUE | 0 | buffer->length | 1,5,8,32 |
| PARAM_VALUE | 1 | out | 7252472081129250816 |
| DATA_SOURCE | 0 | buffer | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/platform/wmi/core.c wmidev_set_block() -> wmi_marshal_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 6044201703849635840 |
| PARAM_VALUE | 0 | buffer->data | 5702668467360215040 |
| PARAM_VALUE | 0 | buffer->length | 4 |
| PARAM_VALUE | 1 | out | 5247208897104752640 |
| DATA_SOURCE | 0 | buffer | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |