• Home
  • Raw
  • Download

Lines Matching refs:sep

546 	struct se_port *sep;  in target_stat_scsi_port_show_attr_inst()  local
552 sep = lun->lun_sep; in target_stat_scsi_port_show_attr_inst()
553 if (!sep) { in target_stat_scsi_port_show_attr_inst()
568 struct se_port *sep; in target_stat_scsi_port_show_attr_dev() local
573 sep = lun->lun_sep; in target_stat_scsi_port_show_attr_dev()
574 if (!sep) { in target_stat_scsi_port_show_attr_dev()
588 struct se_port *sep; in target_stat_scsi_port_show_attr_indx() local
592 sep = lun->lun_sep; in target_stat_scsi_port_show_attr_indx()
593 if (!sep) { in target_stat_scsi_port_show_attr_indx()
597 ret = snprintf(page, PAGE_SIZE, "%u\n", sep->sep_index); in target_stat_scsi_port_show_attr_indx()
608 struct se_port *sep; in target_stat_scsi_port_show_attr_role() local
615 sep = lun->lun_sep; in target_stat_scsi_port_show_attr_role()
616 if (!sep) { in target_stat_scsi_port_show_attr_role()
630 struct se_port *sep; in target_stat_scsi_port_show_attr_busy_count() local
634 sep = lun->lun_sep; in target_stat_scsi_port_show_attr_busy_count()
635 if (!sep) { in target_stat_scsi_port_show_attr_busy_count()
690 struct se_port *sep; in target_stat_scsi_tgt_port_show_attr_inst() local
695 sep = lun->lun_sep; in target_stat_scsi_tgt_port_show_attr_inst()
696 if (!sep) { in target_stat_scsi_tgt_port_show_attr_inst()
712 struct se_port *sep; in target_stat_scsi_tgt_port_show_attr_dev() local
716 sep = lun->lun_sep; in target_stat_scsi_tgt_port_show_attr_dev()
717 if (!sep) { in target_stat_scsi_tgt_port_show_attr_dev()
731 struct se_port *sep; in target_stat_scsi_tgt_port_show_attr_indx() local
735 sep = lun->lun_sep; in target_stat_scsi_tgt_port_show_attr_indx()
736 if (!sep) { in target_stat_scsi_tgt_port_show_attr_indx()
740 ret = snprintf(page, PAGE_SIZE, "%u\n", sep->sep_index); in target_stat_scsi_tgt_port_show_attr_indx()
750 struct se_port *sep; in target_stat_scsi_tgt_port_show_attr_name() local
755 sep = lun->lun_sep; in target_stat_scsi_tgt_port_show_attr_name()
756 if (!sep) { in target_stat_scsi_tgt_port_show_attr_name()
760 tpg = sep->sep_tpg; in target_stat_scsi_tgt_port_show_attr_name()
763 tpg->se_tpg_tfo->get_fabric_name(), sep->sep_index); in target_stat_scsi_tgt_port_show_attr_name()
773 struct se_port *sep; in target_stat_scsi_tgt_port_show_attr_port_index() local
778 sep = lun->lun_sep; in target_stat_scsi_tgt_port_show_attr_port_index()
779 if (!sep) { in target_stat_scsi_tgt_port_show_attr_port_index()
783 tpg = sep->sep_tpg; in target_stat_scsi_tgt_port_show_attr_port_index()
797 struct se_port *sep; in target_stat_scsi_tgt_port_show_attr_in_cmds() local
801 sep = lun->lun_sep; in target_stat_scsi_tgt_port_show_attr_in_cmds()
802 if (!sep) { in target_stat_scsi_tgt_port_show_attr_in_cmds()
807 ret = snprintf(page, PAGE_SIZE, "%llu\n", sep->sep_stats.cmd_pdus); in target_stat_scsi_tgt_port_show_attr_in_cmds()
817 struct se_port *sep; in target_stat_scsi_tgt_port_show_attr_write_mbytes() local
821 sep = lun->lun_sep; in target_stat_scsi_tgt_port_show_attr_write_mbytes()
822 if (!sep) { in target_stat_scsi_tgt_port_show_attr_write_mbytes()
828 (u32)(sep->sep_stats.rx_data_octets >> 20)); in target_stat_scsi_tgt_port_show_attr_write_mbytes()
838 struct se_port *sep; in target_stat_scsi_tgt_port_show_attr_read_mbytes() local
842 sep = lun->lun_sep; in target_stat_scsi_tgt_port_show_attr_read_mbytes()
843 if (!sep) { in target_stat_scsi_tgt_port_show_attr_read_mbytes()
849 (u32)(sep->sep_stats.tx_data_octets >> 20)); in target_stat_scsi_tgt_port_show_attr_read_mbytes()
859 struct se_port *sep; in target_stat_scsi_tgt_port_show_attr_hs_in_cmds() local
863 sep = lun->lun_sep; in target_stat_scsi_tgt_port_show_attr_hs_in_cmds()
864 if (!sep) { in target_stat_scsi_tgt_port_show_attr_hs_in_cmds()
926 struct se_port *sep; in target_stat_scsi_transport_show_attr_inst() local
931 sep = lun->lun_sep; in target_stat_scsi_transport_show_attr_inst()
932 if (!sep) { in target_stat_scsi_transport_show_attr_inst()
948 struct se_port *sep; in target_stat_scsi_transport_show_attr_device() local
953 sep = lun->lun_sep; in target_stat_scsi_transport_show_attr_device()
954 if (!sep) { in target_stat_scsi_transport_show_attr_device()
958 tpg = sep->sep_tpg; in target_stat_scsi_transport_show_attr_device()
971 struct se_port *sep; in target_stat_scsi_transport_show_attr_indx() local
976 sep = lun->lun_sep; in target_stat_scsi_transport_show_attr_indx()
977 if (!sep) { in target_stat_scsi_transport_show_attr_indx()
981 tpg = sep->sep_tpg; in target_stat_scsi_transport_show_attr_indx()
994 struct se_port *sep; in target_stat_scsi_transport_show_attr_dev_name() local
1000 sep = lun->lun_sep; in target_stat_scsi_transport_show_attr_dev_name()
1001 if (!sep) { in target_stat_scsi_transport_show_attr_dev_name()
1005 tpg = sep->sep_tpg; in target_stat_scsi_transport_show_attr_dev_name()