Searched refs:log_var (Results 1 – 2 of 2) sorted by relevance
62 unsigned log_var_update_state(log_var_t *log_var);65 #define log_do_begin(log_var) \ argument67 unsigned log_state = atomic_load_u(&(log_var).state, \70 log_state = log_var_update_state(&(log_var)); \76 #define log_do_end(log_var) \ argument109 static log_var_t log_var = LOG_VAR_INIT(log_var_str); \110 log_do_begin(log_var) \111 log_impl_varargs((log_var).name, __VA_ARGS__); \112 log_do_end(log_var) \
44 log_var_update_state(log_var_t *log_var) { in log_var_update_state() argument45 const char *log_var_begin = log_var->name; in log_var_update_state()46 const char *log_var_end = log_var->name + strlen(log_var->name); in log_var_update_state()65 atomic_store_u(&log_var->state, LOG_ENABLED, in log_var_update_state()71 atomic_store_u(&log_var->state, in log_var_update_state()