Lines Matching refs:out
239 int out = 0; in stringify_lockname() local
247 out += snprintf(buf + out, len - out, "%.*s%08x", in stringify_lockname()
251 out += snprintf(buf + out, len - out, "%.*s", in stringify_lockname()
253 return out; in stringify_lockname()
259 int out = 0; in stringify_nodemap() local
263 out += snprintf(buf + out, len - out, "%d ", i); in stringify_nodemap()
265 return out; in stringify_nodemap()
270 int out = 0; in dump_mle() local
280 out += stringify_lockname(mle->mname, mle->mnamelen, buf + out, len - out); in dump_mle()
281 out += snprintf(buf + out, len - out, in dump_mle()
288 out += snprintf(buf + out, len - out, "Maybe="); in dump_mle()
289 out += stringify_nodemap(mle->maybe_map, O2NM_MAX_NODES, in dump_mle()
290 buf + out, len - out); in dump_mle()
291 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
293 out += snprintf(buf + out, len - out, "Vote="); in dump_mle()
294 out += stringify_nodemap(mle->vote_map, O2NM_MAX_NODES, in dump_mle()
295 buf + out, len - out); in dump_mle()
296 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
298 out += snprintf(buf + out, len - out, "Response="); in dump_mle()
299 out += stringify_nodemap(mle->response_map, O2NM_MAX_NODES, in dump_mle()
300 buf + out, len - out); in dump_mle()
301 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
303 out += snprintf(buf + out, len - out, "Node="); in dump_mle()
304 out += stringify_nodemap(mle->node_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, "\n"); in dump_mle()
310 return out; in dump_mle()
353 int out = 0; in debug_purgelist_print() local
356 out += snprintf(buf + out, len - out, in debug_purgelist_print()
362 if (len - out < 100) in debug_purgelist_print()
365 out += stringify_lockname(res->lockname.name, in debug_purgelist_print()
367 buf + out, len - out); in debug_purgelist_print()
368 out += snprintf(buf + out, len - out, "\t%ld\n", in debug_purgelist_print()
374 out += snprintf(buf + out, len - out, "Total on list: %lu\n", total); in debug_purgelist_print()
376 return out; in debug_purgelist_print()
410 int i, out = 0; in debug_mle_print() local
413 out += snprintf(buf + out, len - out, in debug_mle_print()
422 if (len - out < 200) in debug_mle_print()
424 out += dump_mle(mle, buf + out, len - out); in debug_mle_print()
431 out += snprintf(buf + out, len - out, in debug_mle_print()
433 return out; in debug_mle_print()
466 int out; in dump_lock() local
470 out = snprintf(buf, len, "LOCK:%d,%d,%d,%d,%d,%d:%lld,%d,%d,%d,%d,%d," in dump_lock()
485 return out; in dump_lock()
492 int out = 0; in dump_lockres() local
494 out += snprintf(buf + out, len - out, "NAME:"); in dump_lockres()
495 out += stringify_lockname(res->lockname.name, res->lockname.len, in dump_lockres()
496 buf + out, len - out); in dump_lockres()
497 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
500 out += snprintf(buf + out, len - out, in dump_lockres()
512 out += snprintf(buf + out, len - out, "RMAP:"); in dump_lockres()
513 out += stringify_nodemap(res->refmap, O2NM_MAX_NODES, in dump_lockres()
514 buf + out, len - out); in dump_lockres()
515 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
518 out += snprintf(buf + out, len - out, "LVBX:"); in dump_lockres()
520 out += snprintf(buf + out, len - out, in dump_lockres()
522 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
526 out += dump_lock(lock, 0, buf + out, len - out); in dump_lockres()
530 out += dump_lock(lock, 1, buf + out, len - out); in dump_lockres()
534 out += dump_lock(lock, 2, buf + out, len - out); in dump_lockres()
536 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
538 return out; in dump_lockres()
664 int out = 0; in debug_state_print() local
686 out += snprintf(buf + out, len - out, in debug_state_print()
692 out += snprintf(buf + out, len - out, in debug_state_print()
697 out += snprintf(buf + out, len - out, in debug_state_print()
702 out += snprintf(buf + out, len - out, "Domain Map: "); in debug_state_print()
703 out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, in debug_state_print()
704 buf + out, len - out); in debug_state_print()
705 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
708 out += snprintf(buf + out, len - out, "Exit Domain Map: "); in debug_state_print()
709 out += stringify_nodemap(dlm->exit_domain_map, O2NM_MAX_NODES, in debug_state_print()
710 buf + out, len - out); in debug_state_print()
711 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
714 out += snprintf(buf + out, len - out, "Live Map: "); in debug_state_print()
715 out += stringify_nodemap(dlm->live_nodes_map, O2NM_MAX_NODES, in debug_state_print()
716 buf + out, len - out); in debug_state_print()
717 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
720 out += snprintf(buf + out, len - out, in debug_state_print()
732 out += snprintf(buf + out, len - out, in debug_state_print()
736 out += snprintf(buf + out, len - out, in debug_state_print()
742 out += snprintf(buf + out, len - out, in debug_state_print()
748 out += snprintf(buf + out, len - out, in debug_state_print()
754 out += snprintf(buf + out, len - out, in debug_state_print()
763 out += snprintf(buf + out, len - out, in debug_state_print()
768 out += snprintf(buf + out, len - out, in debug_state_print()
778 out += snprintf(buf + out, len - out, in debug_state_print()
784 out += snprintf(buf + out, len - out, "Recovery Map: "); in debug_state_print()
785 out += stringify_nodemap(dlm->recovery_map, O2NM_MAX_NODES, in debug_state_print()
786 buf + out, len - out); in debug_state_print()
787 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
790 out += snprintf(buf + out, len - out, "Recovery Node State:\n"); in debug_state_print()
818 out += snprintf(buf + out, len - out, "\t%u - %s\n", in debug_state_print()
824 return out; in debug_state_print()