Home
last modified time | relevance | path

Searched refs:val_str (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/input/misc/
Daxp20x-pek.c135 char val_str[20]; in axp20x_store_attr() local
141 val_str[sizeof(val_str) - 1] = '\0'; in axp20x_store_attr()
142 strncpy(val_str, buf, sizeof(val_str) - 1); in axp20x_store_attr()
143 len = strlen(val_str); in axp20x_store_attr()
145 if (len && val_str[len - 1] == '\n') in axp20x_store_attr()
146 val_str[len - 1] = '\0'; in axp20x_store_attr()
148 ret = kstrtouint(val_str, 10, &val); in axp20x_store_attr()
/Linux-v5.15/arch/s390/boot/
Dals.c66 char val_str[6]; in print_missing_facilities() local
87 u16_to_decimal(val_str, i * BITS_PER_LONG + j); in print_missing_facilities()
88 strcat(als_str, val_str); in print_missing_facilities()
/Linux-v5.15/lib/
Dubsan.c350 char val_str[VALUE_LENGTH]; in __ubsan_handle_load_invalid_value() local
357 val_to_string(val_str, sizeof(val_str), data->type, val); in __ubsan_handle_load_invalid_value()
360 val_str, data->type->type_name); in __ubsan_handle_load_invalid_value()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c1717 char *val_str; in mlxsw_core_health_fw_fatal_dump() local
1740 val_str = "CR space timeout"; in mlxsw_core_health_fw_fatal_dump()
1743 val_str = "KVD insertion machine stopped"; in mlxsw_core_health_fw_fatal_dump()
1746 val_str = NULL; in mlxsw_core_health_fw_fatal_dump()
1748 if (val_str) { in mlxsw_core_health_fw_fatal_dump()
1749 err = devlink_fmsg_string_pair_put(fmsg, "desc", val_str); in mlxsw_core_health_fw_fatal_dump()
1760 val_str = "query"; in mlxsw_core_health_fw_fatal_dump()
1763 val_str = "write"; in mlxsw_core_health_fw_fatal_dump()
1766 val_str = NULL; in mlxsw_core_health_fw_fatal_dump()
1768 if (val_str) { in mlxsw_core_health_fw_fatal_dump()
[all …]
/Linux-v5.15/kernel/trace/
Dtrace_events_hist.c2692 char *val_str = (char *)(uintptr_t)var_val; in __update_field_vars() local
2694 strscpy(str, val_str, STR_VAR_LEN_MAX); in __update_field_vars()
4580 char *str, *val_str; in hist_trigger_elt_update() local
4588 val_str = (char *)(uintptr_t)hist_val; in hist_trigger_elt_update()
4589 strscpy(str, val_str, STR_VAR_LEN_MAX); in hist_trigger_elt_update()