Home
last modified time | relevance | path

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

/kernel/trace/
Dtrace_events_synth.c156 offset += STR_VAR_LEN_MAX; in synth_event_define_fields()
157 n_u64 += STR_VAR_LEN_MAX / sizeof(u64); in synth_event_define_fields()
224 if (size > STR_VAR_LEN_MAX) in synth_field_string_size()
386 STR_VAR_LEN_MAX, in print_synth_event()
392 STR_VAR_LEN_MAX, in print_synth_event()
395 n_u64 += STR_VAR_LEN_MAX / sizeof(u64); in print_synth_event()
476 ret = strncpy_from_user_nofault(str_field, (const void __user *)str_val, STR_VAR_LEN_MAX); in trace_string()
479 ret = strncpy_from_kernel_nofault(str_field, str_val, STR_VAR_LEN_MAX); in trace_string()
484 (*n_u64) += STR_VAR_LEN_MAX / sizeof(u64); in trace_string()
2025 strscpy(str_field, str_val, STR_VAR_LEN_MAX); in __synth_event_add_val()
Dtrace_synth.h10 #define STR_VAR_LEN_MAX MAX_FILTER_STR_VAL /* must be multiple of sizeof(u64) */ macro
Dtrace_events_hist.c1651 BUILD_BUG_ON(STR_VAR_LEN_MAX & (sizeof(u64) - 1)); in hist_trigger_elt_data_alloc()
1653 size = STR_VAR_LEN_MAX; in hist_trigger_elt_data_alloc()
3117 size = min(val->size, STR_VAR_LEN_MAX); in __update_field_vars()
5111 size = min(hist_field->size, STR_VAR_LEN_MAX); in hist_trigger_elt_update()