/tools/testing/selftests/bpf/progs/ |
A D | task_kfunc_failure.c | 19 static struct __tasks_kfunc_map_value *insert_lookup_task(struct task_struct *task) in insert_lookup_task() 32 int BPF_PROG(task_kfunc_acquire_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() 53 int BPF_PROG(task_kfunc_acquire_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() 104 int BPF_PROG(task_kfunc_acquire_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() 133 int BPF_PROG(task_kfunc_xchg_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() 182 int BPF_PROG(task_kfunc_release_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() 194 int BPF_PROG(task_kfunc_release_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() 266 int BPF_PROG(task_kfunc_from_lsm_task_free, struct task_struct *task) in BPF_PROG() 281 int BPF_PROG(task_access_comm1, struct task_struct *task, u64 clone_flags) in BPF_PROG() 289 int BPF_PROG(task_access_comm2, struct task_struct *task, u64 clone_flags) in BPF_PROG() [all …]
|
A D | task_kfunc_success.c | 39 static int test_acquire_release(struct task_struct *task) in test_acquire_release() 67 int BPF_PROG(test_task_kfunc_flavor_relo, struct task_struct *task, u64 clone_flags) in BPF_PROG() 111 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG() 120 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() 129 int BPF_PROG(test_task_acquire_leave_in_map, struct task_struct *task, u64 clone_flags) in BPF_PROG() 144 int BPF_PROG(test_task_xchg_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 228 int BPF_PROG(test_task_map_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 266 int BPF_PROG(test_task_current_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 299 int BPF_PROG(test_task_from_pid_arg, struct task_struct *task, u64 clone_flags) in BPF_PROG() 309 int BPF_PROG(test_task_from_pid_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() [all …]
|
A D | cpumask_failure.c | 36 int BPF_PROG(test_alloc_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 49 int BPF_PROG(test_alloc_double_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 64 int BPF_PROG(test_acquire_wrong_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() 77 int BPF_PROG(test_mutate_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() 87 int BPF_PROG(test_insert_remove_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 111 int BPF_PROG(test_cpumask_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() 121 int BPF_PROG(test_global_mask_out_of_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 155 int BPF_PROG(test_global_mask_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() 208 int BPF_PROG(test_invalid_nested_array, struct task_struct *task, u64 clone_flags) in BPF_PROG() 228 int BPF_PROG(test_populate_invalid_destination, struct task_struct *task, u64 clone_flags) in BPF_PROG() [all …]
|
A D | cpumask_success.c | 139 int BPF_PROG(test_alloc_free_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() 155 int BPF_PROG(test_set_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 184 int BPF_PROG(test_setall_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 252 int BPF_PROG(test_firstand_nocpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 316 int BPF_PROG(test_and_or_xor, struct task_struct *task, u64 clone_flags) in BPF_PROG() 363 int BPF_PROG(test_intersects_subset, struct task_struct *task, u64 clone_flags) in BPF_PROG() 405 int BPF_PROG(test_copy_any_anyand, struct task_struct *task, u64 clone_flags) in BPF_PROG() 459 int BPF_PROG(test_insert_leave, struct task_struct *task, u64 clone_flags) in BPF_PROG() 504 int BPF_PROG(test_global_mask_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 709 int BPF_PROG(test_cpumask_weight, struct task_struct *task, u64 clone_flags) in BPF_PROG() [all …]
|
A D | rcu_read_lock.c | 33 struct task_struct *task; in get_cgroup_id() local 54 struct task_struct *task, *real_parent; in task_succ() local 83 struct task_struct *task, *real_parent; in no_lock() local 95 struct task_struct *task, *real_parent; in two_regions() local 114 struct task_struct *task, *real_parent; in non_sleepable_1() local 130 struct task_struct *task, *real_parent; in non_sleepable_2() local 177 struct task_struct *task; in miss_lock() local 191 struct task_struct *task; in miss_unlock() local 203 struct task_struct *task, *real_parent; in non_sleepable_rcu_mismatch() local 221 struct task_struct *task, *real_parent; in inproper_sleepable_helper() local [all …]
|
A D | uptr_failure.c | 21 struct task_struct *task; in uptr_write() local 38 struct task_struct *task; in uptr_write_nested() local 55 struct task_struct *task; in uptr_no_null_check() local 73 struct task_struct *task; in uptr_kptr_xchg() local
|
A D | find_vma.c | 23 static long check_vma(struct task_struct *task, struct vm_area_struct *vma, in check_vma() 40 struct task_struct *task = bpf_get_current_task_btf(); in handle_getpid() local 56 struct task_struct *task = bpf_get_current_task_btf(); in handle_pe() local
|
A D | cgrp_ls_sleepable.c | 59 struct task_struct *task; in cgrp1_no_rcu_lock() local 79 struct task_struct *task; in no_rcu_lock() local 93 struct task_struct *task; in yes_rcu_lock() local
|
A D | iters_css_task.c | 27 struct task_struct *task; in BPF_PROG() local 61 struct task_struct *task; in cgroup_id_printer() local 91 struct task_struct *task; in BPF_PROG() local
|
A D | struct_ops_refcounted_fail__global_subprog.c | 12 struct task_struct *task = (struct task_struct *)ctx[1]; in subprog_release() local 29 struct task_struct *task = (struct task_struct *)ctx[1]; in refcounted_fail__global_subprog() local
|
A D | percpu_alloc_cgrp_local_storage.c | 25 struct task_struct *task; in BPF_PROG() local 50 struct task_struct *task; in BPF_PROG() local 79 struct task_struct *task; in BPF_PROG() local
|
A D | find_vma_fail2.c | 12 static long write_task(struct task_struct *task, struct vm_area_struct *vma, in write_task() 24 struct task_struct *task = bpf_get_current_task_btf(); in handle_getpid() local
|
A D | find_vma_fail1.c | 13 static long write_vma(struct task_struct *task, struct vm_area_struct *vma, in write_vma() 25 struct task_struct *task = bpf_get_current_task_btf(); in handle_getpid() local
|
A D | nested_trust_success.c | 22 int BPF_PROG(test_read_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() 38 int BPF_PROG(test_nested_offset, struct task_struct *task, u64 clone_flags) in BPF_PROG()
|
A D | bpf_iter_task_stack.c | 16 struct task_struct *task = ctx->task; in dump_task_stack() local 44 struct task_struct *task = ctx->task; in get_task_user_stacks() local
|
A D | task_ls_recursion.c | 33 struct task_struct *task = bpf_get_current_task_btf(); in BPF_PROG() local 73 struct task_struct *task; in BPF_PROG() local
|
A D | task_local_storage.c | 27 struct task_struct *task; in BPF_PROG() local 48 struct task_struct *task; in BPF_PROG() local
|
A D | test_task_under_cgroup.c | 21 int BPF_PROG(tp_btf_run, struct task_struct *task, u64 clone_flags) in BPF_PROG() 55 struct task_struct *task; in BPF_PROG() local
|
A D | profiler.inc.h | 178 static INLINE void populate_ancestors(struct task_struct* task, in populate_ancestors() 250 struct task_struct* task, in populate_cgroup_info() 331 struct task_struct* task, in populate_var_metadata() 360 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in get_var_kill_data() local 561 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in BPF_KPROBE() local 626 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in raw_tracepoint__sched_process_exit() local 698 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in raw_tracepoint__sched_process_exec() local 787 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in kprobe_ret__do_filp_open() local 840 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in BPF_KPROBE() local 895 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in BPF_KPROBE() local
|
A D | cgrp_ls_recursion.c | 46 struct task_struct *task = bpf_get_current_task_btf(); in BPF_PROG() local 79 struct task_struct *task = bpf_get_current_task_btf(); in BPF_PROG() local
|
A D | bpf_iter_tasks.c | 24 struct task_struct *task = ctx->task; in dump_task() local 53 struct task_struct *task = ctx->task; in dump_task_sleepable() local
|
A D | cgrp_ls_tp_btf.c | 69 struct task_struct *task; in BPF_PROG() local 107 struct task_struct *task; in BPF_PROG() local
|
/tools/perf/util/bpf_skel/ |
A D | kwork_top.bpf.c | 107 static __always_inline void update_task_info(struct task_struct *task, __u32 cpu) in update_task_info() 141 static void on_sched_out(struct task_struct *task, __u64 ts, __u32 cpu) in on_sched_out() 162 static void on_sched_in(struct task_struct *task, __u64 ts) in on_sched_in() 199 struct task_struct *task; in on_irq_handler_entry() local 234 struct task_struct *task; in on_irq_handler_exit() local 271 struct task_struct *task; in on_softirq_entry() local 306 struct task_struct *task; in on_softirq_exit() local
|
A D | bperf_follower.bpf.c | 98 int BPF_PROG(on_newtask, struct task_struct *task, __u64 clone_flags) in BPF_PROG() 140 int BPF_PROG(on_exittask, struct task_struct *task) in BPF_PROG()
|
/tools/testing/selftests/bpf/ |
A D | test_maps.c | 33 static void test_hashmap(unsigned int task, void *data) in test_hashmap() 129 static void test_hashmap_sizes(unsigned int task, void *data) in test_hashmap_sizes() 148 static void test_hashmap_percpu(unsigned int task, void *data) in test_hashmap_percpu() 286 static void test_hashmap_walk(unsigned int task, void *data) in test_hashmap_walk() 357 static void test_arraymap(unsigned int task, void *data) in test_arraymap() 411 static void test_arraymap_percpu(unsigned int task, void *data) in test_arraymap_percpu() 507 static void test_devmap(unsigned int task, void *data) in test_devmap() 521 static void test_devmap_hash(unsigned int task, void *data) in test_devmap_hash() 535 static void test_queuemap(unsigned int task, void *data) in test_queuemap() 591 static void test_stackmap(unsigned int task, void *data) in test_stackmap() [all …]
|