Home
last modified time | relevance | path

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

/linux/drivers/s390/block/
H A Ddasd_proc.c198 spin_lock_bh(&dasd_global_profile.lock); in dasd_stats_proc_show()
199 prof = dasd_global_profile.data; in dasd_stats_proc_show()
201 spin_unlock_bh(&dasd_global_profile.lock); in dasd_stats_proc_show()
242 spin_unlock_bh(&dasd_global_profile.lock); in dasd_stats_proc_show()
279 rc = dasd_profile_on(&dasd_global_profile); in dasd_stats_proc_write()
284 dasd_profile_reset(&dasd_global_profile); in dasd_stats_proc_write()
291 dasd_profile_off(&dasd_global_profile); in dasd_stats_proc_write()
299 dasd_profile_reset(&dasd_global_profile); in dasd_stats_proc_write()
H A Ddasd.c640 struct dasd_profile dasd_global_profile = { variable
641 .lock = __SPIN_LOCK_UNLOCKED(dasd_global_profile.lock),
663 spin_lock(&dasd_global_profile.lock); in dasd_profile_start()
664 if (dasd_global_profile.data) { in dasd_profile_start()
665 dasd_global_profile.data->dasd_io_nr_req[counter]++; in dasd_profile_start()
667 dasd_global_profile.data->dasd_read_nr_req[counter]++; in dasd_profile_start()
669 spin_unlock(&dasd_global_profile.lock); in dasd_profile_start()
797 spin_lock(&dasd_global_profile.lock); in dasd_profile_end()
798 if (dasd_global_profile.data) { in dasd_profile_end()
799 data = dasd_global_profile.data; in dasd_profile_end()
[all …]
H A Ddasd_int.h824 extern struct dasd_profile dasd_global_profile;