Lines Matching refs:deve
877 struct se_dev_entry *deve; in target_stat_auth_inst_show() local
882 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show()
883 if (!deve) { in target_stat_auth_inst_show()
900 struct se_dev_entry *deve; in target_stat_auth_dev_show() local
904 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
905 if (!deve) { in target_stat_auth_dev_show()
911 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->se_lun->lun_index); in target_stat_auth_dev_show()
921 struct se_dev_entry *deve; in target_stat_auth_port_show() local
926 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
927 if (!deve) { in target_stat_auth_port_show()
943 struct se_dev_entry *deve; in target_stat_auth_indx_show() local
947 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_indx_show()
948 if (!deve) { in target_stat_auth_indx_show()
963 struct se_dev_entry *deve; in target_stat_auth_dev_or_port_show() local
967 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_or_port_show()
968 if (!deve) { in target_stat_auth_dev_or_port_show()
983 struct se_dev_entry *deve; in target_stat_auth_intr_name_show() local
987 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_intr_name_show()
988 if (!deve) { in target_stat_auth_intr_name_show()
1003 struct se_dev_entry *deve; in target_stat_auth_map_indx_show() local
1007 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_map_indx_show()
1008 if (!deve) { in target_stat_auth_map_indx_show()
1023 struct se_dev_entry *deve; in target_stat_auth_att_count_show() local
1027 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_att_count_show()
1028 if (!deve) { in target_stat_auth_att_count_show()
1033 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->attach_count); in target_stat_auth_att_count_show()
1044 struct se_dev_entry *deve; in target_stat_auth_num_cmds_show() local
1050 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_num_cmds_show()
1051 if (!deve) { in target_stat_auth_num_cmds_show()
1057 stats = per_cpu_ptr(deve->stats, cpu); in target_stat_auth_num_cmds_show()
1073 struct se_dev_entry *deve; in target_stat_auth_read_mbytes_show() local
1079 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_read_mbytes_show()
1080 if (!deve) { in target_stat_auth_read_mbytes_show()
1086 stats = per_cpu_ptr(deve->stats, cpu); in target_stat_auth_read_mbytes_show()
1102 struct se_dev_entry *deve; in target_stat_auth_write_mbytes_show() local
1108 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_write_mbytes_show()
1109 if (!deve) { in target_stat_auth_write_mbytes_show()
1115 stats = per_cpu_ptr(deve->stats, cpu); in target_stat_auth_write_mbytes_show()
1130 struct se_dev_entry *deve; in target_stat_auth_hs_num_cmds_show() local
1134 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_hs_num_cmds_show()
1135 if (!deve) { in target_stat_auth_hs_num_cmds_show()
1150 struct se_dev_entry *deve; in target_stat_auth_creation_time_show() local
1154 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_creation_time_show()
1155 if (!deve) { in target_stat_auth_creation_time_show()
1160 ret = snprintf(page, PAGE_SIZE, "%u\n", (u32)(((u32)deve->creation_time - in target_stat_auth_creation_time_show()
1171 struct se_dev_entry *deve; in target_stat_auth_row_status_show() local
1175 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_row_status_show()
1176 if (!deve) { in target_stat_auth_row_status_show()
1240 struct se_dev_entry *deve; in target_stat_iport_inst_show() local
1245 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_inst_show()
1246 if (!deve) { in target_stat_iport_inst_show()
1263 struct se_dev_entry *deve; in target_stat_iport_dev_show() local
1267 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_dev_show()
1268 if (!deve) { in target_stat_iport_dev_show()
1274 ret = snprintf(page, PAGE_SIZE, "%u\n", deve->se_lun->lun_index); in target_stat_iport_dev_show()
1284 struct se_dev_entry *deve; in target_stat_iport_port_show() local
1289 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_show()
1290 if (!deve) { in target_stat_iport_port_show()
1330 struct se_dev_entry *deve; in target_stat_iport_port_auth_indx_show() local
1334 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_iport_port_auth_indx_show()
1335 if (!deve) { in target_stat_iport_port_auth_indx_show()