spinlock: Due to semantic inconsistency, remove/rename some functions with the _wo_note suffix.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5
2025-01-20 12:36:29 +08:00
committed by Xiang Xiao
parent c6858061ed
commit b49f4286fb
10 changed files with 96 additions and 97 deletions
+8 -8
View File
@@ -1841,7 +1841,7 @@ void sched_note_filter_mode(FAR struct note_filter_named_mode_s *oldm,
irqstate_t irq_mask;
FAR struct note_driver_s **driver;
irq_mask = spin_lock_irqsave_wo_note(&g_note_lock);
irq_mask = raw_spin_lock_irqsave(&g_note_lock);
if (oldm != NULL)
{
@@ -1877,7 +1877,7 @@ void sched_note_filter_mode(FAR struct note_filter_named_mode_s *oldm,
}
}
spin_unlock_irqrestore_wo_note(&g_note_lock, irq_mask);
raw_spin_unlock_irqrestore(&g_note_lock, irq_mask);
}
/****************************************************************************
@@ -1907,7 +1907,7 @@ void sched_note_filter_syscall(FAR struct note_filter_named_syscall_s *oldf,
irqstate_t irq_mask;
FAR struct note_driver_s **driver;
irq_mask = spin_lock_irqsave_wo_note(&g_note_lock);
irq_mask = raw_spin_lock_irqsave(&g_note_lock);
if (oldf != NULL)
{
@@ -1943,7 +1943,7 @@ void sched_note_filter_syscall(FAR struct note_filter_named_syscall_s *oldf,
}
}
spin_unlock_irqrestore_wo_note(&g_note_lock, irq_mask);
raw_spin_unlock_irqrestore(&g_note_lock, irq_mask);
}
#endif
@@ -1974,7 +1974,7 @@ void sched_note_filter_irq(FAR struct note_filter_named_irq_s *oldf,
irqstate_t irq_mask;
FAR struct note_driver_s **driver;
irq_mask = spin_lock_irqsave_wo_note(&g_note_lock);
irq_mask = raw_spin_lock_irqsave(&g_note_lock);
if (oldf != NULL)
{
@@ -2010,7 +2010,7 @@ void sched_note_filter_irq(FAR struct note_filter_named_irq_s *oldf,
}
}
spin_unlock_irqrestore_wo_note(&g_note_lock, irq_mask);
raw_spin_unlock_irqrestore(&g_note_lock, irq_mask);
}
#endif
@@ -2041,7 +2041,7 @@ void sched_note_filter_tag(FAR struct note_filter_named_tag_s *oldf,
FAR struct note_driver_s **driver;
irqstate_t irq_mask;
irq_mask = spin_lock_irqsave_wo_note(&g_note_lock);
irq_mask = raw_spin_lock_irqsave(&g_note_lock);
if (oldf != NULL)
{
@@ -2077,7 +2077,7 @@ void sched_note_filter_tag(FAR struct note_filter_named_tag_s *oldf,
}
}
spin_unlock_irqrestore_wo_note(&g_note_lock, irq_mask);
raw_spin_unlock_irqrestore(&g_note_lock, irq_mask);
}
#endif