Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
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 …]
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 …]
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 …]
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
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()
50 if (!acquired) in BPF_PROG()
[all …]
A Dverifier_vfs_reject.c19 struct file *acquired; in BPF_PROG() local
23 if (!acquired) in BPF_PROG()
26 bpf_put_file(acquired); in BPF_PROG()
35 struct file *acquired; in BPF_PROG() local
41 if (!acquired) in BPF_PROG()
44 bpf_put_file(acquired); in BPF_PROG()
52 struct file *acquired; in BPF_PROG() local
61 if (!acquired) in BPF_PROG()
64 bpf_put_file(acquired); in BPF_PROG()
72 struct file *acquired; in BPF_PROG() local
[all …]
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()
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()
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()
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()
/tools/memory-model/litmus-tests/
A DMP+polockmbonce+poacquiresilsil.litmus10 * executed before the lock was acquired (loosely speaking).
A DMP+polockonce+poacquiresilsil.litmus9 * the smp_load_acquire() executed before the lock was acquired (loosely
/tools/perf/Documentation/
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)
/tools/memory-model/Documentation/
A Dlocking.txt186 never acquired the lock, and thus did not fully benefit from the lock's
267 Then the "exists" clause checks to see if CPU1() acquired its lock first,
A Drecipes.txt70 has acquired a given lock sees any changes previously seen or made by any
160 CPU2() never acquired the lock, and thus did not benefit from the
A Daccess-marking.txt447 global_lock is acquired global_flag must be false. The acquisition of
A Dlitmus-tests.txt563 acquired. Thus, the bogus executions that would execute the critical
/tools/perf/
A Dbuiltin-lock.c277 DEF_KEY_LOCK(acquired, "acquired", nr_acquired, 10),

Completed in 29 milliseconds