Home
last modified time | relevance | path

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

123456

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_failure.c34 struct task_struct *acquired; in BPF_PROG() local
43 if (!acquired) in BPF_PROG()
46 bpf_task_release(acquired); in BPF_PROG()
59 if (!acquired) in BPF_PROG()
62 bpf_task_release(acquired); in BPF_PROG()
75 if (!acquired) in BPF_PROG()
95 if (acquired) in BPF_PROG()
110 if (!acquired) in BPF_PROG()
126 __sink(acquired); in BPF_PROG()
215 if (!acquired) in BPF_PROG()
[all …]
H A Dcgrp_kfunc_failure.c35 struct cgroup *acquired; in BPF_PROG() local
44 if (acquired) in BPF_PROG()
54 struct cgroup *acquired; in BPF_PROG() local
74 if (acquired) in BPF_PROG()
84 struct cgroup *acquired; in BPF_PROG() local
88 if (acquired) in BPF_PROG()
98 struct cgroup *acquired; in BPF_PROG() local
102 if (acquired) in BPF_PROG()
116 if (acquired) in BPF_PROG()
131 __sink(acquired); in BPF_PROG()
[all …]
H A Dtask_kfunc_success.c58 if (acquired) in test_acquire_release()
59 bpf_task_release(acquired); in test_acquire_release()
89 if (acquired) in BPF_PROG()
90 bpf_task_release(acquired); in BPF_PROG()
196 if (!acquired) { in BPF_PROG()
204 acquired = bpf_kptr_xchg(&local->task, acquired); in BPF_PROG()
205 if (acquired) { in BPF_PROG()
275 if (acquired) in BPF_PROG()
288 if (!acquired) { in lookup_compare_pid()
323 if (acquired) { in is_pid_lookup_valid()
[all …]
H A Dverifier_vfs_accept.c17 struct file *acquired; in BPF_PROG() local
19 acquired = bpf_get_task_exe_file(bpf_get_current_task_btf()); in BPF_PROG()
20 if (!acquired) in BPF_PROG()
23 bpf_put_file(acquired); in BPF_PROG()
31 struct file *acquired; in BPF_PROG() local
34 if (!acquired) in BPF_PROG()
37 bpf_put_file(acquired); in BPF_PROG()
46 struct file *acquired; in BPF_PROG() local
48 acquired = bpf_get_task_exe_file(task); in BPF_PROG()
49 if (!acquired) in BPF_PROG()
[all …]
H A Dverifier_vfs_reject.c18 struct file *acquired; in BPF_PROG() local
22 if (!acquired) in BPF_PROG()
25 bpf_put_file(acquired); in BPF_PROG()
34 struct file *acquired; in BPF_PROG() local
40 if (!acquired) in BPF_PROG()
43 bpf_put_file(acquired); in BPF_PROG()
51 struct file *acquired; in BPF_PROG() local
60 if (!acquired) in BPF_PROG()
63 bpf_put_file(acquired); in BPF_PROG()
71 struct file *acquired; in BPF_PROG() local
[all …]
H A 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()
H A 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()
H A Dtask_kfunc_common.h46 struct task_struct *acquired, *old; in tasks_kfunc_map_insert() local
64 acquired = bpf_task_acquire(p); in tasks_kfunc_map_insert()
65 if (!acquired) in tasks_kfunc_map_insert()
68 old = bpf_kptr_xchg(&v->task, acquired); in tasks_kfunc_map_insert()
H A 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.15/include/linux/
H A Dlocal_lock_internal.h21 u8 acquired; member
106 lockdep_assert(tl->acquired == 0); \
107 WRITE_ONCE(tl->acquired, 1); \
137 if (READ_ONCE(tl->acquired)) { \
141 WRITE_ONCE(tl->acquired, 1); \
154 if (READ_ONCE(tl->acquired)) { \
158 WRITE_ONCE(tl->acquired, 1); \
175 lockdep_assert(tl->acquired == 1); \
176 WRITE_ONCE(tl->acquired, 0); \
H A Dww_mutex.h58 unsigned int acquired; member
147 ctx->acquired = 0; in ww_acquire_init()
205 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
215 ctx->acquired = ~0U; in ww_acquire_fini()
/linux-6.15/kernel/locking/
H A 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()
325 if (ww_ctx->acquired > 0 && __ww_ctx_less(hold_ctx, ww_ctx)) { in __ww_mutex_wound()
423 if (ww_ctx->acquired > 0) { in __ww_mutex_kill()
456 if (ctx->acquired == 0) in __ww_mutex_check_kill()
572 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in __ww_mutex_unlock()
574 if (lock->ctx->acquired > 0) in __ww_mutex_unlock()
575 lock->ctx->acquired--; in __ww_mutex_unlock()
H A Dww_rt_mutex.c24 if (ww_ctx->acquired == 0) in ww_mutex_trylock()
56 if (ww_ctx->acquired == 0) in __ww_rt_mutex_lock()
H A Dmutex.c313 if (ww_ctx->acquired > 0 && READ_ONCE(ww->ctx)) in ww_mutex_spin_on_owner()
592 if (ww_ctx->acquired == 0) in __mutex_lock_common()
658 goto acquired; in __mutex_lock_common()
701 acquired: in __mutex_lock_common()
781 if (ww_ctx->acquired == 0) in ww_mutex_trylock()
872 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock()
888 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock_interruptible()
/linux-6.15/drivers/gpu/drm/radeon/
H A 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.15/drivers/reset/
H A Dcore.c57 bool acquired; member
256 if (!rstc->acquired) in reset_control_array_rearm()
376 if (!rstc->acquired) in reset_control_reset()
444 if (!rstc->acquired) in reset_control_rearm()
504 if (!rstc->acquired) { in reset_control_assert()
574 if (!rstc->acquired) { in reset_control_deassert()
681 if (rstc->acquired) { in reset_control_acquire()
688 if (rc->acquired) { in reset_control_acquire()
695 rstc->acquired = true; in reset_control_acquire()
750 rstc->acquired = false; in reset_control_release()
[all …]
/linux-6.15/drivers/acpi/acpica/
H A 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.15/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A 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.15/Documentation/devicetree/bindings/gnss/
H A 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.15/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Doutp.c95 OUTP_TRACE(outp, "release %02x &= %02x %p", outp->acquired, ~user, ior); in nvkm_outp_release_or()
97 outp->acquired &= ~user; in nvkm_outp_release_or()
98 if (!outp->acquired) { in nvkm_outp_release_or()
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_or()
151 outp->acquired |= user; in nvkm_outp_acquire_or()
/linux-6.15/include/acpi/platform/
H A Dacenv.h248 #define ACPI_ACQUIRE_GLOBAL_LOCK(Glptr, acquired) acquired = 1 argument
/linux-6.15/tools/perf/Documentation/
H A 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.15/Documentation/devicetree/bindings/arm/
H A 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.15/Documentation/sound/cards/
H A Dimg-spdif-in.rst39 acquired
49 This control is used to change the threshold at which a lock is acquired.
/linux-6.15/Documentation/locking/
H A 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

123456