Lines Matching refs:deve
852 struct se_dev_entry *deve; in target_stat_auth_inst_show() local
857 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show()
858 if (!deve) { in target_stat_auth_inst_show()
875 struct se_dev_entry *deve; in target_stat_auth_dev_show() local
880 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
881 if (!deve) { in target_stat_auth_dev_show()
885 lun = rcu_dereference(deve->se_lun); in target_stat_auth_dev_show()
897 struct se_dev_entry *deve; in target_stat_auth_port_show() local
902 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
903 if (!deve) { in target_stat_auth_port_show()
919 struct se_dev_entry *deve; in target_stat_auth_indx_show() local
923 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_indx_show()
924 if (!deve) { in target_stat_auth_indx_show()
939 struct se_dev_entry *deve; in target_stat_auth_dev_or_port_show() local
943 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_or_port_show()
944 if (!deve) { in target_stat_auth_dev_or_port_show()
959 struct se_dev_entry *deve; in target_stat_auth_intr_name_show() local
963 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_intr_name_show()
964 if (!deve) { in target_stat_auth_intr_name_show()
979 struct se_dev_entry *deve; in target_stat_auth_map_indx_show() local
983 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_map_indx_show()
984 if (!deve) { in target_stat_auth_map_indx_show()
999 struct se_dev_entry *deve; in target_stat_auth_att_count_show() local
1003 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_att_count_show()
1004 if (!deve) { in target_stat_auth_att_count_show()
1009 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->attach_count); in target_stat_auth_att_count_show()
1019 struct se_dev_entry *deve; in target_stat_auth_num_cmds_show() local
1023 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_num_cmds_show()
1024 if (!deve) { in target_stat_auth_num_cmds_show()
1030 atomic_long_read(&deve->total_cmds)); in target_stat_auth_num_cmds_show()
1040 struct se_dev_entry *deve; in target_stat_auth_read_mbytes_show() local
1044 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_read_mbytes_show()
1045 if (!deve) { in target_stat_auth_read_mbytes_show()
1051 (u32)(atomic_long_read(&deve->read_bytes) >> 20)); in target_stat_auth_read_mbytes_show()
1061 struct se_dev_entry *deve; in target_stat_auth_write_mbytes_show() local
1065 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_write_mbytes_show()
1066 if (!deve) { in target_stat_auth_write_mbytes_show()
1072 (u32)(atomic_long_read(&deve->write_bytes) >> 20)); in target_stat_auth_write_mbytes_show()
1082 struct se_dev_entry *deve; in target_stat_auth_hs_num_cmds_show() local
1086 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_hs_num_cmds_show()
1087 if (!deve) { in target_stat_auth_hs_num_cmds_show()
1102 struct se_dev_entry *deve; in target_stat_auth_creation_time_show() local
1106 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_creation_time_show()
1107 if (!deve) { in target_stat_auth_creation_time_show()
1112 ret = snprintf(page, PAGE_SIZE, "%u\n", (u32)(((u32)deve->creation_time - in target_stat_auth_creation_time_show()
1123 struct se_dev_entry *deve; in target_stat_auth_row_status_show() local
1127 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_row_status_show()
1128 if (!deve) { in target_stat_auth_row_status_show()
1192 struct se_dev_entry *deve; in target_stat_iport_inst_show() local
1197 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_inst_show()
1198 if (!deve) { in target_stat_iport_inst_show()
1215 struct se_dev_entry *deve; in target_stat_iport_dev_show() local
1220 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_dev_show()
1221 if (!deve) { in target_stat_iport_dev_show()
1225 lun = rcu_dereference(deve->se_lun); in target_stat_iport_dev_show()
1237 struct se_dev_entry *deve; in target_stat_iport_port_show() local
1242 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_show()
1243 if (!deve) { in target_stat_iport_port_show()
1283 struct se_dev_entry *deve; in target_stat_iport_port_auth_indx_show() local
1287 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_auth_indx_show()
1288 if (!deve) { in target_stat_iport_port_auth_indx_show()