Lines Matching refs:level
34 unsigned long level : 3; member
48 int level; member
99 debug_entry_t *debug_event_common(debug_info_t *id, int level,
102 debug_entry_t *debug_exception_common(debug_info_t *id, int level,
132 static inline bool debug_level_enabled(debug_info_t *id, int level) in debug_level_enabled() argument
134 return level <= id->level; in debug_level_enabled()
150 static inline debug_entry_t *debug_event(debug_info_t *id, int level, in debug_event() argument
153 if ((!id) || (level > id->level) || (id->pages_per_area == 0)) in debug_event()
155 return debug_event_common(id, level, data, length); in debug_event()
170 static inline debug_entry_t *debug_int_event(debug_info_t *id, int level, in debug_int_event() argument
175 if ((!id) || (level > id->level) || (id->pages_per_area == 0)) in debug_int_event()
177 return debug_event_common(id, level, &t, sizeof(unsigned int)); in debug_int_event()
192 static inline debug_entry_t *debug_long_event(debug_info_t *id, int level, in debug_long_event() argument
197 if ((!id) || (level > id->level) || (id->pages_per_area == 0)) in debug_long_event()
199 return debug_event_common(id, level, &t, sizeof(unsigned long)); in debug_long_event()
214 static inline debug_entry_t *debug_text_event(debug_info_t *id, int level, in debug_text_event() argument
217 if ((!id) || (level > id->level) || (id->pages_per_area == 0)) in debug_text_event()
219 return debug_event_common(id, level, txt, strlen(txt)); in debug_text_event()
227 __debug_sprintf_event(debug_info_t *id, int level, char *string, ...)
252 if ((!__id) || (__level > __id->level)) \
274 static inline debug_entry_t *debug_exception(debug_info_t *id, int level, in debug_exception() argument
277 if ((!id) || (level > id->level) || (id->pages_per_area == 0)) in debug_exception()
279 return debug_exception_common(id, level, data, length); in debug_exception()
295 static inline debug_entry_t *debug_int_exception(debug_info_t *id, int level, in debug_int_exception() argument
300 if ((!id) || (level > id->level) || (id->pages_per_area == 0)) in debug_int_exception()
302 return debug_exception_common(id, level, &t, sizeof(unsigned int)); in debug_int_exception()
318 static inline debug_entry_t *debug_long_exception (debug_info_t *id, int level, in debug_long_exception() argument
323 if ((!id) || (level > id->level) || (id->pages_per_area == 0)) in debug_long_exception()
325 return debug_exception_common(id, level, &t, sizeof(unsigned long)); in debug_long_exception()
342 static inline debug_entry_t *debug_text_exception(debug_info_t *id, int level, in debug_text_exception() argument
345 if ((!id) || (level > id->level) || (id->pages_per_area == 0)) in debug_text_exception()
347 return debug_exception_common(id, level, txt, strlen(txt)); in debug_text_exception()
355 __debug_sprintf_exception(debug_info_t *id, int level, char *string, ...)
382 if ((!__id) || (__level > __id->level)) \