Home
last modified time | relevance | path

Searched full:acquire (Results 1 – 25 of 797) sorted by relevance

12345678910>>...32

/freebsd/share/man/man4/
H A Ddtrace_lockstat.432 .Fn lockstat:::adaptive-acquire "struct mtx *"
36 .Fn lockstat:::spin-acquire "struct mtx *"
39 .Fn lockstat:::rw-acquire "struct rwlock *" "int"
45 .Fn lockstat:::sx-acquire "struct sx *" "int"
51 .Fn lockstat:::lockmgr-acquire "struct lock *" "int"
81 .Fn acquire
89 .Fn lockstat:::adaptive-acquire
110 probe fires when a thread takes itself off the CPU while trying to acquire an
123 .Fn lockstat:::adaptive-acquire
127 .Fn lockstat:::spin-acquire
[all …]
/freebsd/share/man/man9/
H A Datomic.9152 .Ss Acquire and Release Operations
171 .Em acquire
182 The second variant has acquire semantics, and the third variant has release
185 When an atomic operation has acquire semantics, the operation must have
188 Conversely, acquire semantics do not require that prior loads or stores have
190 An atomic operation can only have acquire semantics if it performs a load
192 To denote acquire semantics, the suffix
218 an acquire operation by another thread, usually meaning that the acquire
227 In effect, atomic operations with acquire and release semantics establish
231 For example, for a critical section guarded by a mutex, an acquire operation
[all …]
H A Dmutex.9114 A thread must be able to recursively acquire a mutex,
145 Once a spin mutex has been acquired it is not permissible to acquire a
219 It is possible for the same thread to recursively acquire a mutex
230 functions acquire a
248 it will be silenced during the lock acquire.
259 functions attempt to acquire a
427 and then tried to acquire the mutex.
468 that is, attempting to acquire an already-owned mutex fails.
514 Put another way: it is impossible to acquire
518 It is possible to acquire other mutexes while holding
[all …]
H A Dlocking.945 then a thread attempting to acquire the mutex will spin rather than yielding
59 acquire and release.
177 to acquire a resource, and another thread needs to release it.
311 is CPU time for the owner of a lock that the thread is waiting to acquire.
343 For example, it is an error to try to acquire a shared/exclusive lock while
H A DLOCK_PROFILING.957 The total time that threads have spent waiting to acquire the lock.
64 The total number of times another thread tried to acquire the lock
105 acquire the lock.
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DAtomicOrdering.h31 acquire = 2, enumerator
55 /// \-->consume-->acquire--/
61 Acquire = 4, enumerator
84 "consume", "acquire", "release", in toIRString()
98 /* acquire */ { true, true, true, true, false, false, false, false}, in isStrongerThan()
113 /* acquire */ { true, true, true, true, true, false, false, false}, in isAtLeastOrStrongerThan()
130 return isAtLeastOrStrongerThan(AO, AtomicOrdering::Acquire); in isAcquireOrStronger()
141 if ((AO == AtomicOrdering::Acquire && Other == AtomicOrdering::Release) || in getMergedAtomicOrdering()
142 (AO == AtomicOrdering::Release && Other == AtomicOrdering::Acquire)) in getMergedAtomicOrdering()
153 /* acquire */ AtomicOrderingCABI::acquire, in toCABI()
H A DRWMutex.h35 /// Initializes the lock but doesn't acquire it.
54 /// Attempts to unconditionally acquire the lock in reader mode. If the
55 /// lock is held by a writer, this method will wait until it can acquire
58 /// Unconditionally acquire the lock in reader mode.
66 /// Attempts to acquire the lock in reader mode. Returns immediately.
70 /// Attempts to unconditionally acquire the lock in reader mode. If the
72 /// acquire the lock.
74 /// Unconditionally acquire the lock in writer mode.
82 /// Attempts to acquire the lock in writer mode. Returns immediately.
/freebsd/contrib/libcxxrt/
H A Dguard.cc98 * Attempting to acquire the lock failed.
145 * Try to acquire the lock. This has a tri-state return, indicating
153 // Try to acquire the lock, assuming that we are in the state where in try_lock()
176 return (val.load(memory_order::acquire) & initialised) == in is_initialised()
214 * Try to acquire the lock. This has a tri-state return, indicating
222 // Try to acquire the lock in try_lock()
261 return (init_word.load(memory_order::acquire) & initialised) == in is_initialised()
324 // Spin trying to acquire the lock. If we fail to acquire the lock the in __cxa_guard_acquire()
330 // Try to acquire the lock. in __cxa_guard_acquire()
333 // If we failed to acquire the lock but another thread has in __cxa_guard_acquire()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cpp195 Acquire(thr, pc, (uptr)lock); in TSAN_INTERCEPTOR()
206 Acquire(thr, pc, (uptr)lock); in TSAN_INTERCEPTOR()
227 Acquire(thr, pc, (uptr)lock); in TSAN_INTERCEPTOR()
238 Acquire(thr, pc, (uptr)lock); in TSAN_INTERCEPTOR()
258 Acquire(thr, pc, (uptr)lock); in TSAN_INTERCEPTOR()
268 Acquire(thr, pc, (uptr)lock); in TSAN_INTERCEPTOR()
278 Acquire(thr, pc, (uptr)lock); in TSAN_INTERCEPTOR()
301 Acquire(thr, pc, (uptr)connection); in TSAN_INTERCEPTOR()
315 Acquire(thr, pc, (uptr)connection); in TSAN_INTERCEPTOR()
331 Acquire(thr, pc, (uptr)connection); in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_interceptors_libdispatch.cpp106 Acquire(thr, pc, submit_sync); in dispatch_sync_pre_execute()
111 if (serial_sync) Acquire(thr, pc, serial_sync); in dispatch_sync_pre_execute()
112 if (serial_task && concurrent_sync) Acquire(thr, pc, concurrent_sync); in dispatch_sync_pre_execute()
184 Acquire(thr, pc, (uptr)&new_context); \
210 Acquire(thr, pc, (uptr)&new_context); \
283 // and acquire semantics. Since TSan does not see its own atomic stores, the
306 Acquire(thr, pc, (uptr)a); in TSAN_INTERCEPTOR()
332 if (result == 0) Acquire(thr, pc, (uptr)dsema); in TSAN_INTERCEPTOR()
340 if (result == 0) Acquire(thr, pc, (uptr)group); in TSAN_INTERCEPTOR()
397 Acquire(thr, pc, (uptr)group); in DECLARE_REAL()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.mutex_owned.d39 lockstat:::adaptive-acquire
45 lockstat:::adaptive-acquire
52 lockstat:::adaptive-acquire
59 lockstat:::adaptive-acquire
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cpp88 Location Loc = Data->Loc.acquire(); in handleTypeMismatchImpl()
156 Location Loc = Data->Loc.acquire(); in handleAlignmentAssumptionImpl()
157 SourceLocation AssumptionLoc = Data->AssumptionLoc.acquire(); in handleAlignmentAssumptionImpl()
212 SourceLocation Loc = Data->Loc.acquire(); in handleIntegerOverflowImpl()
251 SourceLocation Loc = Data->Loc.acquire(); in handleNegateOverflowImpl()
288 SourceLocation Loc = Data->Loc.acquire(); in handleDivremOverflowImpl()
333 SourceLocation Loc = Data->Loc.acquire(); in handleShiftOutOfBoundsImpl()
383 SourceLocation Loc = Data->Loc.acquire(); in handleOutOfBoundsImpl()
438 SourceLocation Loc = Data->Loc.acquire(); in handleVLABoundNotPositive()
496 SourceLocation SLoc = Data->Loc.acquire(); in handleFloatCastOverflow()
[all …]
/freebsd/crypto/heimdal/kcm/
H A Dacquire.c56 /* We need a cached key or keytab to acquire credentials */ in kcm_ccache_acquire()
66 kcm_log(0, "Cannot acquire initial credentials for cache %s without key", in kcm_ccache_acquire()
76 /* Now, actually acquire the creds */ in kcm_ccache_acquire()
117 kcm_log(0, "Failed to acquire credentials for cache %s: %s", in kcm_ccache_acquire()
/freebsd/share/man/man3/
H A Dpthread_spin_lock.344 function will acquire
48 spin attempting to acquire the lock (it will not sleep) until
55 except that if it cannot acquire
/freebsd/usr.bin/lockf/
H A Dlockf.1100 with concurrent unlink, drop and re-acquire activity.
115 Failure to acquire the lock is indicated only in the exit status.
133 waits indefinitely to acquire the lock.
141 will fail unless it can acquire the lock immediately.
H A Dlockf.c190 * unlink the file upon releasing the lock, and we would acquire in main()
192 * process could come along and acquire the same lock. To avoid in main()
221 if (lockfd == -1) { /* We failed to acquire the lock. */ in main()
258 * Try to acquire a lock on the given file/fd, creating the file if
338 * Wait until it might be possible to acquire a lock on the given file.
/freebsd/sys/dev/igc/
H A Digc_i225.c60 nvm->ops.acquire = igc_acquire_nvm_i225; in igc_init_nvm_params_i225()
109 /* acquire SW_FW sync */ in igc_init_mac_params_i225()
153 phy->ops.acquire = igc_acquire_phy_base; in igc_init_phy_params_i225()
234 * Acquire the necessary semaphores for exclusive access to the EEPROM.
263 /* igc_acquire_swfw_sync_i225 - Acquire SW/FW semaphore
265 * @mask: specifies which semaphore to acquire
267 * Acquire the SW/FW semaphore to access the PHY or NVM. The mask
315 * @mask: specifies which semaphore to acquire
366 /* igc_get_hw_semaphore_i225 - Acquire hardware semaphore
369 * Acquire the HW semaphore to access the PHY or NVM
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dmutex.h27 NOINLINE void lock() ACQUIRE() { in lock()
80 void lockSlow() ACQUIRE();
85 explicit ScopedLock(HybridMutex &M) ACQUIRE(M) : Mutex(M) { Mutex.lock(); }
/freebsd/contrib/llvm-project/libcxx/include/
H A Dsemaphore31 void acquire();
98 _LIBCPP_AVAILABILITY_SYNC _LIBCPP_HIDE_FROM_ABI void acquire() {
154 _LIBCPP_AVAILABILITY_SYNC _LIBCPP_HIDE_FROM_ABI void acquire() { __semaphore_.acquire(); }
/freebsd/contrib/llvm-project/libcxx/include/__stop_token/
H A Dstop_state.h88 // acquire because [thread.stoptoken.intro] A call to request_stop that returns true in __stop_requested()
91 // request_stop's compare_exchange_weak has release which syncs with this acquire in __stop_requested()
129 // this release syncs with the acquire in the remove_callback in __request_stop()
163 // Note: this release sync with the acquire in the request_stop' __try_lock_for_request_stop in __add_callback()
205 …// callback. We are going to invoke the callback after getting the lock, acquire so that we ca… in __try_lock_for_request_stop()
/freebsd/sys/dev/acpica/Osd/
H A DOsdSynch.c371 ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "acquire %s\n", am->am_name)); in AcpiOsAcquireMutex()
376 "acquire nested %s, depth %d\n", in AcpiOsAcquireMutex()
555 "cannot acquire null spinlock\n")); in AcpiOsAcquireLock()
559 ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "acquire %s\n", al->al_name)); in AcpiOsAcquireLock()
564 "acquire nested %s, depth %d\n", in AcpiOsAcquireLock()
600 /* Section 5.2.10.1: global lock acquire/release functions */
603 * Acquire the global lock. If busy, set the pending bit. The caller
605 * and then attempt to acquire it again.
/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexmutex.c3 * Module Name: exmutex - ASL Mutex Acquire/Release functions
270 * DESCRIPTION: Acquire an AML mutex, low-level interface. Provides a common
276 * 1) From AcpiExAcquireMutex, via an AML Acquire() operator
312 /* Acquire the mutex, wait if necessary. Special case for Global Lock */ in AcpiExAcquireMutexObject()
335 ObjDesc->Mutex.OwnerThread = NULL; /* Used only for AML Acquire() */ in AcpiExAcquireMutexObject()
351 * DESCRIPTION: Acquire an AML mutex
377 "Cannot acquire Mutex [%4.4s], null thread info", in AcpiExAcquireMutex()
389 "Cannot acquire Mutex [%4.4s], " in AcpiExAcquireMutex()
444 * 1) From AcpiExReleaseMutex, via an AML Acquire() operator
638 * method to acquire a mutex, and a different method to release it, as long as
/freebsd/sys/contrib/ck/include/
H A Dck_pflock.h89 /* Acquire ownership of write-phase. */ in ck_pflock_write_lock()
95 * Acquire ticket on read-side in order to allow them in ck_pflock_write_lock()
137 /* Acquire semantics with respect to readers. */ in ck_pflock_read_lock()
/freebsd/sys/dev/sound/pcm/
H A Dsound.h271 * For PCM_[WAIT | ACQUIRE | RELEASE], be sure to surround these
290 panic("%s(%d): [PCM ACQUIRE] Mutex not owned!", \
293 panic("%s(%d): [PCM ACQUIRE] " \
294 "Trying to acquire BUSY cv!", __func__, __LINE__); \
313 panic("%s(%d): [PCM ACQUIRE QUICK] Mutex owned!", \
385 ("%s(%d): [PCM ACQUIRE] Trying to acquire BUSY cv!", \
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_mad_pool.c86 First, acquire a mad wrapper from the mad wrapper pool. in osm_mad_pool_get()
95 Next, acquire a wire mad of the specified size. in osm_mad_pool_get()
128 First, acquire a mad wrapper from the mad wrapper pool. in osm_mad_pool_get_wrapper()

12345678910>>...32