Home
last modified time | relevance | path

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

/drivers/s390/block/
Ddasd_proc.c215 spin_lock_bh(&dasd_global_profile.lock); in dasd_stats_proc_show()
216 prof = dasd_global_profile.data; in dasd_stats_proc_show()
218 spin_unlock_bh(&dasd_global_profile.lock); in dasd_stats_proc_show()
259 spin_unlock_bh(&dasd_global_profile.lock); in dasd_stats_proc_show()
296 rc = dasd_profile_on(&dasd_global_profile); in dasd_stats_proc_write()
301 dasd_profile_reset(&dasd_global_profile); in dasd_stats_proc_write()
308 dasd_profile_off(&dasd_global_profile); in dasd_stats_proc_write()
316 dasd_profile_reset(&dasd_global_profile); in dasd_stats_proc_write()
Ddasd.c680 struct dasd_profile dasd_global_profile = { variable
681 .lock = __SPIN_LOCK_UNLOCKED(dasd_global_profile.lock),
703 spin_lock(&dasd_global_profile.lock); in dasd_profile_start()
704 if (dasd_global_profile.data) { in dasd_profile_start()
705 dasd_global_profile.data->dasd_io_nr_req[counter]++; in dasd_profile_start()
707 dasd_global_profile.data->dasd_read_nr_req[counter]++; in dasd_profile_start()
709 spin_unlock(&dasd_global_profile.lock); in dasd_profile_start()
834 spin_lock(&dasd_global_profile.lock); in dasd_profile_end()
835 if (dasd_global_profile.data) { in dasd_profile_end()
836 dasd_profile_end_add_data(dasd_global_profile.data, in dasd_profile_end()
[all …]
Ddasd_int.h677 extern struct dasd_profile dasd_global_profile;