Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/platform/wmi/string.c, line 53
- drivers/platform/wmi/tests/string_kunit.c
- drivers/platform/x86/dell/dell-wmi-ddv.c, line 246
Smatch caller information:
drivers/platform/wmi/tests/string_kunit.c wmi_string_to_utf8s_invalid_test() -> wmi_string_to_utf8s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 2178404099076775936 |
| PARAM_VALUE | 1 | dst | 8714207692149583872 |
| PARAM_VALUE | 2 | length | 7 |
| BUF_SIZE | 1 | dst | 7 |
| UNITS | 2 | length | unit_byte |
drivers/platform/wmi/tests/string_kunit.c wmi_string_to_utf8s_oversized_test() -> wmi_string_to_utf8s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 5496919380800159744 |
| PARAM_VALUE | 1 | dst | 4191227354099286016 |
| PARAM_VALUE | 2 | length | 6 |
| BUF_SIZE | 1 | dst | 6 |
| UNITS | 2 | length | unit_byte |
drivers/platform/wmi/tests/string_kunit.c wmi_string_to_utf8s_padded_test() -> wmi_string_to_utf8s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 8324392726501679104 |
| PARAM_VALUE | 1 | dst | 4642357799231492096 |
| PARAM_VALUE | 2 | length | 6 |
| BUF_SIZE | 1 | dst | 6 |
| UNITS | 2 | length | unit_byte |
drivers/platform/wmi/tests/string_kunit.c wmi_string_to_utf8s_test() -> wmi_string_to_utf8s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dst | 16,4096-ptr_max |
| BUF_SIZE | 1 | dst | 0-u64max |
| DATA_SOURCE | 1 | dst | r kunit_kzalloc |
| MEM_ZERO | 1 | dst | |
| BYTE_COUNT | 1 | ==dst2 | 8050 |
drivers/platform/x86/dell/dell-wmi-ddv.c dell_wmi_ddv_query_string() -> wmi_string_to_utf8s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 1-u64max |
| PARAM_VALUE | 2 | length | 4096 |
| BUF_SIZE | 0 | str | 4-5,8,16,32,36 |
| BUF_SIZE | 0 | str | 4-5,8,16,32,36 |
| DATA_SOURCE | 1 | dst | $3 |
| DATA_SOURCE | 2 | length | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |