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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/trace/
H A Dtrace_syscalls.c205 #define LEN_OR_ZERO (len ? len - pos : 0) macro
207 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"");
209 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s: 0x%%0%zulx%s",
213 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"");
216 pos += snprintf(buf + pos, LEN_OR_ZERO,
220 #undef LEN_OR_ZERO macro
H A Dtrace_kprobe.c1509 #define LEN_OR_ZERO (len ? len - pos : 0) macro
1511 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt);
1514 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=%s",
1518 pos += snprintf(buf + pos, LEN_OR_ZERO, "\", %s", arg);
1522 pos += snprintf(buf + pos, LEN_OR_ZERO,
1526 pos += snprintf(buf + pos, LEN_OR_ZERO, ", REC->%s",
1530 #undef LEN_OR_ZERO macro

Completed in 107 milliseconds