Home
last modified time | relevance | path

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

/kernel/trace/
Dtrace_probe.c885 #define LEN_OR_ZERO (len ? len - pos : 0) macro
912 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
916 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt()
918 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt()
921 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt()
923 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt()
925 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt()
929 pos += snprintf(buf + pos, LEN_OR_ZERO, "\", %s", arg); in __set_print_fmt()
939 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
946 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
[all …]
Dtrace_syscalls.c218 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_enter_print_fmt() macro
220 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt()
222 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s: 0x%%0%zulx%s", in __set_enter_print_fmt()
226 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt()
229 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_enter_print_fmt()
233 #undef LEN_OR_ZERO in __set_enter_print_fmt()
Dtrace_events_synth.c612 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro
614 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
617 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt()
621 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
626 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
629 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
632 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
636 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()