Lines Matching defs: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)
29 static inline void batadv_debug_log_cleanup(struct batadv_priv *bat_priv)
65 int batadv_debug_log(struct batadv_priv *bat_priv, const char *fmt, ...)
71 * @bat_priv: the bat priv with all the mesh interface information
76 #define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \
78 struct batadv_priv *__batpriv = (bat_priv); \
87 struct batadv_priv *bat_priv __always_unused,
97 * @bat_priv: the bat priv with all the mesh interface information
100 #define batadv_dbg(type, bat_priv, arg...) \
101 _batadv_dbg(type, bat_priv, 0, ## arg)
106 * @bat_priv: the bat priv with all the mesh interface information
109 #define batadv_dbg_ratelimited(type, bat_priv, arg...) \
110 _batadv_dbg(type, bat_priv, 1, ## arg)