Lines Matching refs:from
133 extern status_t recursive_lock_switch_lock(recursive_lock* from,
135 // Unlocks "from" and locks "to" such that unlocking and starting to wait
136 // for the lock is atomic. I.e. if "from" guards the object "to" belongs
137 // to, the operation is safe as long as "from" is held while destroying
139 extern status_t recursive_lock_switch_from_mutex(mutex* from,
141 // Like recursive_lock_switch_lock(), just for switching from a mutex.
142 extern status_t recursive_lock_switch_from_read_lock(rw_lock* from,
144 // Like recursive_lock_switch_lock(), just for switching from a read-locked
159 extern status_t mutex_switch_lock(mutex* from, mutex* to);
160 // Unlocks "from" and locks "to" such that unlocking and starting to wait
161 // for the lock is atomic. I.e. if "from" guards the object "to" belongs
162 // to, the operation is safe as long as "from" is held while destroying
164 extern status_t mutex_switch_from_read_lock(rw_lock* from, mutex* to);
165 // Like mutex_switch_lock(), just for switching from a read-locked rw_lock.