| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | cgrp_kfunc_failure.c | 35 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 …]
|
| H A D | task_kfunc_success.c | 41 struct task_struct *acquired = NULL; in test_acquire_release() local 57 acquired = bpf_task_acquire(task); in test_acquire_release() 58 if (acquired) in test_acquire_release() 59 bpf_task_release(acquired); in test_acquire_release() 69 struct task_struct *acquired = NULL; in BPF_PROG() local 73 acquired = bpf_task_acquire___one(task); in BPF_PROG() 79 acquired = bpf_task_acquire___two(task, &fake_ctx); in BPF_PROG() 84 acquired = bpf_task_acquire___three(&fake_ctx); in BPF_PROG() 89 if (acquired) in BPF_PROG() 90 bpf_task_release(acquired); in BPF_PROG() [all …]
|
| H A D | verifier_vfs_reject.c | 19 struct file *acquired; in BPF_PROG() local 22 acquired = bpf_get_task_exe_file(NULL); in BPF_PROG() 23 if (!acquired) in BPF_PROG() 26 bpf_put_file(acquired); in BPF_PROG() 35 struct file *acquired; in BPF_PROG() local 40 acquired = bpf_get_task_exe_file(task); in BPF_PROG() 41 if (!acquired) in BPF_PROG() 44 bpf_put_file(acquired); in BPF_PROG() 52 struct file *acquired; in BPF_PROG() local 60 acquired = bpf_get_task_exe_file(parent); in BPF_PROG() [all …]
|
| H A D | verifier_vfs_accept.c | 18 struct file *acquired; in BPF_PROG() local 20 acquired = bpf_get_task_exe_file(bpf_get_current_task_btf()); in BPF_PROG() 21 if (!acquired) in BPF_PROG() 24 bpf_put_file(acquired); in BPF_PROG() 32 struct file *acquired; in BPF_PROG() local 34 acquired = bpf_get_task_exe_file(bpf_get_current_task_btf()); in BPF_PROG() 35 if (!acquired) in BPF_PROG() 38 bpf_put_file(acquired); in BPF_PROG() 47 struct file *acquired; in BPF_PROG() local 49 acquired = bpf_get_task_exe_file(task); in BPF_PROG() [all …]
|
| H A D | test_task_under_cgroup.c | 24 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 D | cgrp_kfunc_common.h | 46 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 D | cgrp_kfunc_success.c | 35 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/kernel/locking/ |
| H A D | ww_mutex.h | 208 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() 331 if (ww_ctx->acquired > 0 && __ww_ctx_less(hold_ctx, ww_ctx)) { in __ww_mutex_wound() 439 if (ww_ctx->acquired > 0) { in __ww_mutex_kill() 472 if (ctx->acquired == 0) in __ww_mutex_check_kill() 588 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in __ww_mutex_unlock() 590 if (lock->ctx->acquired > 0) in __ww_mutex_unlock() 591 lock->ctx->acquired--; in __ww_mutex_unlock()
|
| H A D | ww_rt_mutex.c | 24 if (ww_ctx->acquired == 0) in ww_mutex_trylock() 56 if (ww_ctx->acquired == 0) in __ww_rt_mutex_lock()
|
| /linux/drivers/reset/ |
| H A D | core.c | 56 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/drivers/gpu/drm/radeon/ |
| H A D | radeon_agp.c | 169 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/include/linux/ |
| H A D | ww_mutex.h | 58 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/drivers/acpi/acpica/ |
| H A D | evglock.c | 178 u8 acquired = FALSE; in acpi_ev_acquire_global_lock() local 221 ACPI_ACQUIRE_GLOBAL_LOCK(acpi_gbl_FACS, acquired); in acpi_ev_acquire_global_lock() 222 if (acquired) { in acpi_ev_acquire_global_lock()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
| H A D | agp.c | 46 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/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | outp.c | 95 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/include/acpi/platform/ |
| H A D | acenv.h | 248 #define ACPI_ACQUIRE_GLOBAL_LOCK(Glptr, acquired) acquired = 1 argument
|
| /linux/Documentation/locking/ |
| H A D | ww-mutex-design.rst | 65 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
|
| H A D | lockdep-design.rst | 78 '.' 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/tools/perf/Documentation/ |
| H A D | perf-lock.txt | 70 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/Documentation/sound/cards/ |
| H A D | img-spdif-in.rst | 39 acquired 49 This control is used to change the threshold at which a lock is acquired.
|
| /linux/tools/memory-model/litmus-tests/ |
| H A D | MP+polockonce+poacquiresilsil.litmus | 9 * the smp_load_acquire() executed before the lock was acquired (loosely
|
| H A D | MP+polockmbonce+poacquiresilsil.litmus | 10 * executed before the lock was acquired (loosely speaking).
|
| /linux/Documentation/mm/ |
| H A D | process_addrs.rst | 46 which locks at a process address space granularity which can be acquired via 54 you **must** have already acquired an :c:func:`!mmap_write_lock`. 375 read lock suffices - we assert only that at least a read lock has been acquired. 379 functionality must ensure that any additionally required locks are acquired in 402 the **order** in which locks are acquired and released becomes very important. 451 ->invalidate_lock (acquired by fs in truncate path) 643 acquired in :c:func:`!__p4d_alloc`, :c:func:`!__pud_alloc` and 652 physical page metadata in the form of a :c:struct:`!struct ptdesc`, acquired by 657 PTE page table lock must be acquired whenever we want stable and exclusive 694 be acquired, so we can ensure this is prevented while the PTE lock is held. [all …]
|
| /linux/Documentation/RCU/ |
| H A D | UP.rst | 125 Any lock that is acquired within an RCU callback must be acquired 127 For example, if "mylock" is acquired by an RCU callback, then
|
| /linux/arch/arm/boot/dts/gemini/ |
| H A D | gemini-sl93512r.dts | 5 * "Gemini324 EV-Board" before Storm acquired Storlink Semiconductor. 6 * The series were later acquired by Cortina Systems.
|