Lines Matching refs:active
867 debug_finish_entry(debug_info_t * id, debug_entry_t* active, int level, in debug_finish_entry() argument
870 active->id.stck = get_tod_clock_fast(); in debug_finish_entry()
871 active->id.fields.cpuid = smp_processor_id(); in debug_finish_entry()
872 active->caller = __builtin_return_address(0); in debug_finish_entry()
873 active->id.fields.exception = exception; in debug_finish_entry()
874 active->id.fields.level = level; in debug_finish_entry()
954 debug_entry_t *active; in debug_event_common() local
963 active = get_active_entry(id); in debug_event_common()
964 memset(DEBUG_DATA(active), 0, id->buf_size); in debug_event_common()
965 memcpy(DEBUG_DATA(active), buf, min(len, id->buf_size)); in debug_event_common()
966 debug_finish_entry(id, active, level, 0); in debug_event_common()
969 return active; in debug_event_common()
982 debug_entry_t *active; in debug_exception_common() local
991 active = get_active_entry(id); in debug_exception_common()
992 memset(DEBUG_DATA(active), 0, id->buf_size); in debug_exception_common()
993 memcpy(DEBUG_DATA(active), buf, min(len, id->buf_size)); in debug_exception_common()
994 debug_finish_entry(id, active, level, 1); in debug_exception_common()
997 return active; in debug_exception_common()
1028 debug_entry_t *active; in __debug_sprintf_event() local
1039 active = get_active_entry(id); in __debug_sprintf_event()
1040 curr_event=(debug_sprintf_entry_t *) DEBUG_DATA(active); in __debug_sprintf_event()
1046 debug_finish_entry(id, active, level, 0); in __debug_sprintf_event()
1049 return active; in __debug_sprintf_event()
1064 debug_entry_t *active; in __debug_sprintf_exception() local
1076 active = get_active_entry(id); in __debug_sprintf_exception()
1077 curr_event=(debug_sprintf_entry_t *)DEBUG_DATA(active); in __debug_sprintf_exception()
1083 debug_finish_entry(id, active, level, 1); in __debug_sprintf_exception()
1086 return active; in __debug_sprintf_exception()