Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 96) sorted by relevance

1234

/tools/testing/selftests/bpf/progs/
A Dtask_kfunc_failure.c19 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 Dtask_kfunc_success.c39 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 Dcpumask_failure.c36 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 Dcpumask_success.c139 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 Drcu_read_lock.c33 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 Duptr_failure.c21 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 Dfind_vma.c23 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 Dcgrp_ls_sleepable.c59 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 Diters_css_task.c27 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 Dstruct_ops_refcounted_fail__global_subprog.c12 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 Dpercpu_alloc_cgrp_local_storage.c25 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 Dfind_vma_fail2.c12 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 Dfind_vma_fail1.c13 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 Dnested_trust_success.c22 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 Dbpf_iter_task_stack.c16 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 Dtask_ls_recursion.c33 struct task_struct *task = bpf_get_current_task_btf(); in BPF_PROG() local
73 struct task_struct *task; in BPF_PROG() local
A Dtask_local_storage.c27 struct task_struct *task; in BPF_PROG() local
48 struct task_struct *task; in BPF_PROG() local
A Dtest_task_under_cgroup.c21 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 Dprofiler.inc.h178 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 Dcgrp_ls_recursion.c46 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 Dbpf_iter_tasks.c24 struct task_struct *task = ctx->task; in dump_task() local
53 struct task_struct *task = ctx->task; in dump_task_sleepable() local
A Dcgrp_ls_tp_btf.c69 struct task_struct *task; in BPF_PROG() local
107 struct task_struct *task; in BPF_PROG() local
/tools/perf/util/bpf_skel/
A Dkwork_top.bpf.c107 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 Dbperf_follower.bpf.c98 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 Dtest_maps.c33 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 …]

Completed in 41 milliseconds

1234