/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | enum-attributes.c | 129 char *str_value = NULL; in hp_populate_enumeration_elements_from_package() local 150 &str_value, &value_len); in hp_populate_enumeration_elements_from_package() 167 kfree(str_value); in hp_populate_enumeration_elements_from_package() 177 strscpy(enum_data->common.path, str_value, in hp_populate_enumeration_elements_from_package() 220 &str_value, &value_len); in hp_populate_enumeration_elements_from_package() 226 str_value, in hp_populate_enumeration_elements_from_package() 229 kfree(str_value); in hp_populate_enumeration_elements_from_package() 230 str_value = NULL; in hp_populate_enumeration_elements_from_package() 240 str_value, sizeof(enum_data->current_value)); in hp_populate_enumeration_elements_from_package() 271 &str_value, &value_len); in hp_populate_enumeration_elements_from_package() [all …]
|
H A D | order-list-attributes.c | 133 char *str_value = NULL; in hp_populate_ordered_list_elements_from_package() local 158 &str_value, &value_len); in hp_populate_ordered_list_elements_from_package() 175 kfree(str_value); in hp_populate_ordered_list_elements_from_package() 183 str_value, sizeof(ordered_list_data->current_value)); in hp_populate_ordered_list_elements_from_package() 187 strscpy(ordered_list_data->common.path, str_value, in hp_populate_ordered_list_elements_from_package() 225 &str_value, &value_len); in hp_populate_ordered_list_elements_from_package() 231 str_value, in hp_populate_ordered_list_elements_from_package() 234 kfree(str_value); in hp_populate_ordered_list_elements_from_package() 235 str_value = NULL; in hp_populate_ordered_list_elements_from_package() 266 ret = hp_convert_hexstr_to_str(str_value, value_len, &tmpstr, &tmp_len); in hp_populate_ordered_list_elements_from_package() [all …]
|
H A D | string-attributes.c | 133 char *str_value = NULL; in hp_populate_string_elements_from_package() local 156 &str_value, &value_len); in hp_populate_string_elements_from_package() 174 kfree(str_value); in hp_populate_string_elements_from_package() 182 str_value, sizeof(string_data->current_value)); in hp_populate_string_elements_from_package() 185 strscpy(string_data->common.path, str_value, in hp_populate_string_elements_from_package() 229 &str_value, &value_len); in hp_populate_string_elements_from_package() 235 str_value, in hp_populate_string_elements_from_package() 237 kfree(str_value); in hp_populate_string_elements_from_package() 238 str_value = NULL; in hp_populate_string_elements_from_package() 256 kfree(str_value); in hp_populate_string_elements_from_package() [all …]
|
H A D | passwdobj-attributes.c | 226 char *str_value = NULL; in hp_populate_password_elements_from_package() local 250 &str_value, &value_len); in hp_populate_password_elements_from_package() 267 kfree(str_value); in hp_populate_password_elements_from_package() 276 strscpy(password_data->common.path, str_value, in hp_populate_password_elements_from_package() 314 &str_value, &value_len); in hp_populate_password_elements_from_package() 320 str_value, in hp_populate_password_elements_from_package() 323 kfree(str_value); in hp_populate_password_elements_from_package() 324 str_value = NULL; in hp_populate_password_elements_from_package() 359 &str_value, &value_len); in hp_populate_password_elements_from_package() 364 str_value, in hp_populate_password_elements_from_package() [all …]
|
H A D | int-attributes.c | 143 char *str_value = NULL; in hp_populate_integer_elements_from_package() local 166 &str_value, &value_len); in hp_populate_integer_elements_from_package() 182 kfree(str_value); in hp_populate_integer_elements_from_package() 188 ret = kstrtoint(str_value, 10, &int_value); in hp_populate_integer_elements_from_package() 195 strscpy(integer_data->common.path, str_value, in hp_populate_integer_elements_from_package() 238 &str_value, &value_len); in hp_populate_integer_elements_from_package() 244 str_value, in hp_populate_integer_elements_from_package() 246 kfree(str_value); in hp_populate_integer_elements_from_package() 247 str_value = NULL; in hp_populate_integer_elements_from_package() 268 kfree(str_value); in hp_populate_integer_elements_from_package() [all …]
|
H A D | bioscfg.c | 664 char *str_value = NULL; in hp_init_bios_package_attribute() local 695 &str_value, &str_len); in hp_init_bios_package_attribute() 700 kfree(str_value); in hp_init_bios_package_attribute() 705 duplicate = kset_find_obj(temp_kset, str_value); in hp_init_bios_package_attribute() 707 pr_debug("Duplicate attribute name found - %s\n", str_value); in hp_init_bios_package_attribute() 723 NULL, "%s", str_value); in hp_init_bios_package_attribute() 763 kfree(str_value); in hp_init_bios_package_attribute() 777 char *str_value = NULL; in hp_init_bios_buffer_attribute() local 864 kfree(str_value); in hp_init_bios_buffer_attribute()
|
/openbmc/u-boot/cmd/ |
H A D | binop.c | 59 char *str_value; in read_from_env_var() local 61 str_value = getenv(varname); in read_from_env_var() 62 if (str_value) in read_from_env_var() 63 decode_hexstring(str_value, result); in read_from_env_var()
|
/openbmc/linux/drivers/iio/accel/ |
H A D | st_accel_core.c | 1359 char *str_value; in apply_acpi_orientation() local 1363 str_value = "-1"; in apply_acpi_orientation() 1366 str_value = "0"; in apply_acpi_orientation() 1369 str_value = "1"; in apply_acpi_orientation() 1374 adata->mount_matrix.rotation[i * 3 + j] = str_value; in apply_acpi_orientation()
|
/openbmc/linux/fs/smb/client/ |
H A D | sess.c | 1022 char *str_value, in cifs_security_buffer_from_str() argument 1037 if (!str_value) { in cifs_security_buffer_from_str() 1044 str_value, in cifs_security_buffer_from_str()
|