Home
last modified time | relevance | path

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

12345678910>>...20

/linux/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_failure.c35 struct task_struct *acquired; in BPF_PROG() local
43 acquired = bpf_task_acquire(v->task); in BPF_PROG()
44 if (!acquired) in BPF_PROG()
47 bpf_task_release(acquired); in BPF_PROG()
56 struct task_struct *acquired, *stack_task = (struct task_struct *)&clone_flags; in BPF_PROG() local
59 acquired = bpf_task_acquire((struct task_struct *)&stack_task); in BPF_PROG()
60 if (!acquired) in BPF_PROG()
63 bpf_task_release(acquired); in BPF_PROG()
72 struct task_struct *acquired; in BPF_PROG() local
75 acquired = bpf_task_acquire(task); in BPF_PROG()
[all …]
H A Dtask_kfunc_success.c42 struct task_struct *acquired = NULL; in test_acquire_release() local
58 acquired = bpf_task_acquire(task); in test_acquire_release()
59 if (acquired) in test_acquire_release()
60 bpf_task_release(acquired); in test_acquire_release()
70 struct task_struct *acquired = NULL; in BPF_PROG() local
74 acquired = bpf_task_acquire___one(task); in BPF_PROG()
80 acquired = bpf_task_acquire___two(task, &fake_ctx); in BPF_PROG()
85 acquired = bpf_task_acquire___three(&fake_ctx); in BPF_PROG()
90 if (acquired) in BPF_PROG()
91 bpf_task_release(acquired); in BPF_PROG()
[all …]
H A 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 …]
H A Dverifier_vfs_accept.c18 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 Dverifier_vfs_reject.c19 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 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.h60 struct task_struct *acquired, *old; in tasks_kfunc_map_insert() local
78 acquired = bpf_task_acquire(p); in tasks_kfunc_map_insert()
79 if (!acquired) in tasks_kfunc_map_insert()
82 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/include/linux/
H A Dlocal_lock_internal.h28 u8 acquired; in context_lock_struct() local
117 lockdep_assert(__tl->acquired == 0); \
118 WRITE_ONCE(__tl->acquired, 1); \
151 if (READ_ONCE(__tl->acquired)) { \
155 WRITE_ONCE(__tl->acquired, 1); \
168 if (READ_ONCE(__tl->acquired)) { \
172 WRITE_ONCE(__tl->acquired, 1); \
180 #define __local_lock_is_locked(lock) READ_ONCE(this_cpu_ptr(lock)->acquired)
192 lockdep_assert(__tl->acquired == 1); \
193 WRITE_ONCE(__tl->acquired, 0); \
/linux/drivers/reset/
H A Dcore.c47 * @acquired: Only one reset_control may be acquired for a given rcdev and id.
62 bool acquired; member
274 if (!rstc->acquired) in reset_control_array_rearm()
401 if (!rstc->acquired) in reset_control_reset()
469 if (!rstc->acquired) in reset_control_rearm()
537 if (!rstc->acquired) { in reset_control_assert()
538 WARN(1, "reset %s (ID: %u) is not acquired\n", in reset_control_assert()
615 if (!rstc->acquired) { in reset_control_deassert()
616 WARN(1, "reset %s (ID: %u) is not acquired\n", in reset_control_deassert()
700 * that exclusive resets are requested as acquired by default. In order for a
[all …]
/linux/tools/perf/pmu-events/arch/x86/snowridgex/
H A Duncore-interconnect.json731 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0",
737 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD cr…
742 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1",
748 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD cr…
753 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2",
759 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD cr…
764 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3",
770 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD cr…
775 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4",
781 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD cr…
[all …]
H A Duncore-cache.json3 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0",
9 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD cr…
14 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1",
20 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD cr…
25 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2",
31 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD cr…
36 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3",
42 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD cr…
47 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4",
53 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD cr…
[all …]
H A Duncore-io.json5203 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0",
5209 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD cr…
5214 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1",
5220 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD cr…
5225 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2",
5231 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD cr…
5236 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3",
5242 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD cr…
5247 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4",
5253 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD cr…
[all …]
/linux/kernel/locking/
H A Dmcs_spinlock.h22 * lock is acquired. Additionally, some architectures such as
52 * If the lock has already been acquired, then this will proceed to spin
74 * Lock acquired, don't need to set node->locked to 1. Threads in mcs_spin_lock()
/linux/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
H A 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/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/drivers/net/ethernet/intel/e1000e/
H A Dphy.c285 * and storing the retrieved information in data. Release any acquired
311 * at the offset. Release any acquired semaphores before exiting.
335 * already acquired. Note, this function sets phy.addr to 1 so the caller
352 * @locked: semaphore has already been acquired or not
355 * and stores the retrieved information in data. Release any acquired
394 * Release the acquired semaphore before exiting.
408 * in data. Assumes semaphore already acquired.
420 * @locked: semaphore has already been acquired or not
423 * at the offset. Release any acquired semaphores before exiting.
459 * at the offset. Release any acquired semaphores before exiting.
[all …]
/linux/tools/perf/pmu-events/arch/x86/knightslanding/
H A Duncore-cache.json66 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 0",
75 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 1",
84 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 2",
93 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 3",
102 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 4",
111 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 5",
120 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 6",
129 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 7",
138 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 0-7",
147 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 8",
[all …]
/linux/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/tools/perf/pmu-events/arch/x86/icelakex/
H A Duncore-interconnect.json731 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0",
737 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD cr…
742 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1",
748 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD cr…
753 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2",
759 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD cr…
764 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3",
770 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD cr…
775 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4",
781 …blicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD cr…
[all …]
/linux/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/tools/perf/pmu-events/arch/x86/broadwellx/
H A Duncore-io.json48 "BriefDescription": "R2PCIe IIO Credit Acquired; DRS",
53 …"PublicDescription": "Counts the number of credits that are acquired in the R2PCIe agent for sendi…
58 "BriefDescription": "R2PCIe IIO Credit Acquired; NCB",
63 …"PublicDescription": "Counts the number of credits that are acquired in the R2PCIe agent for sendi…
68 "BriefDescription": "R2PCIe IIO Credit Acquired; NCS",
73 …"PublicDescription": "Counts the number of credits that are acquired in the R2PCIe agent for sendi…
418 "BriefDescription": "SBo0 Credits Acquired; For AD Ring",
423 "PublicDescription": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
428 "BriefDescription": "SBo0 Credits Acquired; For BL Ring",
433 "PublicDescription": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
/linux/tools/perf/pmu-events/arch/x86/haswellx/
H A Duncore-io.json48 "BriefDescription": "R2PCIe IIO Credit Acquired; DRS",
53 …"PublicDescription": "Counts the number of credits that are acquired in the R2PCIe agent for sendi…
58 "BriefDescription": "R2PCIe IIO Credit Acquired; NCB",
63 …"PublicDescription": "Counts the number of credits that are acquired in the R2PCIe agent for sendi…
68 "BriefDescription": "R2PCIe IIO Credit Acquired; NCS",
73 …"PublicDescription": "Counts the number of credits that are acquired in the R2PCIe agent for sendi…
388 "BriefDescription": "SBo0 Credits Acquired; For AD Ring",
393 "PublicDescription": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
398 "BriefDescription": "SBo0 Credits Acquired; For BL Ring",
403 "PublicDescription": "Number of Sbo 0 credits acquired in a given cycle, per ring.",

12345678910>>...20