Documented in 1 files:
Defined in 7 files as a prototype:
- tools/sched_ext/include/scx/common.bpf.h, line 414 (as a prototype)
- tools/testing/selftests/bpf/progs/rcu_read_lock.c, line 37 (as a prototype)
- tools/testing/selftests/bpf/progs/task_kfunc_common.h, line 35 (as a prototype)
- tools/testing/selftests/bpf/progs/task_kfunc_success.c, line 22 (as a prototype)
- tools/testing/selftests/bpf/progs/test_ksyms_weak.c, line 23 (as a prototype)
- tools/testing/selftests/bpf/progs/test_task_under_cgroup.c, line 13 (as a prototype)
- tools/testing/selftests/bpf/progs/verifier_global_ptr_args.c, line 12 (as a prototype)
Defined in 1 files as a function:
Referenced in 10 files:
- kernel/bpf/helpers.c
- tools/sched_ext/include/scx/common.bpf.h, line 367
- tools/testing/selftests/bpf/progs/rcu_read_lock.c, line 173
- tools/testing/selftests/bpf/progs/task_kfunc_common.h, line 78
- tools/testing/selftests/bpf/progs/task_kfunc_failure.c
- tools/testing/selftests/bpf/progs/task_kfunc_success.c
- tools/testing/selftests/bpf/progs/test_ksyms_weak.c
- tools/testing/selftests/bpf/progs/test_task_under_cgroup.c, line 29
- tools/testing/selftests/bpf/progs/verifier_global_ptr_args.c
- tools/testing/selftests/bpf/progs/verifier_kfunc_prog_types.c, line 28
Smatch caller information:
kernel/bpf/helpers.c bpf_task_from_pid() -> bpf_task_acquire()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-u64max |
| DATA_SOURCE | 0 | p | r find_task_by_pid_ns |
| LOCK2 | rcu_read |
kernel/bpf/helpers.c bpf_task_from_vpid() -> bpf_task_acquire()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-u64max |
| DATA_SOURCE | 0 | p | r find_task_by_vpid |
| LOCK2 | rcu_read |
kernel/bpf/helpers.c bpf_task_work_schedule() -> bpf_task_acquire()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $0 |