Searched refs:debug_log (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/net/batman-adv/ |
D | debugfs.c | 62 static char *batadv_log_char_addr(struct batadv_priv_debug_log *debug_log, in batadv_log_char_addr() argument 65 return &debug_log->log_buff[idx & BATADV_LOG_BUFF_MASK]; in batadv_log_char_addr() 68 static void batadv_emit_log_char(struct batadv_priv_debug_log *debug_log, in batadv_emit_log_char() argument 73 char_addr = batadv_log_char_addr(debug_log, debug_log->log_end); in batadv_emit_log_char() 75 debug_log->log_end++; in batadv_emit_log_char() 77 if (debug_log->log_end - debug_log->log_start > batadv_log_buff_len) in batadv_emit_log_char() 78 debug_log->log_start = debug_log->log_end - batadv_log_buff_len; in batadv_emit_log_char() 82 static int batadv_fdebug_log(struct batadv_priv_debug_log *debug_log, in batadv_fdebug_log() argument 89 if (!debug_log) in batadv_fdebug_log() 92 spin_lock_bh(&debug_log->lock); in batadv_fdebug_log() [all …]
|
D | types.h | 827 struct batadv_priv_debug_log *debug_log; member
|
/linux-4.4.14/drivers/ide/ |
D | ide-atapi.c | 19 #define debug_log(fmt, args...) \ macro 22 #define debug_log(fmt, args...) do {} while (0) macro 281 debug_log("%s: rq->cmd[0]: 0x%x\n", __func__, rq->cmd[0]); in ide_cd_expiry() 348 debug_log("ireason: 0x%x, rw: 0x%x\n", ireason, rw); in ide_check_ireason() 401 debug_log("Enter %s - interrupt handler\n", __func__); in ide_pc_intr() 424 debug_log("%s: DMA finished\n", drive->name); in ide_pc_intr() 431 debug_log("Packet command completed, %d bytes transferred\n", in ide_pc_intr() 444 debug_log("%s: I/O error\n", drive->name); in ide_pc_intr() 455 debug_log("[cmd %x]: check condition\n", rq->cmd[0]); in ide_pc_intr() 522 debug_log("[cmd %x] transferred %d bytes, padded %d bytes, resid: %u\n", in ide_pc_intr()
|
/linux-4.4.14/drivers/tty/serial/ |
D | crisv10.c | 122 struct debug_log_info debug_log[DEBUG_LOG_SIZE]; variable 134 debug_log[debug_log_pos].time = jiffies; in debug_log_func() 135 debug_log[debug_log_pos].timer_data = *R_TIMER_DATA; in debug_log_func() 137 debug_log[debug_log_pos].string = string; in debug_log_func() 138 debug_log[debug_log_pos].value = value; in debug_log_func() 4075 i, debug_log[i].time, in crisv10_proc_show() 4076 timer_data_to_ns(debug_log[i].timer_data)); in crisv10_proc_show() 4077 seq_printf(m, debug_log[i].string, debug_log[i].value); in crisv10_proc_show()
|