Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/platform/x86/hp/hp-bioscfg/biosattr-interface.c
- drivers/platform/x86/hp/hp-bioscfg/spmobj-attributes.c
Smatch caller information:
drivers/platform/x86/hp/hp-bioscfg/biosattr-interface.c hp_set_attribute() -> hp_ascii_to_utf16_unicode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 16,4096-ptr_max |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| BUF_SIZE | 0 | p | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | p | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | str | 1-s32max |
| BUF_SIZE | 1 | str | 1-s32max |
| DATA_SOURCE | 1 | str | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &bioscfg_drv.mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/hp/hp-bioscfg/biosattr-interface.c hp_set_attribute() -> hp_ascii_to_utf16_unicode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| DATA_SOURCE | 0 | p | r hp_ascii_to_utf16_unicode |
| DATA_SOURCE | 1 | str | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &bioscfg_drv.mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/hp/hp-bioscfg/spmobj-attributes.c hp_populate_security_buffer() -> hp_ascii_to_utf16_unicode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4098-18446744073709547521 |
| BUF_SIZE | 1 | str | 1-1000000000 |
| BUF_SIZE | 1 | str | 1-1000000000 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | str | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &bioscfg_drv.mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/hp/hp-bioscfg/spmobj-attributes.c hp_populate_security_buffer() -> hp_ascii_to_utf16_unicode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4098-18446744073709547521 |
| PARAM_VALUE | 1 | str | 1-u64max |
| BUF_SIZE | 1 | str | 0-s32max |
| BUF_SIZE | 1 | str | 0-s32max |
| CAPPED_DATA | 1 | str | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | str | r kasprintf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &bioscfg_drv.mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |