Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/trace/
Dtrace_probe.c629 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_print_fmt() macro
631 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
634 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=%s", in __set_print_fmt()
638 pos += snprintf(buf + pos, LEN_OR_ZERO, "\", %s", arg); in __set_print_fmt()
642 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
646 pos += snprintf(buf + pos, LEN_OR_ZERO, ", REC->%s", in __set_print_fmt()
650 #undef LEN_OR_ZERO in __set_print_fmt()
Dtrace_syscalls.c214 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_enter_print_fmt() macro
216 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt()
218 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s: 0x%%0%zulx%s", in __set_enter_print_fmt()
222 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt()
225 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_enter_print_fmt()
229 #undef LEN_OR_ZERO in __set_enter_print_fmt()
Dtrace_events_hist.c692 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro
694 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
697 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt()
701 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
704 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
708 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()