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
884 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
885 if (!deve) { in target_stat_auth_dev_show()
889 lun = rcu_dereference(deve->se_lun); in target_stat_auth_dev_show()
901 struct se_dev_entry *deve; in target_stat_auth_port_show() local
906 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
907 if (!deve) { in target_stat_auth_port_show()
923 struct se_dev_entry *deve; in target_stat_auth_indx_show() local
927 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_indx_show()
928 if (!deve) { in target_stat_auth_indx_show()
943 struct se_dev_entry *deve; in target_stat_auth_dev_or_port_show() local
947 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_or_port_show()
948 if (!deve) { in target_stat_auth_dev_or_port_show()
963 struct se_dev_entry *deve; in target_stat_auth_intr_name_show() local
967 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_intr_name_show()
968 if (!deve) { in target_stat_auth_intr_name_show()
983 struct se_dev_entry *deve; in target_stat_auth_map_indx_show() local
987 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_map_indx_show()
988 if (!deve) { in target_stat_auth_map_indx_show()
1003 struct se_dev_entry *deve; in target_stat_auth_att_count_show() local
1007 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_att_count_show()
1008 if (!deve) { in target_stat_auth_att_count_show()
1013 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->attach_count); in target_stat_auth_att_count_show()
1023 struct se_dev_entry *deve; in target_stat_auth_num_cmds_show() local
1027 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_num_cmds_show()
1028 if (!deve) { in target_stat_auth_num_cmds_show()
1034 atomic_long_read(&deve->total_cmds)); in target_stat_auth_num_cmds_show()
1044 struct se_dev_entry *deve; in target_stat_auth_read_mbytes_show() local
1048 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_read_mbytes_show()
1049 if (!deve) { in target_stat_auth_read_mbytes_show()
1055 (u32)(atomic_long_read(&deve->read_bytes) >> 20)); in target_stat_auth_read_mbytes_show()
1065 struct se_dev_entry *deve; in target_stat_auth_write_mbytes_show() local
1069 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_write_mbytes_show()
1070 if (!deve) { in target_stat_auth_write_mbytes_show()
1076 (u32)(atomic_long_read(&deve->write_bytes) >> 20)); in target_stat_auth_write_mbytes_show()
1086 struct se_dev_entry *deve; in target_stat_auth_hs_num_cmds_show() local
1090 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_hs_num_cmds_show()
1091 if (!deve) { in target_stat_auth_hs_num_cmds_show()
1106 struct se_dev_entry *deve; in target_stat_auth_creation_time_show() local
1110 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_creation_time_show()
1111 if (!deve) { in target_stat_auth_creation_time_show()
1116 ret = snprintf(page, PAGE_SIZE, "%u\n", (u32)(((u32)deve->creation_time - in target_stat_auth_creation_time_show()
1127 struct se_dev_entry *deve; in target_stat_auth_row_status_show() local
1131 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_row_status_show()
1132 if (!deve) { in target_stat_auth_row_status_show()
1196 struct se_dev_entry *deve; in target_stat_iport_inst_show() local
1201 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_inst_show()
1202 if (!deve) { in target_stat_iport_inst_show()
1219 struct se_dev_entry *deve; in target_stat_iport_dev_show() local
1224 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_dev_show()
1225 if (!deve) { in target_stat_iport_dev_show()
1229 lun = rcu_dereference(deve->se_lun); in target_stat_iport_dev_show()
1241 struct se_dev_entry *deve; in target_stat_iport_port_show() local
1246 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_show()
1247 if (!deve) { in target_stat_iport_port_show()
1287 struct se_dev_entry *deve; in target_stat_iport_port_auth_indx_show() local
1291 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_auth_indx_show()
1292 if (!deve) { in target_stat_iport_port_auth_indx_show()