Home | History | Annotate | Download | only in Library

Lines Matching refs:SpinLock

50   This function initializes the spin lock specified by SpinLock to the released

51 state, and returns SpinLock. Optimal performance can be achieved by calling
53 SpinLock.
55 If SpinLock is NULL, then ASSERT().
57 @param SpinLock A pointer to the spin lock to initialize to the released
60 @return SpinLock in release state.
66 OUT SPIN_LOCK *SpinLock
73 This function checks the state of the spin lock specified by SpinLock. If
74 SpinLock is in the released state, then this function places SpinLock in the
75 acquired state and returns SpinLock. Otherwise, this function waits
77 acquired state and returns SpinLock. All state transitions of SpinLock must
80 If SpinLock is NULL, then ASSERT().
81 If SpinLock was not initialized with InitializeSpinLock(), then ASSERT().
82 If PcdSpinLockTimeout is not zero, and SpinLock is can not be acquired in
85 @param SpinLock A pointer to the spin lock to place in the acquired state.
87 @return SpinLock acquired lock.
93 IN OUT SPIN_LOCK *SpinLock
100 This function checks the state of the spin lock specified by SpinLock. If
101 SpinLock is in the released state, then this function places SpinLock in the
103 transitions of SpinLock must be performed using MP safe mechanisms.
105 If SpinLock is NULL, then ASSERT().
106 If SpinLock was not initialized with InitializeSpinLock(), then ASSERT().
108 @param SpinLock A pointer to the spin lock to place in the acquired state.
110 @retval TRUE SpinLock was placed in the acquired state.
111 @retval FALSE SpinLock could not be acquired.
117 IN OUT SPIN_LOCK *SpinLock
124 This function places the spin lock specified by SpinLock in the release state
125 and returns SpinLock.
127 If SpinLock is NULL, then ASSERT().
128 If SpinLock was not initialized with InitializeSpinLock(), then ASSERT().
130 @param SpinLock A pointer to the spin lock to release.
132 @return SpinLock released lock.
138 IN OUT SPIN_LOCK *SpinLock