Home
last modified time | relevance | path

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

1234

/tools/testing/selftests/bpf/progs/
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()
69 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe, struct task_struct *task, u64 clone_flags) in BPF_PROG()
84 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe_rcu, 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()
119 int BPF_PROG(task_kfunc_acquire_unreleased, 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()
153 int BPF_PROG(task_kfunc_acquire_release_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG()
166 int BPF_PROG(task_kfunc_release_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG()
[all …]
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()
97 int BPF_PROG(test_task_kfunc_flavor_relo_not_found, 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()
[all …]
Drcu_read_lock.c32 struct task_struct *task; in get_cgroup_id() local
53 struct task_struct *task, *real_parent; in task_succ() local
82 struct task_struct *task, *real_parent; in no_lock() local
94 struct task_struct *task, *real_parent; in two_regions() local
113 struct task_struct *task, *real_parent; in non_sleepable_1() local
129 struct task_struct *task, *real_parent; in non_sleepable_2() local
148 struct task_struct *task, *real_parent, *gparent; in task_acquire() local
176 struct task_struct *task; in miss_lock() local
190 struct task_struct *task; in miss_unlock() local
202 struct task_struct *task, *real_parent; in non_sleepable_rcu_mismatch() local
[all …]
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()
183 int BPF_PROG(test_global_mask_rcu_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()
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()
213 int BPF_PROG(test_first_firstzero_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()
284 int BPF_PROG(test_test_and_set_clear, 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()
[all …]
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
Dcgrp_ls_sleepable.c60 struct task_struct *task; in cgrp1_no_rcu_lock() local
80 struct task_struct *task; in no_rcu_lock() local
94 struct task_struct *task; in yes_rcu_lock() local
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
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
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
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
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()
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
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
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
Dtask_local_storage.c27 struct task_struct *task; in BPF_PROG() local
48 struct task_struct *task; in BPF_PROG() local
Dbpf_iter_tasks.c17 struct task_struct *task = ctx->task; in dump_task() local
44 struct task_struct *task = ctx->task; in dump_task_sleepable() local
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
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
Dcgrp_ls_tp_btf.c69 struct task_struct *task; in BPF_PROG() local
107 struct task_struct *task; in BPF_PROG() local
Dverifier_vfs_reject.c35 struct task_struct *task; in BPF_PROG() local
101 int BPF_PROG(path_d_path_kfunc_untrusted_from_argument, struct task_struct *task) in BPF_PROG()
/tools/perf/util/bpf_skel/
Dkwork_top.bpf.c105 static __always_inline void update_task_info(struct task_struct *task, __u32 cpu) in update_task_info()
139 static void on_sched_out(struct task_struct *task, __u64 ts, __u32 cpu) in on_sched_out()
160 static void on_sched_in(struct task_struct *task, __u64 ts) in on_sched_in()
197 struct task_struct *task; in on_irq_handler_entry() local
232 struct task_struct *task; in on_irq_handler_exit() local
269 struct task_struct *task; in on_softirq_entry() local
304 struct task_struct *task; in on_softirq_exit() local
Dlock_contention.bpf.c150 struct task_struct *task; in get_current_cgroup_id() local
221 static inline int update_task_data(struct task_struct *task) in update_task_data()
248 struct task_struct *task; in get_lock_owner() local
382 struct task_struct *task; in contention_begin() local
/tools/testing/selftests/bpf/
Dtest_maps.c37 static void test_hashmap(unsigned int task, void *data) in test_hashmap()
133 static void test_hashmap_sizes(unsigned int task, void *data) in test_hashmap_sizes()
152 static void test_hashmap_percpu(unsigned int task, void *data) in test_hashmap_percpu()
290 static void test_hashmap_walk(unsigned int task, void *data) in test_hashmap_walk()
361 static void test_arraymap(unsigned int task, void *data) in test_arraymap()
415 static void test_arraymap_percpu(unsigned int task, void *data) in test_arraymap_percpu()
511 static void test_devmap(unsigned int task, void *data) in test_devmap()
525 static void test_devmap_hash(unsigned int task, void *data) in test_devmap_hash()
539 static void test_queuemap(unsigned int task, void *data) in test_queuemap()
595 static void test_stackmap(unsigned int task, void *data) in test_stackmap()
[all …]
/tools/perf/scripts/python/
Dtask-analyzer.py256 def feed(self, task): argument
637 def _print_task_finish(task): argument
700 def _record_by_tid(task): argument
708 def _record_by_cpu(task): argument
716 def _record_global(task): argument

1234