Home
last modified time | relevance | path

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

/linux/kernel/trace/
H A Dtrace_syscalls.c385 #define LEN_OR_ZERO (len ? len - pos : 0) macro
392 pos += snprintf(buf + pos, LEN_OR_ZERO, in sys_enter_openat_print_fmt()
394 pos += snprintf(buf + pos, LEN_OR_ZERO, in sys_enter_openat_print_fmt()
396 pos += snprintf(buf + pos, LEN_OR_ZERO, in sys_enter_openat_print_fmt()
398 pos += snprintf(buf + pos, LEN_OR_ZERO, in sys_enter_openat_print_fmt()
400 pos += snprintf(buf + pos, LEN_OR_ZERO, in sys_enter_openat_print_fmt()
402 pos += snprintf(buf + pos, LEN_OR_ZERO, in sys_enter_openat_print_fmt()
404 pos += snprintf(buf + pos, LEN_OR_ZERO, in sys_enter_openat_print_fmt()
406 pos += snprintf(buf + pos, LEN_OR_ZERO, in sys_enter_openat_print_fmt()
408 pos += snprintf(buf + pos, LEN_OR_ZERO, in sys_enter_openat_print_fmt()
[all …]
H A Dtrace_events_user.c1367 #define LEN_OR_ZERO (len ? len - pos : 0) macro
1377 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_dyn_field_set_string()
1379 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", argv[i]); in user_dyn_field_set_string()
1400 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->type); in user_field_set_string()
1401 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_field_set_string()
1402 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->name); in user_field_set_string()
1405 pos += snprintf(buf + pos, LEN_OR_ZERO, " %d", field->size); in user_field_set_string()
1408 pos += snprintf(buf + pos, LEN_OR_ZERO, ";"); in user_field_set_string()
1420 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt()
1424 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_event_set_print_fmt()
[all …]
H A Dtrace_events_synth.c674 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro
676 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
679 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt()
683 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
688 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
691 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
694 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
698 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()
H A Dtrace_probe.c2463 #define LEN_OR_ZERO (len > pos ? len - pos : 0) macro
2490 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
2494 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt()
2496 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt()
2499 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt()
2501 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt()
2503 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt()
2507 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt()
2517 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
2524 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
[all …]