Home
last modified time | relevance | path

Searched defs:task_struct (Results 1 – 18 of 18) sorted by relevance

/linux/include/linux/
H A Dsched.h819 struct task_struct { struct
833 * This begins the randomizable portion of task_struct. Only argument
852 struct task_struct *last_wakee; argument
861 int recent_used_cpu;
862 int wake_cpu;
863 int on_rq;
865 int prio;
866 int static_prio;
867 int normal_prio;
868 unsigned int rt_priority;
[all …]
H A Dmemcontrol.h1313 int (*fn)(struct task_struct *, void *), void *arg) in mem_cgroup_scan_tasks()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_kernel.c27 struct task_struct { struct
31 struct task_struct *group_leader; argument
H A Dtest_core_retro.c7 struct task_struct { struct
28 struct task_struct *task = (void *)bpf_get_current_task(); in handle_sys_enter() argument
H A Dstrobemeta.h16 struct task_struct {}; struct
/linux/tools/perf/util/bpf_skel/vmlinux/
H A Dvmlinux.h100 struct task_struct { struct
101 unsigned int flags;
102 struct mm_struct *mm;
103 pid_t pid;
104 pid_t tgid;
105 char comm[16];
106 struct sighand_struct *sighand;
107 struct css_set *cgroups;
/linux/kernel/bpf/
H A Dbpf_task_storage.c229 BPF_CALL_5(bpf_task_storage_get_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5()
248 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5()
264 BPF_CALL_2(bpf_task_storage_delete_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
285 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2()
H A Dstackmap.c545 BPF_CALL_4(bpf_get_task_stack, struct task_struct *, task, void *, buf, in BPF_CALL_4()
562 BPF_CALL_4(bpf_get_task_stack_sleepable, struct task_struct *, task, void *, buf, in BPF_CALL_4()
H A Dtask_iter.c751 BPF_CALL_5(bpf_find_vma, struct task_struct *, task, u64, start, in BPF_CALL_5()
H A Dhelpers.c686 const void __user *, user_ptr, struct task_struct *, tsk, u64, flags) in BPF_CALL_5()
H A Dverifier.c7019 BTF_TYPE_SAFE_RCU(struct task_struct) { in BTF_TYPE_SAFE_RCU()
/linux/lib/kunit/
H A Dtry-catch.c40 struct task_struct *task_struct; in kunit_try_catch_run() local
/linux/include/linux/sched/
H A Dtask.h162 DEFINE_FREE(put_task, struct task_struct *, if (_T) put_task_struct(_T)) in DEFINE_FREE()
/linux/rust/kernel/
H A Dtask.rs203 pub fn as_ptr(&self) -> *mut bindings::task_struct { in as_ptr()
/linux/tools/testing/vma/
H A Dvma_internal.h195 struct task_struct { struct
204 struct task_struct *get_current(void); argument
/linux/kernel/sched/
H A Dsyscalls.c281 DEFINE_CLASS(find_get_task, struct task_struct *, if (_T) put_task_struct(_T), in DEFINE_CLASS()
/linux/mm/
H A Dmemcontrol.c1152 int (*fn)(struct task_struct *, void *), void *arg) in mem_cgroup_scan_tasks()
/linux/kernel/trace/
H A Dbpf_trace.c778 BPF_CALL_1(bpf_task_pt_regs, struct task_struct *, task) in BPF_CALL_1()