Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/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.4/lib/
Dubsan.c424 char val_str[VALUE_LENGTH]; in __ubsan_handle_load_invalid_value() local
431 val_to_string(val_str, sizeof(val_str), data->type, val); in __ubsan_handle_load_invalid_value()
434 val_str, data->type->type_name); in __ubsan_handle_load_invalid_value()
/Linux-v5.4/kernel/trace/
Dtrace_events_hist.c3390 char *val_str = (char *)(uintptr_t)var_val; in __update_field_vars() local
3392 strscpy(str, val_str, STR_VAR_LEN_MAX); in __update_field_vars()