Lines Matching refs:bat_priv
19 int batadv_debug_log_setup(struct batadv_priv *bat_priv);
20 void batadv_debug_log_cleanup(struct batadv_priv *bat_priv);
24 static inline int batadv_debug_log_setup(struct batadv_priv *bat_priv) in batadv_debug_log_setup() argument
29 static inline void batadv_debug_log_cleanup(struct batadv_priv *bat_priv) in batadv_debug_log_cleanup() argument
68 int batadv_debug_log(struct batadv_priv *bat_priv, const char *fmt, ...)
79 #define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \ argument
81 struct batadv_priv *__batpriv = (bat_priv); \
90 struct batadv_priv *bat_priv __always_unused, in _batadv_dbg()
103 #define batadv_dbg(type, bat_priv, arg...) \ argument
104 _batadv_dbg(type, bat_priv, 0, ## arg)
112 #define batadv_dbg_ratelimited(type, bat_priv, arg...) \ argument
113 _batadv_dbg(type, bat_priv, 1, ## arg)