Searched refs:scm_debug (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/s390/block/
H A Dscm_blk.h104 extern debug_info_t *scm_debug;
107 debug_text_event(scm_debug, imp, txt); \
112 if (!debug_level_enabled(scm_debug, level)) SCM_LOG_HEX()
115 debug_event(scm_debug, level, data, length); SCM_LOG_HEX()
116 length -= scm_debug->buf_size; SCM_LOG_HEX()
117 data += scm_debug->buf_size; SCM_LOG_HEX()
H A Dscm_blk.c22 debug_info_t *scm_debug; variable
588 scm_debug = debug_register("scm_log", 16, 1, 16); scm_blk_init()
589 if (!scm_debug) { scm_blk_init()
594 debug_register_view(scm_debug, &debug_hex_ascii_view); scm_blk_init()
595 debug_set_level(scm_debug, 2); scm_blk_init()
604 debug_unregister(scm_debug); scm_blk_init()
616 debug_unregister(scm_debug); scm_blk_cleanup()

Completed in 56 milliseconds