Lines Matching refs:PAGE_SIZE

75 	return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index);  in iscsi_stat_instance_show_attr_inst()
82 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_show_attr_min_ver()
89 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_show_attr_max_ver()
99 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_num_tpg_nps); in iscsi_stat_instance_show_attr_portals()
106 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_show_attr_nodes()
116 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_nsessions); in iscsi_stat_instance_show_attr_sessions()
134 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_show_attr_fail_sess()
145 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_show_attr_fail_type()
157 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_show_attr_fail_rem_name()
166 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); in iscsi_stat_instance_show_attr_disc_time()
173 return snprintf(page, PAGE_SIZE, "%s\n", ISCSI_INST_DESCR); in iscsi_stat_instance_show_attr_description()
180 return snprintf(page, PAGE_SIZE, "RisingTide Systems iSCSI-Target\n"); in iscsi_stat_instance_show_attr_vendor()
187 return snprintf(page, PAGE_SIZE, "%s\n", ISCSIT_VERSION); in iscsi_stat_instance_show_attr_version()
245 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); in iscsi_stat_sess_err_show_attr_inst()
256 return snprintf(page, PAGE_SIZE, "%u\n", sess_err->digest_errors); in iscsi_stat_sess_err_show_attr_digest_errors()
267 return snprintf(page, PAGE_SIZE, "%u\n", sess_err->cxn_timeout_errors); in iscsi_stat_sess_err_show_attr_cxn_errors()
278 return snprintf(page, PAGE_SIZE, "%u\n", sess_err->pdu_format_errors); in iscsi_stat_sess_err_show_attr_format_errors()
327 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); in iscsi_stat_tgt_attr_show_attr_inst()
334 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_NODE_INDEX); in iscsi_stat_tgt_attr_show_attr_indx()
352 return snprintf(page, PAGE_SIZE, "%u\n", fail_count); in iscsi_stat_tgt_attr_show_attr_login_fails()
370 return snprintf(page, PAGE_SIZE, "%u\n", last_fail_time); in iscsi_stat_tgt_attr_show_attr_last_fail_time()
386 return snprintf(page, PAGE_SIZE, "%u\n", last_fail_type); in iscsi_stat_tgt_attr_show_attr_last_fail_type()
403 return snprintf(page, PAGE_SIZE, "%s\n", buf); in iscsi_stat_tgt_attr_show_attr_fail_intr_name()
420 return snprintf(page, PAGE_SIZE, "%s\n", buf); in iscsi_stat_tgt_attr_show_attr_fail_intr_addr_type()
439 return snprintf(page, PAGE_SIZE, "%s\n", buf); in iscsi_stat_tgt_attr_show_attr_fail_intr_addr()
492 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); in iscsi_stat_login_show_attr_inst()
499 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_NODE_INDEX); in iscsi_stat_login_show_attr_indx()
512 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->accepts); in iscsi_stat_login_show_attr_accepts()
528 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->other_fails); in iscsi_stat_login_show_attr_other_fails()
544 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->redirects); in iscsi_stat_login_show_attr_redirects()
560 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->authorize_fails); in iscsi_stat_login_show_attr_authorize_fails()
576 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->authenticate_fails); in iscsi_stat_login_show_attr_authenticate_fails()
592 ret = snprintf(page, PAGE_SIZE, "%u\n", lstat->negotiate_fails); in iscsi_stat_login_show_attr_negotiate_fails()
649 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); in iscsi_stat_logout_show_attr_inst()
656 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_NODE_INDEX); in iscsi_stat_logout_show_attr_indx()
667 return snprintf(page, PAGE_SIZE, "%u\n", lstats->normal_logouts); in iscsi_stat_logout_show_attr_normal_logouts()
678 return snprintf(page, PAGE_SIZE, "%u\n", lstats->abnormal_logouts); in iscsi_stat_logout_show_attr_abnormal_logouts()
731 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index); in iscsi_stat_sess_show_attr_inst()
750 ret = snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_sess_show_attr_node()
774 ret = snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_sess_show_attr_indx()
798 ret = snprintf(page, PAGE_SIZE, "%u\n", sess->cmd_pdus); in iscsi_stat_sess_show_attr_cmd_pdus()
821 ret = snprintf(page, PAGE_SIZE, "%u\n", sess->rsp_pdus); in iscsi_stat_sess_show_attr_rsp_pdus()
844 ret = snprintf(page, PAGE_SIZE, "%llu\n", in iscsi_stat_sess_show_attr_txdata_octs()
868 ret = snprintf(page, PAGE_SIZE, "%llu\n", in iscsi_stat_sess_show_attr_rxdata_octs()
892 ret = snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_sess_show_attr_conn_digest_errors()
916 ret = snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_sess_show_attr_conn_timeout_errors()