Lines Matching refs:deve
890 struct se_dev_entry *deve; in target_stat_auth_inst_show() local
895 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show()
896 if (!deve) { in target_stat_auth_inst_show()
913 struct se_dev_entry *deve; in target_stat_auth_dev_show() local
918 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
919 if (!deve) { in target_stat_auth_dev_show()
923 lun = rcu_dereference(deve->se_lun); in target_stat_auth_dev_show()
935 struct se_dev_entry *deve; in target_stat_auth_port_show() local
940 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
941 if (!deve) { in target_stat_auth_port_show()
957 struct se_dev_entry *deve; in target_stat_auth_indx_show() local
961 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_indx_show()
962 if (!deve) { in target_stat_auth_indx_show()
977 struct se_dev_entry *deve; in target_stat_auth_dev_or_port_show() local
981 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_or_port_show()
982 if (!deve) { in target_stat_auth_dev_or_port_show()
997 struct se_dev_entry *deve; in target_stat_auth_intr_name_show() local
1001 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_intr_name_show()
1002 if (!deve) { in target_stat_auth_intr_name_show()
1017 struct se_dev_entry *deve; in target_stat_auth_map_indx_show() local
1021 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_map_indx_show()
1022 if (!deve) { in target_stat_auth_map_indx_show()
1037 struct se_dev_entry *deve; in target_stat_auth_att_count_show() local
1041 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_att_count_show()
1042 if (!deve) { in target_stat_auth_att_count_show()
1047 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->attach_count); in target_stat_auth_att_count_show()
1057 struct se_dev_entry *deve; in target_stat_auth_num_cmds_show() local
1061 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_num_cmds_show()
1062 if (!deve) { in target_stat_auth_num_cmds_show()
1068 atomic_long_read(&deve->total_cmds)); in target_stat_auth_num_cmds_show()
1078 struct se_dev_entry *deve; in target_stat_auth_read_mbytes_show() local
1082 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_read_mbytes_show()
1083 if (!deve) { in target_stat_auth_read_mbytes_show()
1089 (u32)(atomic_long_read(&deve->read_bytes) >> 20)); in target_stat_auth_read_mbytes_show()
1099 struct se_dev_entry *deve; in target_stat_auth_write_mbytes_show() local
1103 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_write_mbytes_show()
1104 if (!deve) { in target_stat_auth_write_mbytes_show()
1110 (u32)(atomic_long_read(&deve->write_bytes) >> 20)); in target_stat_auth_write_mbytes_show()
1120 struct se_dev_entry *deve; in target_stat_auth_hs_num_cmds_show() local
1124 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_hs_num_cmds_show()
1125 if (!deve) { in target_stat_auth_hs_num_cmds_show()
1140 struct se_dev_entry *deve; in target_stat_auth_creation_time_show() local
1144 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_creation_time_show()
1145 if (!deve) { in target_stat_auth_creation_time_show()
1150 ret = snprintf(page, PAGE_SIZE, "%u\n", (u32)(((u32)deve->creation_time - in target_stat_auth_creation_time_show()
1161 struct se_dev_entry *deve; in target_stat_auth_row_status_show() local
1165 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_row_status_show()
1166 if (!deve) { in target_stat_auth_row_status_show()
1230 struct se_dev_entry *deve; in target_stat_iport_inst_show() local
1235 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_inst_show()
1236 if (!deve) { in target_stat_iport_inst_show()
1253 struct se_dev_entry *deve; in target_stat_iport_dev_show() local
1258 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_dev_show()
1259 if (!deve) { in target_stat_iport_dev_show()
1263 lun = rcu_dereference(deve->se_lun); in target_stat_iport_dev_show()
1275 struct se_dev_entry *deve; in target_stat_iport_port_show() local
1280 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_show()
1281 if (!deve) { in target_stat_iport_port_show()
1321 struct se_dev_entry *deve; in target_stat_iport_port_auth_indx_show() local
1325 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_auth_indx_show()
1326 if (!deve) { in target_stat_iport_port_auth_indx_show()