Searched refs:debug_log (Results 1 – 2 of 2) sorted by relevance
40 static char *batadv_log_char_addr(struct batadv_priv_debug_log *debug_log, in batadv_log_char_addr() argument43 return &debug_log->log_buff[idx & BATADV_LOG_BUFF_MASK]; in batadv_log_char_addr()46 static void batadv_emit_log_char(struct batadv_priv_debug_log *debug_log, in batadv_emit_log_char() argument51 char_addr = batadv_log_char_addr(debug_log, debug_log->log_end); in batadv_emit_log_char()53 debug_log->log_end++; in batadv_emit_log_char()55 if (debug_log->log_end - debug_log->log_start > batadv_log_buff_len) in batadv_emit_log_char()56 debug_log->log_start = debug_log->log_end - batadv_log_buff_len; in batadv_emit_log_char()60 static int batadv_fdebug_log(struct batadv_priv_debug_log *debug_log, in batadv_fdebug_log() argument67 if (!debug_log) in batadv_fdebug_log()70 spin_lock_bh(&debug_log->lock); in batadv_fdebug_log()[all …]
1739 struct batadv_priv_debug_log *debug_log; member