Lines Matching refs:se_lun

414 static struct se_lun *to_stat_port(struct config_item *item)  in to_stat_port()
418 return container_of(pgrps, struct se_lun, port_stat_grps); in to_stat_port()
423 struct se_lun *lun = to_stat_port(item); in target_stat_port_inst_show()
437 struct se_lun *lun = to_stat_port(item); in target_stat_port_dev_show()
451 struct se_lun *lun = to_stat_port(item); in target_stat_port_indx_show()
465 struct se_lun *lun = to_stat_port(item); in target_stat_port_role_show()
480 struct se_lun *lun = to_stat_port(item); in target_stat_port_busy_count_show()
517 static struct se_lun *to_stat_tgt_port(struct config_item *item) in to_stat_tgt_port()
521 return container_of(pgrps, struct se_lun, port_stat_grps); in to_stat_tgt_port()
527 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_inst_show()
542 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_dev_show()
557 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_indx_show()
572 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_name_show()
590 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_port_index_show()
608 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_in_cmds_show()
624 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_write_mbytes_show()
640 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_read_mbytes_show()
656 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_hs_in_cmds_show()
701 static struct se_lun *to_transport_stat(struct config_item *item) in to_transport_stat()
705 return container_of(pgrps, struct se_lun, port_stat_grps); in to_transport_stat()
711 struct se_lun *lun = to_transport_stat(item); in target_stat_transport_inst_show()
726 struct se_lun *lun = to_transport_stat(item); in target_stat_transport_device_show()
745 struct se_lun *lun = to_transport_stat(item); in target_stat_transport_indx_show()
762 struct se_lun *lun = to_transport_stat(item); in target_stat_transport_dev_name_show()
785 struct se_lun *lun = to_transport_stat(item); in target_stat_transport_proto_id_show()
822 void target_stat_setup_port_default_groups(struct se_lun *lun) in target_stat_setup_port_default_groups()
890 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->se_lun->lun_index); in target_stat_auth_dev_show()
1229 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->se_lun->lun_index); in target_stat_iport_dev_show()