Home
last modified time | relevance | path

Searched refs:ia64_state_log (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/arch/ia64/kernel/
Dmca.c358 static ia64_state_log_t ia64_state_log[IA64_MAX_LOG_TYPES]; variable
360 #define IA64_LOG_LOCK_INIT(it) spin_lock_init(&ia64_state_log[it].isl_lock)
361 #define IA64_LOG_LOCK(it) spin_lock_irqsave(&ia64_state_log[it].isl_lock, s)
362 #define IA64_LOG_UNLOCK(it) spin_unlock_irqrestore(&ia64_state_log[it].isl_lock,s)
363 #define IA64_LOG_NEXT_INDEX(it) ia64_state_log[it].isl_index
364 #define IA64_LOG_CURR_INDEX(it) 1 - ia64_state_log[it].isl_index
366 {ia64_state_log[it].isl_index = 1 - ia64_state_log[it].isl_index; \
367 ia64_state_log[it].isl_count++;}
369 ia64_state_log[it].isl_index = 1 - ia64_state_log[it].isl_index
370 #define IA64_LOG_NEXT_BUFFER(it) (void *)((ia64_state_log[it].isl_log[IA64_LOG_NEXT_INDEX(it)]))
[all …]