Lines Matching full:rb

44 	ssize_t rb;  in lio_target_np_driver_show()  local
48 rb = sprintf(page, "1\n"); in lio_target_np_driver_show()
50 rb = sprintf(page, "0\n"); in lio_target_np_driver_show()
52 return rb; in lio_target_np_driver_show()
449 ssize_t rb; \
454 rb = snprintf(page, PAGE_SIZE, \
458 rb = snprintf(page, PAGE_SIZE, "%u\n", \
463 return rb; \
505 ssize_t rb = 0; in lio_target_nacl_info_show() local
511 rb += sprintf(page+rb, "No active iSCSI Session for Initiator" in lio_target_nacl_info_show()
516 rb += sprintf(page+rb, "InitiatorName: %s\n", in lio_target_nacl_info_show()
518 rb += sprintf(page+rb, "InitiatorAlias: %s\n", in lio_target_nacl_info_show()
521 rb += sprintf(page+rb, in lio_target_nacl_info_show()
524 rb += sprintf(page+rb, "SessionType: %s\n", in lio_target_nacl_info_show()
527 rb += sprintf(page+rb, "Session State: "); in lio_target_nacl_info_show()
530 rb += sprintf(page+rb, "TARG_SESS_FREE\n"); in lio_target_nacl_info_show()
533 rb += sprintf(page+rb, "TARG_SESS_STATE_ACTIVE\n"); in lio_target_nacl_info_show()
536 rb += sprintf(page+rb, "TARG_SESS_STATE_LOGGED_IN\n"); in lio_target_nacl_info_show()
539 rb += sprintf(page+rb, "TARG_SESS_STATE_FAILED\n"); in lio_target_nacl_info_show()
542 rb += sprintf(page+rb, "TARG_SESS_STATE_IN_CONTINUE\n"); in lio_target_nacl_info_show()
545 rb += sprintf(page+rb, "ERROR: Unknown Session" in lio_target_nacl_info_show()
550 rb += sprintf(page+rb, "---------------------[iSCSI Session" in lio_target_nacl_info_show()
552 rb += sprintf(page+rb, " CmdSN/WR : CmdSN/WC : ExpCmdSN" in lio_target_nacl_info_show()
555 rb += sprintf(page+rb, " 0x%08x 0x%08x 0x%08x 0x%08x" in lio_target_nacl_info_show()
561 rb += sprintf(page+rb, "----------------------[iSCSI" in lio_target_nacl_info_show()
566 rb += sprintf(page+rb, "CID: %hu Connection" in lio_target_nacl_info_show()
570 rb += sprintf(page+rb, in lio_target_nacl_info_show()
574 rb += sprintf(page+rb, in lio_target_nacl_info_show()
578 rb += sprintf(page+rb, in lio_target_nacl_info_show()
582 rb += sprintf(page+rb, in lio_target_nacl_info_show()
586 rb += sprintf(page+rb, in lio_target_nacl_info_show()
590 rb += sprintf(page+rb, in lio_target_nacl_info_show()
594 rb += sprintf(page+rb, in lio_target_nacl_info_show()
598 rb += sprintf(page+rb, in lio_target_nacl_info_show()
603 rb += sprintf(page+rb, " Address %pISc %s", &conn->login_sockaddr, in lio_target_nacl_info_show()
606 rb += sprintf(page+rb, " StatSN: 0x%08x\n", in lio_target_nacl_info_show()
613 return rb; in lio_target_nacl_info_show()
726 ssize_t rb; \
731 rb = sprintf(page, "%u\n", tpg->tpg_attrib.name); \
733 return rb; \
907 ssize_t rb; \
918 rb = snprintf(page, PAGE_SIZE, "%s\n", param->value); \
921 return rb; \