Home
last modified time | relevance | path

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

/linux-2.6.39/kernel/trace/
Dtrace_syscalls.c207 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_enter_print_fmt() macro
209 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt()
211 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s: 0x%%0%zulx%s", in __set_enter_print_fmt()
215 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt()
218 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_enter_print_fmt()
222 #undef LEN_OR_ZERO in __set_enter_print_fmt()
Dtrace_kprobe.c1609 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_print_fmt() macro
1611 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
1614 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=%s", in __set_print_fmt()
1618 pos += snprintf(buf + pos, LEN_OR_ZERO, "\", %s", arg); in __set_print_fmt()
1622 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
1626 pos += snprintf(buf + pos, LEN_OR_ZERO, ", REC->%s", in __set_print_fmt()
1630 #undef LEN_OR_ZERO in __set_print_fmt()