Lines Matching full:rb

44 	ssize_t rb;  in lio_target_np_driver_show()  local
48 rb = sysfs_emit(page, "1\n"); in lio_target_np_driver_show()
50 rb = sysfs_emit(page, "0\n"); in lio_target_np_driver_show()
52 return rb; in lio_target_np_driver_show()
474 ssize_t rb; \
479 rb = snprintf(page, PAGE_SIZE, \
483 rb = snprintf(page, PAGE_SIZE, "%u\n", \
488 return rb; \
530 ssize_t rb = 0; in lio_target_nacl_info_show() local
536 rb += sysfs_emit_at(page, rb, "No active iSCSI Session for Initiator" in lio_target_nacl_info_show()
541 rb += sysfs_emit_at(page, rb, "InitiatorName: %s\n", in lio_target_nacl_info_show()
543 rb += sysfs_emit_at(page, rb, "InitiatorAlias: %s\n", in lio_target_nacl_info_show()
546 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
549 rb += sysfs_emit_at(page, rb, "SessionType: %s\n", in lio_target_nacl_info_show()
552 rb += sysfs_emit_at(page, rb, "Session State: "); in lio_target_nacl_info_show()
555 rb += sysfs_emit_at(page, rb, "TARG_SESS_FREE\n"); in lio_target_nacl_info_show()
558 rb += sysfs_emit_at(page, rb, "TARG_SESS_STATE_ACTIVE\n"); in lio_target_nacl_info_show()
561 rb += sysfs_emit_at(page, rb, "TARG_SESS_STATE_LOGGED_IN\n"); in lio_target_nacl_info_show()
564 rb += sysfs_emit_at(page, rb, "TARG_SESS_STATE_FAILED\n"); in lio_target_nacl_info_show()
567 rb += sysfs_emit_at(page, rb, "TARG_SESS_STATE_IN_CONTINUE\n"); in lio_target_nacl_info_show()
570 rb += sysfs_emit_at(page, rb, "ERROR: Unknown Session" in lio_target_nacl_info_show()
575 rb += sysfs_emit_at(page, rb, "---------------------[iSCSI Session" in lio_target_nacl_info_show()
577 rb += sysfs_emit_at(page, rb, " CmdSN/WR : CmdSN/WC : ExpCmdSN" in lio_target_nacl_info_show()
580 rb += sysfs_emit_at(page, rb, " 0x%08x 0x%08x 0x%08x 0x%08x" in lio_target_nacl_info_show()
586 rb += sysfs_emit_at(page, rb, "----------------------[iSCSI" in lio_target_nacl_info_show()
591 rb += sysfs_emit_at(page, rb, "CID: %hu Connection" in lio_target_nacl_info_show()
595 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
599 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
603 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
607 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
611 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
615 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
619 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
623 rb += sysfs_emit_at(page, rb, in lio_target_nacl_info_show()
628 rb += sysfs_emit_at(page, rb, " Address %pISc %s", &conn->login_sockaddr, in lio_target_nacl_info_show()
631 rb += sysfs_emit_at(page, rb, " StatSN: 0x%08x\n", in lio_target_nacl_info_show()
638 return rb; in lio_target_nacl_info_show()
748 ssize_t rb; \
753 rb = sysfs_emit(page, "%u\n", tpg->tpg_attrib.name); \
755 return rb; \
922 ssize_t rb; \
933 rb = snprintf(page, PAGE_SIZE, "%s\n", param->value); \
936 return rb; \