Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/s390/block/
H A Ddasd_proc.c203 spin_lock_bh(&dasd_global_profile.lock); in dasd_stats_proc_show()
204 prof = dasd_global_profile.data; in dasd_stats_proc_show()
206 spin_unlock_bh(&dasd_global_profile.lock); in dasd_stats_proc_show()
247 spin_unlock_bh(&dasd_global_profile.lock); in dasd_stats_proc_show()
284 rc = dasd_profile_on(&dasd_global_profile); in dasd_stats_proc_write()
289 dasd_profile_reset(&dasd_global_profile); in dasd_stats_proc_write()
296 dasd_profile_off(&dasd_global_profile); in dasd_stats_proc_write()
304 dasd_profile_reset(&dasd_global_profile); in dasd_stats_proc_write()
H A Ddasd.c695 struct dasd_profile dasd_global_profile = { variable
696 .lock = __SPIN_LOCK_UNLOCKED(dasd_global_profile.lock),
718 spin_lock(&dasd_global_profile.lock); in dasd_profile_start()
719 if (dasd_global_profile.data) { in dasd_profile_start()
720 dasd_global_profile.data->dasd_io_nr_req[counter]++; in dasd_profile_start()
722 dasd_global_profile.data->dasd_read_nr_req[counter]++; in dasd_profile_start()
724 spin_unlock(&dasd_global_profile.lock); in dasd_profile_start()
850 spin_lock(&dasd_global_profile.lock); in dasd_profile_end()
851 if (dasd_global_profile.data) { in dasd_profile_end()
852 data = dasd_global_profile.data; in dasd_profile_end()
[all …]
H A Ddasd_int.h746 extern struct dasd_profile dasd_global_profile;