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)
68 int batadv_debug_log(struct batadv_priv *bat_priv, const char *fmt, ...)
74 * @bat_priv: the bat priv with all the soft interface information
79 #define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \
81 struct batadv_priv *__batpriv = (bat_priv); \
90 struct batadv_priv *bat_priv __always_unused,
100 * @bat_priv: the bat priv with all the soft interface information
103 #define batadv_dbg(type, bat_priv, arg...) \
104 _batadv_dbg(type, bat_priv, 0, ## arg)
109 * @bat_priv: the bat priv with all the soft interface information
112 #define batadv_dbg_ratelimited(type, bat_priv, arg...) \
113 _batadv_dbg(type, bat_priv, 1, ## arg)