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()
388 int out = 0; in debug_purgelist_print() local
391 out += snprintf(buf + out, len - out, in debug_purgelist_print()
397 if (len - out < 100) in debug_purgelist_print()
400 out += stringify_lockname(res->lockname.name, in debug_purgelist_print()
402 buf + out, len - out); in debug_purgelist_print()
403 out += snprintf(buf + out, len - out, "\t%ld\n", in debug_purgelist_print()
409 out += snprintf(buf + out, len - out, "Total on list: %lu\n", total); in debug_purgelist_print()
411 return out; in debug_purgelist_print()
445 int i, out = 0; in debug_mle_print() local
448 out += snprintf(buf + out, len - out, in debug_mle_print()
457 if (len - out < 200) in debug_mle_print()
459 out += dump_mle(mle, buf + out, len - out); in debug_mle_print()
466 out += snprintf(buf + out, len - out, in debug_mle_print()
468 return out; in debug_mle_print()
501 int out; in dump_lock() local
505 out = snprintf(buf, len, "LOCK:%d,%d,%d,%d,%d,%d:%lld,%d,%d,%d,%d,%d," in dump_lock()
520 return out; in dump_lock()
527 int out = 0; in dump_lockres() local
529 out += snprintf(buf + out, len - out, "NAME:"); in dump_lockres()
530 out += stringify_lockname(res->lockname.name, res->lockname.len, in dump_lockres()
531 buf + out, len - out); in dump_lockres()
532 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
535 out += snprintf(buf + out, len - out, in dump_lockres()
547 out += snprintf(buf + out, len - out, "RMAP:"); in dump_lockres()
548 out += stringify_nodemap(res->refmap, O2NM_MAX_NODES, in dump_lockres()
549 buf + out, len - out); in dump_lockres()
550 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
553 out += snprintf(buf + out, len - out, "LVBX:"); in dump_lockres()
555 out += snprintf(buf + out, len - out, in dump_lockres()
557 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
561 out += dump_lock(lock, 0, buf + out, len - out); in dump_lockres()
565 out += dump_lock(lock, 1, buf + out, len - out); in dump_lockres()
569 out += dump_lock(lock, 2, buf + out, len - out); in dump_lockres()
571 out += snprintf(buf + out, len - out, "\n"); in dump_lockres()
573 return out; in dump_lockres()
699 int out = 0; in debug_state_print() local
721 out += snprintf(buf + out, len - out, in debug_state_print()
727 out += snprintf(buf + out, len - out, in debug_state_print()
732 out += snprintf(buf + out, len - out, in debug_state_print()
737 out += snprintf(buf + out, len - out, "Domain Map: "); in debug_state_print()
738 out += stringify_nodemap(dlm->domain_map, O2NM_MAX_NODES, in debug_state_print()
739 buf + out, len - out); in debug_state_print()
740 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
743 out += snprintf(buf + out, len - out, "Exit Domain Map: "); in debug_state_print()
744 out += stringify_nodemap(dlm->exit_domain_map, O2NM_MAX_NODES, in debug_state_print()
745 buf + out, len - out); in debug_state_print()
746 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
749 out += snprintf(buf + out, len - out, "Live Map: "); in debug_state_print()
750 out += stringify_nodemap(dlm->live_nodes_map, O2NM_MAX_NODES, in debug_state_print()
751 buf + out, len - out); in debug_state_print()
752 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
755 out += snprintf(buf + out, len - out, in debug_state_print()
767 out += snprintf(buf + out, len - out, in debug_state_print()
771 out += snprintf(buf + out, len - out, in debug_state_print()
777 out += snprintf(buf + out, len - out, in debug_state_print()
783 out += snprintf(buf + out, len - out, in debug_state_print()
789 out += snprintf(buf + out, len - out, in debug_state_print()
798 out += snprintf(buf + out, len - out, in debug_state_print()
803 out += snprintf(buf + out, len - out, in debug_state_print()
813 out += snprintf(buf + out, len - out, in debug_state_print()
819 out += snprintf(buf + out, len - out, "Recovery Map: "); in debug_state_print()
820 out += stringify_nodemap(dlm->recovery_map, O2NM_MAX_NODES, in debug_state_print()
821 buf + out, len - out); in debug_state_print()
822 out += snprintf(buf + out, len - out, "\n"); in debug_state_print()
825 out += snprintf(buf + out, len - out, "Recovery Node State:\n"); in debug_state_print()
853 out += snprintf(buf + out, len - out, "\t%u - %s\n", in debug_state_print()
859 return out; in debug_state_print()