Home
last modified time | relevance | path

Searched full:acquired (Results 1 – 25 of 591) sorted by relevance

12345678910>>...24

/Linux-v5.15/drivers/gpu/drm/
Ddrm_agpsupport.c56 * Verifies the AGP device has been initialized and acquired and fills in the
63 if (!dev->agp || !dev->agp->acquired) in drm_legacy_agp_info()
100 * Verifies the AGP device hasn't been acquired before and calls
109 if (dev->agp->acquired) in drm_legacy_agp_acquire()
114 dev->agp->acquired = 1; in drm_legacy_agp_acquire()
124 * Verifies the AGP device hasn't been acquired before and calls
139 * Verifies the AGP device has been acquired and calls \c agp_backend_release.
143 if (!dev->agp || !dev->agp->acquired) in drm_legacy_agp_release()
146 dev->agp->acquired = 0; in drm_legacy_agp_release()
160 * \param dev DRM device that has previously acquired AGP.
[all …]
/Linux-v5.15/include/linux/
Dww_mutex.h60 unsigned int acquired; member
139 ctx->acquired = 0; in ww_acquire_init()
184 * Releases a w/w acquire context. This must be called _after_ all acquired w/w
193 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
203 ctx->acquired = ~0U; in ww_acquire_fini()
209 * @lock: the mutex to be acquired
219 * returning -EALREADY. Returns 0 if the mutex was successfully acquired.
228 * acquired it. The task may not exit without first unlocking the mutex. Also,
234 * A mutex acquired with this function must be released with ww_mutex_unlock.
240 * @lock: the mutex to be acquired
[all …]
Dreset.h46 bool optional, bool acquired);
49 bool optional, bool acquired);
53 bool shared, bool optional, bool acquired);
59 bool optional, bool acquired);
62 bool shared, bool optional, bool acquired);
68 bool acquired);
120 bool optional, bool acquired) in __of_reset_control_get() argument
128 bool acquired) in __reset_control_get() argument
165 bool shared, bool optional, bool acquired) in __reset_control_bulk_get() argument
178 bool acquired) in __devm_reset_control_get() argument
[all …]
/Linux-v5.15/drivers/reset/
Dcore.c33 * @acquired: Only one reset_control may be acquired for a given rcdev and id.
46 bool acquired; member
229 if (!rstc->acquired) in reset_control_array_rearm()
349 if (!rstc->acquired) in reset_control_reset()
417 if (!rstc->acquired) in reset_control_rearm()
477 if (!rstc->acquired) { in reset_control_assert()
478 WARN(1, "reset %s (ID: %u) is not acquired\n", in reset_control_assert()
547 if (!rstc->acquired) { in reset_control_deassert()
548 WARN(1, "reset %s (ID: %u) is not acquired\n", in reset_control_deassert()
624 * that exclusive resets are requested as acquired by default. In order for a
[all …]
/Linux-v5.15/kernel/locking/
Dsemaphore.c7 * A counting semaphore may be acquired 'n' times before sleeping.
44 * @sem: the semaphore to be acquired
69 * @sem: the semaphore to be acquired
74 * If the semaphore is successfully acquired, this function returns 0.
95 * @sem: the semaphore to be acquired
100 * -EINTR. If the semaphore is successfully acquired, this function returns
122 * @sem: the semaphore to be acquired
125 * been acquired successfully or 1 if it cannot be acquired.
150 * @sem: the semaphore to be acquired
156 * this function returns -ETIME. It returns 0 if the semaphore was acquired.
Dww_mutex.h177 * Associate the ww_mutex @ww with the context @ww_ctx under which we acquired
208 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); in ww_mutex_lock_acquired()
217 ww_ctx->acquired++; in ww_mutex_lock_acquired()
272 * Among waiters with context, only the first one can have other locks acquired
273 * already (ctx->acquired > 0), because __ww_mutex_add_waiter() and
283 if (waiter->ww_ctx->acquired > 0 && __ww_ctx_less(waiter->ww_ctx, ww_ctx)) { in __ww_mutex_die()
324 if (ww_ctx->acquired > 0 && __ww_ctx_less(hold_ctx, ww_ctx)) { in __ww_mutex_wound()
343 * We just acquired @lock under @ww_ctx, if there are more important contexts
415 if (ww_ctx->acquired > 0) { in __ww_mutex_kill()
448 if (ctx->acquired == 0) in __ww_mutex_check_kill()
[all …]
Dlock_events_list.h59 LOCK_EVENT(rwsem_opt_lock) /* # of opt-acquired write locks */
62 LOCK_EVENT(rwsem_rlock) /* # of read locks acquired */
64 LOCK_EVENT(rwsem_rlock_fast) /* # of fast read locks acquired */
67 LOCK_EVENT(rwsem_wlock) /* # of write locks acquired */
Dmutex.c256 * @lock: the mutex to be acquired
262 * acquired it. Recursive locking is not allowed. The task
316 if (ww_ctx->acquired > 0 && READ_ONCE(ww->ctx)) in ww_mutex_spin_on_owner()
587 if (ww_ctx->acquired == 0) in __mutex_lock_common()
650 goto acquired; in __mutex_lock_common()
686 acquired: in __mutex_lock_common()
817 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock()
833 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock_interruptible()
911 * @lock: The mutex to be acquired.
918 * Return: 0 if the lock was successfully acquired or %-EINTR if a
[all …]
Dmcs_spinlock.h20 int locked; /* 1 if lock acquired */
28 * lock is acquired. Additionally, some architectures such as
60 * If the lock has already been acquired, then this will proceed to spin
82 * Lock acquired, don't need to set node->locked to 1. Threads in mcs_spin_lock()
/Linux-v5.15/Documentation/filesystems/
Ddirectory-locking.rst82 the order until we had acquired all locks).
84 (3) locks on non-directory objects are acquired only after locks on
85 directory objects, and are acquired in inode pointer order.
119 to (2) the order hadn't changed since we had acquired filesystem lock.
133 we had acquired filesystem lock and rename() would fail with -ELOOP in that
/Linux-v5.15/Documentation/locking/
Dww-mutex-design.rst65 acquired when starting the lock acquisition. This ticket is stored in the
79 killed its transaction after having dropped all already acquired locks.
84 contending lock (after having dropped all other already acquired locks) will
85 work correctly. After all if no other ww mutex has been acquired yet there's
94 - When full debugging is enabled ww_mutex_lock_slow checks that all acquired
97 slowpath until the contended lock can be acquired).
262 objects acquired with the fixed list. But the w/w mutex debug checks will catch
347 other locks acquired already (ctx->acquired > 0). Note that this waiter
Dlockdep-design.rst78 '.' acquired while irqs disabled and not in irq context
79 '-' acquired in irq context
80 '+' acquired with irqs enabled
81 '?' acquired in irq context with irqs enabled.
89 || \--> acquired in softirq context
91 \----> acquired in hardirq context
94 For a given STATE, whether the lock is ever acquired in that STATE
118 is irq-unsafe means it was ever acquired with irq enabled.
128 cannot be ever acquired with irq enabled (irq-unsafe). Otherwise, a
130 was acquired but before released, if the context is interrupted this
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/
Dintel_wakeref.h77 * Returns: 0 if the wakeref was acquired successfully, or a negative error
113 * Returns: true if the wakeref was acquired, false otherwise.
177 * Locks the wakeref to prevent it being acquired or released. New users
179 * cannot be acquired or released.
192 * Releases a previously acquired intel_wakeref_lock().
/Linux-v5.15/drivers/acpi/acpica/
Dexmutex.c55 * This handles the case where several mutexes have been acquired in acpi_ex_unlink_mutex()
166 /* Acquired the mutex: update mutex object */ in acpi_ex_acquire_mutex_object()
253 "Acquired: Mutex SyncLevel %u, Thread SyncLevel %u, Depth %u\n", in acpi_ex_acquire_mutex()
269 * DESCRIPTION: Release a previously acquired Mutex, low level interface.
334 * DESCRIPTION: Release a previously acquired Mutex.
354 /* The mutex must have been previously acquired in order to release it */ in acpi_ex_release_mutex()
358 "Cannot release Mutex [%4.4s], not acquired", in acpi_ex_release_mutex()
379 "Thread %u cannot release Mutex [%4.4s] acquired by thread %u", in acpi_ex_release_mutex()
404 * Get the previous sync_level from the head of the acquired mutex list. in acpi_ex_release_mutex()
406 * acquired, but are not released in reverse order. in acpi_ex_release_mutex()
Devglock.c174 u8 acquired = FALSE; in acpi_ev_acquire_global_lock() local
217 ACPI_ACQUIRE_GLOBAL_LOCK(acpi_gbl_FACS, acquired); in acpi_ev_acquire_global_lock()
218 if (acquired) { in acpi_ev_acquire_global_lock()
221 "Acquired hardware Global Lock\n")); in acpi_ev_acquire_global_lock()
273 /* Lock must be already acquired */ in acpi_ev_release_global_lock()
277 "Cannot release the ACPI Global Lock, it has not been acquired")); in acpi_ev_release_global_lock()
Dutmutex.c179 * PARAMETERS: mutex_ID - ID of the mutex to be acquired
215 "Mutex [%s] already acquired by this thread [%u]", in acpi_ut_acquire_mutex()
245 "Thread %u acquired Mutex [%s]\n", in acpi_ut_acquire_mutex()
286 * Mutex must be acquired in order to release it! in acpi_ut_release_mutex()
290 "Mutex [%s] (0x%X) is not acquired, cannot release", in acpi_ut_release_mutex()
/Linux-v5.15/drivers/net/ethernet/intel/e1000e/
Dphy.c243 * and storing the retrieved information in data. Release any acquired
269 * at the offset. Release any acquired semaphores before exiting.
293 * already acquired. Note, this function sets phy.addr to 1 so the caller
310 * @locked: semaphore has already been acquired or not
313 * and stores the retrieved information in data. Release any acquired
352 * Release the acquired semaphore before exiting.
366 * in data. Assumes semaphore already acquired.
378 * @locked: semaphore has already been acquired or not
381 * at the offset. Release any acquired semaphores before exiting.
417 * at the offset. Release any acquired semaphores before exiting.
[all …]
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_agp.c169 if (rdev->agp->acquired) in radeon_agp_head_acquire()
174 rdev->agp->acquired = 1; in radeon_agp_head_acquire()
180 if (!rdev->agp || !rdev->agp->acquired) in radeon_agp_head_release()
183 rdev->agp->acquired = 0; in radeon_agp_head_release()
189 if (!rdev->agp || !rdev->agp->acquired) in radeon_agp_head_enable()
202 if (!rdev->agp || !rdev->agp->acquired) in radeon_agp_head_info()
369 if (rdev->agp && rdev->agp->acquired) { in radeon_agp_fini()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Doutp.c93 OUTP_TRACE(outp, "release %02x &= %02x %p", outp->acquired, ~user, ior); in nvkm_outp_release()
95 outp->acquired &= ~user; in nvkm_outp_release()
96 if (!outp->acquired) { in nvkm_outp_release()
111 outp->acquired |= user; in nvkm_outp_acquire_ior()
149 OUTP_TRACE(outp, "acquire %02x |= %02x %p", outp->acquired, user, ior); in nvkm_outp_acquire()
151 outp->acquired |= user; in nvkm_outp_acquire()
/Linux-v5.15/tools/perf/
Dbuiltin-lock.c81 * it can be acquired, contended or release.
100 * 1) acquire -> acquired -> release
101 * 2) acquire -> contended -> acquired -> release
239 * e.g. nr_acquired -> acquired, wait_time_total -> wait_total
245 static const char *sort_key = "acquired";
254 DEF_KEY_LOCK(acquired, nr_acquired),
693 { "acquire", "acquired", "contended", "release" }; in print_bad_events()
711 pr_info("%10s ", "acquired"); in print_result()
969 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
970 "key for sorting (acquired / contended / avg_wait / wait_total / wait_max / wait_min)"), in cmd_lock()
/Linux-v5.15/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.h110 * @brief qed_cxt_tables_alloc - Allocate ILT shadow, Searcher T2, acquired map
119 * @brief qed_cxt_mngr_setup - Reset the acquired CIDs
313 /* Acquired CIDs */
314 struct qed_cid_acquired_map acquired[MAX_CONN_TYPES]; member
/Linux-v5.15/Documentation/sound/cards/
Dimg-spdif-in.rst39 acquired
49 This control is used to change the threshold at which a lock is acquired.
/Linux-v5.15/Documentation/RCU/
DUP.rst116 Any lock that is acquired within an RCU callback must be acquired
118 For example, if "mylock" is acquired by an RCU callback, then
/Linux-v5.15/Documentation/devicetree/bindings/arm/
Dgemini.yaml16 Storm Semiconductor was acquired by Cortina Systems in 2008 and the SoC was
18 in turn acquired by Inphi, who seem to have discontinued this product family.
/Linux-v5.15/drivers/cpuidle/
Dgovernor.c29 * Must be called with cpuidle_lock acquired.
45 * Must be called with cpuidle_lock acquired.

12345678910>>...24