Home
last modified time | relevance | path

Searched refs:acquired (Results 1 – 25 of 115) sorted by relevance

12345

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dcgrp_kfunc_failure.c35 struct cgroup *acquired; in BPF_PROG() local
43 acquired = bpf_cgroup_acquire(v->cgrp); in BPF_PROG()
44 if (acquired) in BPF_PROG()
45 bpf_cgroup_release(acquired); in BPF_PROG()
54 struct cgroup *acquired; in BPF_PROG() local
56 acquired = bpf_cgroup_acquire(cgrp); in BPF_PROG()
61 bpf_cgroup_release(acquired); in BPF_PROG()
70 struct cgroup *acquired, *stack_cgrp = (struct cgroup *)&path; in BPF_PROG() local
73 acquired = bpf_cgroup_acquire((struct cgroup *)&stack_cgrp); in BPF_PROG()
74 if (acquired) in BPF_PROG()
[all …]
Dtask_kfunc_failure.c34 struct task_struct *acquired; in BPF_PROG() local
42 acquired = bpf_task_acquire(v->task); in BPF_PROG()
43 if (!acquired) in BPF_PROG()
46 bpf_task_release(acquired); in BPF_PROG()
55 struct task_struct *acquired, *stack_task = (struct task_struct *)&clone_flags; in BPF_PROG() local
58 acquired = bpf_task_acquire((struct task_struct *)&stack_task); in BPF_PROG()
59 if (!acquired) in BPF_PROG()
62 bpf_task_release(acquired); in BPF_PROG()
71 struct task_struct *acquired; in BPF_PROG() local
74 acquired = bpf_task_acquire(task); in BPF_PROG()
[all …]
Dtask_kfunc_success.c40 struct task_struct *acquired = NULL; in test_acquire_release() local
56 acquired = bpf_task_acquire(task); in test_acquire_release()
57 if (acquired) in test_acquire_release()
58 bpf_task_release(acquired); in test_acquire_release()
68 struct task_struct *acquired = NULL; in BPF_PROG() local
72 acquired = bpf_task_acquire___one(task); in BPF_PROG()
78 acquired = bpf_task_acquire___two(task, &fake_ctx); in BPF_PROG()
83 acquired = bpf_task_acquire___three(&fake_ctx); in BPF_PROG()
88 if (acquired) in BPF_PROG()
89 bpf_task_release(acquired); in BPF_PROG()
[all …]
Dtest_task_under_cgroup.c24 struct task_struct *acquired; in BPF_PROG() local
29 acquired = bpf_task_acquire(task); in BPF_PROG()
30 if (!acquired) in BPF_PROG()
33 if (local_pid == acquired->tgid) in BPF_PROG()
40 if (bpf_task_under_cgroup(acquired, cgrp)) in BPF_PROG()
41 remote_pid = acquired->tgid; in BPF_PROG()
46 bpf_task_release(acquired); in BPF_PROG()
Dtask_kfunc_common.h45 struct task_struct *acquired, *old; in tasks_kfunc_map_insert() local
63 acquired = bpf_task_acquire(p); in tasks_kfunc_map_insert()
64 if (!acquired) in tasks_kfunc_map_insert()
67 old = bpf_kptr_xchg(&v->task, acquired); in tasks_kfunc_map_insert()
Dcgrp_kfunc_common.h46 struct cgroup *acquired, *old; in cgrps_kfunc_map_insert() local
64 acquired = bpf_cgroup_acquire(cgrp); in cgrps_kfunc_map_insert()
65 if (!acquired) { in cgrps_kfunc_map_insert()
70 old = bpf_kptr_xchg(&v->cgrp, acquired); in cgrps_kfunc_map_insert()
Dcgrp_kfunc_success.c35 struct cgroup *acquired; in BPF_PROG() local
40 acquired = bpf_cgroup_acquire(cgrp); in BPF_PROG()
41 if (!acquired) in BPF_PROG()
44 bpf_cgroup_release(acquired); in BPF_PROG()
/linux-6.6.21/drivers/reset/
Dcore.c47 bool acquired; member
230 if (!rstc->acquired) in reset_control_array_rearm()
350 if (!rstc->acquired) in reset_control_reset()
418 if (!rstc->acquired) in reset_control_rearm()
478 if (!rstc->acquired) { in reset_control_assert()
548 if (!rstc->acquired) { in reset_control_deassert()
655 if (rstc->acquired) { in reset_control_acquire()
662 if (rc->acquired) { in reset_control_acquire()
669 rstc->acquired = true; in reset_control_acquire()
724 rstc->acquired = false; in reset_control_release()
[all …]
/linux-6.6.21/drivers/gpu/drm/
Ddrm_agpsupport.c63 if (!dev->agp || !dev->agp->acquired) in drm_legacy_agp_info()
109 if (dev->agp->acquired) in drm_legacy_agp_acquire()
114 dev->agp->acquired = 1; in drm_legacy_agp_acquire()
143 if (!dev->agp || !dev->agp->acquired) in drm_legacy_agp_release()
146 dev->agp->acquired = 0; in drm_legacy_agp_release()
169 if (!dev->agp || !dev->agp->acquired) in drm_legacy_agp_enable()
202 if (!dev->agp || !dev->agp->acquired) in drm_legacy_agp_alloc()
272 if (!dev->agp || !dev->agp->acquired) in drm_legacy_agp_unbind()
308 if (!dev->agp || !dev->agp->acquired) in drm_legacy_agp_bind()
347 if (!dev->agp || !dev->agp->acquired) in drm_legacy_agp_free()
[all …]
/linux-6.6.21/include/linux/
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 …]
Dww_mutex.h58 unsigned int acquired; member
137 ctx->acquired = 0; in ww_acquire_init()
191 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
201 ctx->acquired = ~0U; in ww_acquire_fini()
/linux-6.6.21/kernel/locking/
Dww_mutex.h208 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); in ww_mutex_lock_acquired()
217 ww_ctx->acquired++; in ww_mutex_lock_acquired()
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()
415 if (ww_ctx->acquired > 0) { in __ww_mutex_kill()
448 if (ctx->acquired == 0) in __ww_mutex_check_kill()
563 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in __ww_mutex_unlock()
565 if (lock->ctx->acquired > 0) in __ww_mutex_unlock()
566 lock->ctx->acquired--; in __ww_mutex_unlock()
Dww_rt_mutex.c24 if (ww_ctx->acquired == 0) in ww_mutex_trylock()
56 if (ww_ctx->acquired == 0) in __ww_rt_mutex_lock()
Dmutex.c322 if (ww_ctx->acquired > 0 && READ_ONCE(ww->ctx)) in ww_mutex_spin_on_owner()
594 if (ww_ctx->acquired == 0) in __mutex_lock_common()
660 goto acquired; in __mutex_lock_common()
702 acquired: in __mutex_lock_common()
782 if (ww_ctx->acquired == 0) in ww_mutex_trylock()
873 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock()
889 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock_interruptible()
/linux-6.6.21/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-6.6.21/drivers/acpi/acpica/
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()
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dagp.c46 if (pci->agp.acquired) { in nvkm_agp_fini()
48 pci->agp.acquired = false; in nvkm_agp_fini()
93 pci->agp.acquired = true; in nvkm_agp_init()
/linux-6.6.21/Documentation/devicetree/bindings/gnss/
Dsirfstar.yaml15 2004 and used in a lot of dedicated GPS devices. In 2009 SiRF was acquired
17 acquired by Samsung, while some products remained with CSR. In 2014 CSR
18 was acquired by Qualcomm who still sell some of the SiRF products.
/linux-6.6.21/include/acpi/platform/
Dacenv.h248 #define ACPI_ACQUIRE_GLOBAL_LOCK(Glptr, acquired) acquired = 1 argument
/linux-6.6.21/tools/perf/Documentation/
Dperf-lock.txt70 Sorting key. Possible values: acquired (default), contended,
76 customize that using this. Possible values: acquired, contended,
87 $ perf lock report -t -F acquired,contended,avg_wait
89 Name acquired contended avg wait (ns)
/linux-6.6.21/Documentation/sound/cards/
Dimg-spdif-in.rst39 acquired
49 This control is used to change the threshold at which a lock is acquired.
/linux-6.6.21/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-6.6.21/Documentation/filesystems/
Ddirectory-locking.rst85 the order until we had acquired all locks).
87 (3) locks on non-directory objects are acquired only after locks on
88 directory objects, and are acquired in inode pointer order.
122 to (2) the order hadn't changed since we had acquired filesystem lock.
136 we had acquired filesystem lock and rename() would fail with -ELOOP in that
/linux-6.6.21/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

12345