Home
last modified time | relevance | path

Searched refs:to_stat_tgt_dev (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/target/
H A Dtarget_core_stat.c91 static struct se_device *to_stat_tgt_dev(struct config_item *item) in to_stat_tgt_dev() function
100 struct se_hba *hba = to_stat_tgt_dev(item)->se_hba; in target_stat_tgt_inst_show()
107 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show()
119 if (to_stat_tgt_dev(item)->export_count) in target_stat_tgt_status_show()
130 if (to_stat_tgt_dev(item)->export_count) in target_stat_tgt_non_access_lus_show()
142 atomic_long_read(&to_stat_tgt_dev(item)->num_resets)); in target_stat_tgt_resets_show()
149 atomic_long_read(&to_stat_tgt_dev(item)->aborts_complete)); in target_stat_tgt_aborts_complete_show()
156 atomic_long_read(&to_stat_tgt_dev(item)->aborts_no_task)); in target_stat_tgt_aborts_no_task_show()