Lines Matching refs:out
254 int out = 0; in stringify_lockname() local
262 out += snprintf(buf + out, len - out, "%.*s%08x", in stringify_lockname()
266 out += snprintf(buf + out, len - out, "%.*s", in stringify_lockname()
268 return out; in stringify_lockname()
274 int out = 0; in stringify_nodemap() local
278 out += snprintf(buf + out, len - out, "%d ", i); in stringify_nodemap()
280 return out; in stringify_nodemap()
285 int out = 0; in dump_mle() local
295 out += stringify_lockname(mle->mname, mle->mnamelen, buf + out, len - out); in dump_mle()
296 out += snprintf(buf + out, len - out, in dump_mle()
303 out += snprintf(buf + out, len - out, "Maybe="); in dump_mle()
304 out += stringify_nodemap(mle->maybe_map, O2NM_MAX_NODES, in dump_mle()
305 buf + out, len - out); in dump_mle()
306 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
308 out += snprintf(buf + out, len - out, "Vote="); in dump_mle()
309 out += stringify_nodemap(mle->vote_map, O2NM_MAX_NODES, in dump_mle()
310 buf + out, len - out); in dump_mle()
311 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
313 out += snprintf(buf + out, len - out, "Response="); in dump_mle()
314 out += stringify_nodemap(mle->response_map, O2NM_MAX_NODES, in dump_mle()
315 buf + out, len - out); in dump_mle()
316 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
318 out += snprintf(buf + out, len - out, "Node="); in dump_mle()
319 out += stringify_nodemap(mle->node_map, O2NM_MAX_NODES, in dump_mle()
320 buf + out, len - out); in dump_mle()
321 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
323 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
325 return out; in dump_mle()
368 int out = 0; in debug_purgelist_print() local
371 out += snprintf(buf + out, len - out, in debug_purgelist_print()
377 if (len - out < 100) in debug_purgelist_print()
380 out += stringify_lockname(res->lockname.name, in debug_purgelist_print()
382 buf + out, len - out); in debug_purgelist_print()
383 out += snprintf(buf + out, len - out, "\t%ld\n", in debug_purgelist_print()
389 out += snprintf(buf + out, len - out, "Total on list: %lu\n", total); in debug_purgelist_print()
391 return out; in debug_purgelist_print()
425 int i, out = 0; in debug_mle_print() local
428 out += snprintf(buf + out, len - out, in debug_mle_print()
437 if (len - out < 200) in debug_mle_print()
439 out += dump_mle(mle, buf + out, len - out); in debug_mle_print()
446 out += snprintf(buf + out, len - out, in debug_mle_print()
448 return out; in debug_mle_print()
481 int out; in dump_lock() local
485 out = snprintf(buf, len, "LOCK:%d,%d,%d,%d,%d,%d:%lld,%d,%d,%d,%d,%d," in dump_lock()
500 return out; in dump_lock()
507 int out = 0; in dump_lockres() local
509 out += snprintf(buf + out, len - out, "NAME:"); in dump_lockres()
510 out += stringify_lockname(res->lockname.name, res->lockname.len, in dump_lockres()
511 buf + out, len - out); in dump_lockres()
512 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
515 out += snprintf(buf + out, len - out, in dump_lockres()
527 out += snprintf(buf + out, len - out, "RMAP:"); in dump_lockres()
528 out += stringify_nodemap(res->refmap, O2NM_MAX_NODES, in dump_lockres()
529 buf + out, len - out); in dump_lockres()
530 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
533 out += snprintf(buf + out, len - out, "LVBX:"); in dump_lockres()
535 out += snprintf(buf + out, len - out, in dump_lockres()
537 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
541 out += dump_lock(lock, 0, buf + out, len - out); in dump_lockres()
545 out += dump_lock(lock, 1, buf + out, len - out); in dump_lockres()
549 out += dump_lock(lock, 2, buf + out, len - out); in dump_lockres()
551 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
553 return out; in dump_lockres()
679 int out = 0; in debug_state_print() local
701 out += snprintf(buf + out, len - out, in debug_state_print()
707 out += snprintf(buf + out, len - out, in debug_state_print()
712 out += snprintf(buf + out, len - out, in debug_state_print()
717 out += snprintf(buf + out, len - out, "Domain Map: "); in debug_state_print()
718 out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, in debug_state_print()
719 buf + out, len - out); in debug_state_print()
720 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
723 out += snprintf(buf + out, len - out, "Exit Domain Map: "); in debug_state_print()
724 out += stringify_nodemap(dlm->exit_domain_map, O2NM_MAX_NODES, in debug_state_print()
725 buf + out, len - out); in debug_state_print()
726 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
729 out += snprintf(buf + out, len - out, "Live Map: "); in debug_state_print()
730 out += stringify_nodemap(dlm->live_nodes_map, O2NM_MAX_NODES, in debug_state_print()
731 buf + out, len - out); in debug_state_print()
732 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
735 out += snprintf(buf + out, len - out, in debug_state_print()
747 out += snprintf(buf + out, len - out, in debug_state_print()
751 out += snprintf(buf + out, len - out, in debug_state_print()
757 out += snprintf(buf + out, len - out, in debug_state_print()
763 out += snprintf(buf + out, len - out, in debug_state_print()
769 out += snprintf(buf + out, len - out, in debug_state_print()
778 out += snprintf(buf + out, len - out, in debug_state_print()
783 out += snprintf(buf + out, len - out, in debug_state_print()
793 out += snprintf(buf + out, len - out, in debug_state_print()
799 out += snprintf(buf + out, len - out, "Recovery Map: "); in debug_state_print()
800 out += stringify_nodemap(dlm->recovery_map, O2NM_MAX_NODES, in debug_state_print()
801 buf + out, len - out); in debug_state_print()
802 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
805 out += snprintf(buf + out, len - out, "Recovery Node State:\n"); in debug_state_print()
833 out += snprintf(buf + out, len - out, "\t%u - %s\n", in debug_state_print()
839 return out; in debug_state_print()