Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
- drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
- drivers/platform/x86/hp/hp-bioscfg/int-attributes.c, line 332
- drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c
- drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c
- drivers/platform/x86/hp/hp-bioscfg/string-attributes.c, line 314
Smatch caller information:
drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c hp_populate_password_elements_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 3 | dst_size | 64 |
| BUF_SIZE | 2 | dst | 64 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c hp_populate_password_elements_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c hp_populate_enumeration_elements_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c hp_populate_enumeration_elements_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 1 | *buffer_size | 0-4294967291 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c hp_populate_enumeration_elements_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/string-attributes.c hp_populate_string_elements_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c hp_get_common_data_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| DATA_SOURCE | 0 | buffer | $0 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c hp_get_common_data_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | **buffer | 0-255 |
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| DATA_SOURCE | 0 | buffer | $0 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c hp_init_bios_buffer_attribute() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 145605004147519488 |
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 2 | dst | 4425310229369520128 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/int-attributes.c hp_populate_integer_elements_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 2 | dst | 16,4096-ptr_max |
| BUF_SIZE | 2 | dst | 1 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| DATA_SOURCE | 2 | dst | r _kmalloc_array_noprof |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 3 | dst_size | |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c hp_populate_ordered_list_elements_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |
drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c hp_populate_ordered_list_elements_from_buffer() -> hp_get_string_from_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer_size | 5237661363727364096 |
| PARAM_VALUE | 3 | dst_size | 512 |
| BUF_SIZE | 2 | dst | 512 |
| DATA_SOURCE | 1 | buffer_size | $1 |
| UNITS | 3 | dst_size | unit_byte |
| LOCK2 | global &bioscfg_drv.mutex | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex |