Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/trace/
Dtrace_events_synth.c438 char *str_field; in trace_string() local
451 str_field = (char *)&entry->fields[*n_u64].as_u64; in trace_string()
455 ret = strncpy_from_user_nofault(str_field, str_val, STR_VAR_LEN_MAX); in trace_string()
458 ret = strncpy_from_kernel_nofault(str_field, str_val, STR_VAR_LEN_MAX); in trace_string()
461 strcpy(str_field, FAULT_STRING); in trace_string()
1996 char *str_field; in __synth_event_add_val() local
2008 str_field = (char *)&entry->fields[field->offset]; in __synth_event_add_val()
2009 strscpy(str_field, str_val, STR_VAR_LEN_MAX); in __synth_event_add_val()