Lines Matching full:out
185 int out = 0; in stringify_lockname() local
193 out += scnprintf(buf + out, len - out, "%.*s%08x", in stringify_lockname()
197 out += scnprintf(buf + out, len - out, "%.*s", in stringify_lockname()
199 return out; in stringify_lockname()
205 int out = 0; in stringify_nodemap() local
209 out += scnprintf(buf + out, len - out, "%d ", i); in stringify_nodemap()
211 return out; in stringify_nodemap()
216 int out = 0; in dump_mle() local
226 out += stringify_lockname(mle->mname, mle->mnamelen, buf + out, len - out); in dump_mle()
227 out += scnprintf(buf + out, len - out, in dump_mle()
234 out += scnprintf(buf + out, len - out, "Maybe="); in dump_mle()
235 out += stringify_nodemap(mle->maybe_map, O2NM_MAX_NODES, in dump_mle()
236 buf + out, len - out); in dump_mle()
237 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
239 out += scnprintf(buf + out, len - out, "Vote="); in dump_mle()
240 out += stringify_nodemap(mle->vote_map, O2NM_MAX_NODES, in dump_mle()
241 buf + out, len - out); in dump_mle()
242 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
244 out += scnprintf(buf + out, len - out, "Response="); in dump_mle()
245 out += stringify_nodemap(mle->response_map, O2NM_MAX_NODES, in dump_mle()
246 buf + out, len - out); in dump_mle()
247 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
249 out += scnprintf(buf + out, len - out, "Node="); in dump_mle()
250 out += stringify_nodemap(mle->node_map, O2NM_MAX_NODES, in dump_mle()
251 buf + out, len - out); in dump_mle()
252 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
254 out += scnprintf(buf + out, len - out, "\n"); in dump_mle()
256 return out; in dump_mle()
299 int out = 0; in debug_purgelist_print() local
302 out += scnprintf(buf + out, len - out, in debug_purgelist_print()
308 if (len - out < 100) in debug_purgelist_print()
311 out += stringify_lockname(res->lockname.name, in debug_purgelist_print()
313 buf + out, len - out); in debug_purgelist_print()
314 out += scnprintf(buf + out, len - out, "\t%ld\n", in debug_purgelist_print()
320 out += scnprintf(buf + out, len - out, "Total on list: %lu\n", total); in debug_purgelist_print()
322 return out; in debug_purgelist_print()
356 int i, out = 0; in debug_mle_print() local
359 out += scnprintf(buf + out, len - out, in debug_mle_print()
368 if (len - out < 200) in debug_mle_print()
370 out += dump_mle(mle, buf + out, len - out); in debug_mle_print()
377 out += scnprintf(buf + out, len - out, in debug_mle_print()
379 return out; in debug_mle_print()
412 int out; in dump_lock() local
416 out = scnprintf(buf, len, "LOCK:%d,%d,%d,%d,%d,%d:%lld,%d,%d,%d,%d,%d," in dump_lock()
431 return out; in dump_lock()
438 int out = 0; in dump_lockres() local
440 out += scnprintf(buf + out, len - out, "NAME:"); in dump_lockres()
441 out += stringify_lockname(res->lockname.name, res->lockname.len, in dump_lockres()
442 buf + out, len - out); in dump_lockres()
443 out += scnprintf(buf + out, len - out, "\n"); in dump_lockres()
446 out += scnprintf(buf + out, len - out, in dump_lockres()
458 out += scnprintf(buf + out, len - out, "RMAP:"); in dump_lockres()
459 out += stringify_nodemap(res->refmap, O2NM_MAX_NODES, in dump_lockres()
460 buf + out, len - out); in dump_lockres()
461 out += scnprintf(buf + out, len - out, "\n"); in dump_lockres()
464 out += scnprintf(buf + out, len - out, "LVBX:"); in dump_lockres()
466 out += scnprintf(buf + out, len - out, in dump_lockres()
468 out += scnprintf(buf + out, len - out, "\n"); in dump_lockres()
472 out += dump_lock(lock, 0, buf + out, len - out); in dump_lockres()
476 out += dump_lock(lock, 1, buf + out, len - out); in dump_lockres()
480 out += dump_lock(lock, 2, buf + out, len - out); in dump_lockres()
482 out += scnprintf(buf + out, len - out, "\n"); in dump_lockres()
484 return out; in dump_lockres()
610 int out = 0; in debug_state_print() local
632 out += scnprintf(buf + out, len - out, in debug_state_print()
638 out += scnprintf(buf + out, len - out, in debug_state_print()
643 out += scnprintf(buf + out, len - out, in debug_state_print()
648 out += scnprintf(buf + out, len - out, "Domain Map: "); in debug_state_print()
649 out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, in debug_state_print()
650 buf + out, len - out); in debug_state_print()
651 out += scnprintf(buf + out, len - out, "\n"); in debug_state_print()
654 out += scnprintf(buf + out, len - out, "Exit Domain Map: "); in debug_state_print()
655 out += stringify_nodemap(dlm->exit_domain_map, O2NM_MAX_NODES, in debug_state_print()
656 buf + out, len - out); in debug_state_print()
657 out += scnprintf(buf + out, len - out, "\n"); in debug_state_print()
660 out += scnprintf(buf + out, len - out, "Live Map: "); in debug_state_print()
661 out += stringify_nodemap(dlm->live_nodes_map, O2NM_MAX_NODES, in debug_state_print()
662 buf + out, len - out); in debug_state_print()
663 out += scnprintf(buf + out, len - out, "\n"); in debug_state_print()
666 out += scnprintf(buf + out, len - out, in debug_state_print()
678 out += scnprintf(buf + out, len - out, in debug_state_print()
682 out += scnprintf(buf + out, len - out, in debug_state_print()
688 out += scnprintf(buf + out, len - out, in debug_state_print()
694 out += scnprintf(buf + out, len - out, in debug_state_print()
700 out += scnprintf(buf + out, len - out, in debug_state_print()
709 out += scnprintf(buf + out, len - out, in debug_state_print()
714 out += scnprintf(buf + out, len - out, in debug_state_print()
724 out += scnprintf(buf + out, len - out, in debug_state_print()
730 out += scnprintf(buf + out, len - out, "Recovery Map: "); in debug_state_print()
731 out += stringify_nodemap(dlm->recovery_map, O2NM_MAX_NODES, in debug_state_print()
732 buf + out, len - out); in debug_state_print()
733 out += scnprintf(buf + out, len - out, "\n"); in debug_state_print()
736 out += scnprintf(buf + out, len - out, "Recovery Node State:\n"); in debug_state_print()
764 out += scnprintf(buf + out, len - out, "\t%u - %s\n", in debug_state_print()
770 return out; in debug_state_print()