Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/s390/block/
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()
Ddasd.c655 struct dasd_profile dasd_global_profile = { variable
656 .lock = __SPIN_LOCK_UNLOCKED(dasd_global_profile.lock),
678 spin_lock(&dasd_global_profile.lock); in dasd_profile_start()
679 if (dasd_global_profile.data) { in dasd_profile_start()
680 dasd_global_profile.data->dasd_io_nr_req[counter]++; in dasd_profile_start()
682 dasd_global_profile.data->dasd_read_nr_req[counter]++; in dasd_profile_start()
684 spin_unlock(&dasd_global_profile.lock); in dasd_profile_start()
810 spin_lock(&dasd_global_profile.lock); in dasd_profile_end()
811 if (dasd_global_profile.data) { in dasd_profile_end()
812 data = dasd_global_profile.data; in dasd_profile_end()
[all …]
Ddasd_int.h766 extern struct dasd_profile dasd_global_profile;