Found 3 other functions taking a
spinlock_t
argument:
Initialize a lock to its default state - unlocked
Top level spinlock acquire function, spins until get the lock This function will: - Save current interrupt state, then disable interrupts - Spin until lock is acquired or until timeout occurs - Restore interrupt state
Top level spinlock unlock function, unlocks a previously locked spinlock This function will: - Save current interrupt state, then disable interrupts - Release the spinlock - Restore interrupt state