Lines Matching refs:deve

856 	struct se_dev_entry *deve;  in target_stat_auth_inst_show()  local
861 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show()
862 if (!deve) { in target_stat_auth_inst_show()
879 struct se_dev_entry *deve; in target_stat_auth_dev_show() local
883 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
884 if (!deve) { in target_stat_auth_dev_show()
890 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->se_lun->lun_index); in target_stat_auth_dev_show()
900 struct se_dev_entry *deve; in target_stat_auth_port_show() local
905 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
906 if (!deve) { in target_stat_auth_port_show()
922 struct se_dev_entry *deve; in target_stat_auth_indx_show() local
926 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_indx_show()
927 if (!deve) { in target_stat_auth_indx_show()
942 struct se_dev_entry *deve; in target_stat_auth_dev_or_port_show() local
946 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_or_port_show()
947 if (!deve) { in target_stat_auth_dev_or_port_show()
962 struct se_dev_entry *deve; in target_stat_auth_intr_name_show() local
966 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_intr_name_show()
967 if (!deve) { in target_stat_auth_intr_name_show()
982 struct se_dev_entry *deve; in target_stat_auth_map_indx_show() local
986 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_map_indx_show()
987 if (!deve) { in target_stat_auth_map_indx_show()
1002 struct se_dev_entry *deve; in target_stat_auth_att_count_show() local
1006 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_att_count_show()
1007 if (!deve) { in target_stat_auth_att_count_show()
1012 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->attach_count); in target_stat_auth_att_count_show()
1022 struct se_dev_entry *deve; in target_stat_auth_num_cmds_show() local
1026 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_num_cmds_show()
1027 if (!deve) { in target_stat_auth_num_cmds_show()
1033 atomic_long_read(&deve->total_cmds)); in target_stat_auth_num_cmds_show()
1043 struct se_dev_entry *deve; in target_stat_auth_read_mbytes_show() local
1047 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_read_mbytes_show()
1048 if (!deve) { in target_stat_auth_read_mbytes_show()
1054 (u32)(atomic_long_read(&deve->read_bytes) >> 20)); in target_stat_auth_read_mbytes_show()
1064 struct se_dev_entry *deve; in target_stat_auth_write_mbytes_show() local
1068 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_write_mbytes_show()
1069 if (!deve) { in target_stat_auth_write_mbytes_show()
1075 (u32)(atomic_long_read(&deve->write_bytes) >> 20)); in target_stat_auth_write_mbytes_show()
1085 struct se_dev_entry *deve; in target_stat_auth_hs_num_cmds_show() local
1089 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_hs_num_cmds_show()
1090 if (!deve) { in target_stat_auth_hs_num_cmds_show()
1105 struct se_dev_entry *deve; in target_stat_auth_creation_time_show() local
1109 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_creation_time_show()
1110 if (!deve) { in target_stat_auth_creation_time_show()
1115 ret = snprintf(page, PAGE_SIZE, "%u\n", (u32)(((u32)deve->creation_time - in target_stat_auth_creation_time_show()
1126 struct se_dev_entry *deve; in target_stat_auth_row_status_show() local
1130 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_row_status_show()
1131 if (!deve) { in target_stat_auth_row_status_show()
1195 struct se_dev_entry *deve; in target_stat_iport_inst_show() local
1200 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_inst_show()
1201 if (!deve) { in target_stat_iport_inst_show()
1218 struct se_dev_entry *deve; in target_stat_iport_dev_show() local
1222 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_dev_show()
1223 if (!deve) { in target_stat_iport_dev_show()
1229 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->se_lun->lun_index); in target_stat_iport_dev_show()
1239 struct se_dev_entry *deve; in target_stat_iport_port_show() local
1244 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_show()
1245 if (!deve) { in target_stat_iport_port_show()
1285 struct se_dev_entry *deve; in target_stat_iport_port_auth_indx_show() local
1289 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_auth_indx_show()
1290 if (!deve) { in target_stat_iport_port_auth_indx_show()