Lines Matching refs:ia64_state_log
151 static ia64_state_log_t ia64_state_log[IA64_MAX_LOG_TYPES]; variable
154 {ia64_state_log[it].isl_log[IA64_LOG_CURR_INDEX(it)] = \
156 ia64_state_log[it].isl_log[IA64_LOG_NEXT_INDEX(it)] = \
158 #define IA64_LOG_LOCK_INIT(it) spin_lock_init(&ia64_state_log[it].isl_lock)
159 #define IA64_LOG_LOCK(it) spin_lock_irqsave(&ia64_state_log[it].isl_lock, s)
160 #define IA64_LOG_UNLOCK(it) spin_unlock_irqrestore(&ia64_state_log[it].isl_lock,s)
161 #define IA64_LOG_NEXT_INDEX(it) ia64_state_log[it].isl_index
162 #define IA64_LOG_CURR_INDEX(it) 1 - ia64_state_log[it].isl_index
164 {ia64_state_log[it].isl_index = 1 - ia64_state_log[it].isl_index; \
165 ia64_state_log[it].isl_count++;}
167 ia64_state_log[it].isl_index = 1 - ia64_state_log[it].isl_index
168 #define IA64_LOG_NEXT_BUFFER(it) (void *)((ia64_state_log[it].isl_log[IA64_LOG_NEXT_INDEX(it)]))
169 #define IA64_LOG_CURR_BUFFER(it) (void *)((ia64_state_log[it].isl_log[IA64_LOG_CURR_INDEX(it)]))
170 #define IA64_LOG_COUNT(it) ia64_state_log[it].isl_count