Lines Matching refs:out

237 	int out = 0;  in stringify_lockname()  local
245 out += scnprintf(buf + out, len - out, "%.*s%08x", in stringify_lockname()
249 out += scnprintf(buf + out, len - out, "%.*s", in stringify_lockname()
251 return out; in stringify_lockname()
257 int out = 0; in stringify_nodemap() local
261 out += scnprintf(buf + out, len - out, "%d ", i); in stringify_nodemap()
263 return out; in stringify_nodemap()
268 int out = 0; in dump_mle() local
278 out += stringify_lockname(mle->mname, mle->mnamelen, buf + out, len - out); in dump_mle()
279 out += scnprintf(buf + out, len - out, in dump_mle()
286 out += scnprintf(buf + out, len - out, "Maybe="); in dump_mle()
287 out += stringify_nodemap(mle->maybe_map, O2NM_MAX_NODES, in dump_mle()
288 buf + out, len - out); in dump_mle()
289 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
291 out += scnprintf(buf + out, len - out, "Vote="); in dump_mle()
292 out += stringify_nodemap(mle->vote_map, O2NM_MAX_NODES, in dump_mle()
293 buf + out, len - out); in dump_mle()
294 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
296 out += scnprintf(buf + out, len - out, "Response="); in dump_mle()
297 out += stringify_nodemap(mle->response_map, O2NM_MAX_NODES, in dump_mle()
298 buf + out, len - out); in dump_mle()
299 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
301 out += scnprintf(buf + out, len - out, "Node="); in dump_mle()
302 out += stringify_nodemap(mle->node_map, O2NM_MAX_NODES, in dump_mle()
303 buf + out, len - out); in dump_mle()
304 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
306 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
308 return out; in dump_mle()
351 int out = 0; in debug_purgelist_print() local
354 out += scnprintf(buf + out, len - out, in debug_purgelist_print()
360 if (len - out < 100) in debug_purgelist_print()
363 out += stringify_lockname(res->lockname.name, in debug_purgelist_print()
365 buf + out, len - out); in debug_purgelist_print()
366 out += scnprintf(buf + out, len - out, "\t%ld\n", in debug_purgelist_print()
372 out += scnprintf(buf + out, len - out, "Total on list: %lu\n", total); in debug_purgelist_print()
374 return out; in debug_purgelist_print()
408 int i, out = 0; in debug_mle_print() local
411 out += scnprintf(buf + out, len - out, in debug_mle_print()
420 if (len - out < 200) in debug_mle_print()
422 out += dump_mle(mle, buf + out, len - out); in debug_mle_print()
429 out += scnprintf(buf + out, len - out, in debug_mle_print()
431 return out; in debug_mle_print()
464 int out; in dump_lock() local
468 out = scnprintf(buf, len, "LOCK:%d,%d,%d,%d,%d,%d:%lld,%d,%d,%d,%d,%d," in dump_lock()
483 return out; in dump_lock()
490 int out = 0; in dump_lockres() local
492 out += scnprintf(buf + out, len - out, "NAME:"); in dump_lockres()
493 out += stringify_lockname(res->lockname.name, res->lockname.len, in dump_lockres()
494 buf + out, len - out); in dump_lockres()
495 out += scnprintf(buf + out, len - out, "\n"); in dump_lockres()
498 out += scnprintf(buf + out, len - out, in dump_lockres()
510 out += scnprintf(buf + out, len - out, "RMAP:"); in dump_lockres()
511 out += stringify_nodemap(res->refmap, O2NM_MAX_NODES, in dump_lockres()
512 buf + out, len - out); in dump_lockres()
513 out += scnprintf(buf + out, len - out, "\n"); in dump_lockres()
516 out += scnprintf(buf + out, len - out, "LVBX:"); in dump_lockres()
518 out += scnprintf(buf + out, len - out, in dump_lockres()
520 out += scnprintf(buf + out, len - out, "\n"); in dump_lockres()
524 out += dump_lock(lock, 0, buf + out, len - out); in dump_lockres()
528 out += dump_lock(lock, 1, buf + out, len - out); in dump_lockres()
532 out += dump_lock(lock, 2, buf + out, len - out); in dump_lockres()
534 out += scnprintf(buf + out, len - out, "\n"); in dump_lockres()
536 return out; in dump_lockres()
662 int out = 0; in debug_state_print() local
684 out += scnprintf(buf + out, len - out, in debug_state_print()
690 out += scnprintf(buf + out, len - out, in debug_state_print()
695 out += scnprintf(buf + out, len - out, in debug_state_print()
700 out += scnprintf(buf + out, len - out, "Domain Map: "); in debug_state_print()
701 out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, in debug_state_print()
702 buf + out, len - out); in debug_state_print()
703 out += scnprintf(buf + out, len - out, "\n"); in debug_state_print()
706 out += scnprintf(buf + out, len - out, "Exit Domain Map: "); in debug_state_print()
707 out += stringify_nodemap(dlm->exit_domain_map, O2NM_MAX_NODES, in debug_state_print()
708 buf + out, len - out); in debug_state_print()
709 out += scnprintf(buf + out, len - out, "\n"); in debug_state_print()
712 out += scnprintf(buf + out, len - out, "Live Map: "); in debug_state_print()
713 out += stringify_nodemap(dlm->live_nodes_map, O2NM_MAX_NODES, in debug_state_print()
714 buf + out, len - out); in debug_state_print()
715 out += scnprintf(buf + out, len - out, "\n"); in debug_state_print()
718 out += scnprintf(buf + out, len - out, in debug_state_print()
730 out += scnprintf(buf + out, len - out, in debug_state_print()
734 out += scnprintf(buf + out, len - out, in debug_state_print()
740 out += scnprintf(buf + out, len - out, in debug_state_print()
746 out += scnprintf(buf + out, len - out, in debug_state_print()
752 out += scnprintf(buf + out, len - out, in debug_state_print()
761 out += scnprintf(buf + out, len - out, in debug_state_print()
766 out += scnprintf(buf + out, len - out, in debug_state_print()
776 out += scnprintf(buf + out, len - out, in debug_state_print()
782 out += scnprintf(buf + out, len - out, "Recovery Map: "); in debug_state_print()
783 out += stringify_nodemap(dlm->recovery_map, O2NM_MAX_NODES, in debug_state_print()
784 buf + out, len - out); in debug_state_print()
785 out += scnprintf(buf + out, len - out, "\n"); in debug_state_print()
788 out += scnprintf(buf + out, len - out, "Recovery Node State:\n"); in debug_state_print()
816 out += scnprintf(buf + out, len - out, "\t%u - %s\n", in debug_state_print()
822 return out; in debug_state_print()