Home
last modified time | relevance | path

Searched refs:task_struct (Results 1 – 22 of 22) sorted by relevance

/mm/
Doom_kill.c85 static bool oom_cpuset_eligible(struct task_struct *start, in oom_cpuset_eligible()
88 struct task_struct *tsk; in oom_cpuset_eligible()
120 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible()
132 struct task_struct *find_lock_task_mm(struct task_struct *p) in find_lock_task_mm()
134 struct task_struct *t; in find_lock_task_mm()
161 static bool oom_unkillable_task(struct task_struct *p) in oom_unkillable_task()
198 unsigned long oom_badness(struct task_struct *p, unsigned long totalpages) in oom_badness()
309 static int oom_evaluate_task(struct task_struct *task, void *arg) in oom_evaluate_task()
370 struct task_struct *p; in select_bad_process()
380 static int dump_task(struct task_struct *p, void *arg) in dump_task()
[all …]
Dmemory-failure.c199 struct task_struct *tsk;
211 struct task_struct *t = tk->tsk; in kill_proc()
308 static void add_to_kill(struct task_struct *tsk, struct page *p, in add_to_kill()
403 static struct task_struct *find_early_kill_thread(struct task_struct *tsk) in find_early_kill_thread()
405 struct task_struct *t; in find_early_kill_thread()
419 static struct task_struct *task_early_kill(struct task_struct *tsk, in task_early_kill()
422 struct task_struct *t; in task_early_kill()
442 struct task_struct *tsk; in collect_procs_anon()
454 struct task_struct *t = task_early_kill(tsk, force_early); in collect_procs_anon()
478 struct task_struct *tsk; in collect_procs_file()
[all …]
Dmmu_context.c25 struct task_struct *tsk = current; in use_mm()
55 struct task_struct *tsk = current; in unuse_mm()
Dgup.c618 static int faultin_page(struct task_struct *tsk, struct vm_area_struct *vma, in faultin_page()
779 static long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, in __get_user_pages()
948 int fixup_user_fault(struct task_struct *tsk, struct mm_struct *mm, in fixup_user_fault()
998 static __always_inline long __get_user_pages_locked(struct task_struct *tsk, in __get_user_pages_locked()
1149 long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm, in get_user_pages_remote()
1316 static long __get_user_pages_locked(struct task_struct *tsk, in __get_user_pages_locked()
1433 static long check_and_migrate_cma_pages(struct task_struct *tsk, in check_and_migrate_cma_pages()
1520 static long check_and_migrate_cma_pages(struct task_struct *tsk, in check_and_migrate_cma_pages()
1536 static long __gup_longterm_locked(struct task_struct *tsk, in __gup_longterm_locked()
1587 static __always_inline long __gup_longterm_locked(struct task_struct *tsk, in __gup_longterm_locked()
Dutil.c298 struct task_struct * __maybe_unused t = current; in vma_is_stack_for_current()
425 struct task_struct *task, bool bypass_rlim) in __account_locked_vm()
843 int get_cmdline(struct task_struct *task, char *buffer, int buflen) in get_cmdline()
Dprocess_vm_access.c79 struct task_struct *task, in process_vm_rw_single_vec()
156 struct task_struct *task; in process_vm_rw_core()
Dvmacache.c44 struct task_struct *curr; in vmacache_valid()
Dmempolicy.c130 struct mempolicy *get_task_policy(struct task_struct *p) in get_task_policy()
367 void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new) in mpol_rebind_task()
1465 struct task_struct *task; in kernel_migrate_pages()
1830 struct task_struct *me = current; in interleave_nodes()
2022 bool mempolicy_nodemask_intersects(struct task_struct *tsk, in mempolicy_nodemask_intersects()
2458 void mpol_put_task_policy(struct task_struct *task) in mpol_put_task_policy()
Dnommu.c651 struct task_struct *curr = current; in delete_vma_from_mm()
1703 int __access_remote_vm(struct task_struct *tsk, struct mm_struct *mm, in __access_remote_vm()
1757 int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, in access_process_vm()
Dpage_io.c124 struct task_struct *waiter = bio->bi_private; in end_swap_bio_read()
Dhugetlb_cgroup.c43 struct hugetlb_cgroup *hugetlb_cgroup_from_task(struct task_struct *task) in hugetlb_cgroup_from_task()
Dmemcontrol.c197 struct task_struct *moving_task; /* a task moving charges */
920 struct mem_cgroup *mem_cgroup_from_task(struct task_struct *p) in mem_cgroup_from_task()
1202 int (*fn)(struct task_struct *, void *), void *arg) in mem_cgroup_scan_tasks() argument
1211 struct task_struct *task; in mem_cgroup_scan_tasks()
1499 void mem_cgroup_print_oom_context(struct mem_cgroup *memcg, struct task_struct *p) in mem_cgroup_print_oom_context()
2016 struct mem_cgroup *mem_cgroup_get_oom_group(struct task_struct *victim, in mem_cgroup_get_oom_group()
5748 struct task_struct *leader, *p; in mem_cgroup_can_attach()
Dvmscan.c174 static void set_task_reclaim_state(struct task_struct *task, in set_task_reclaim_state()
3896 struct task_struct *tsk = current; in kswapd()
4104 struct task_struct *kswapd = NODE_DATA(nid)->kswapd; in kswapd_stop()
4210 struct task_struct *p = current; in __node_reclaim()
Dkmemleak.c216 static struct task_struct *scan_thread;
1470 struct task_struct *p, *g; in kmemleak_scan()
Dmemory.c180 struct task_struct *task = current; in add_mm_counter_fast()
192 static void check_sync_rss_stat(struct task_struct *task) in check_sync_rss_stat()
204 static void check_sync_rss_stat(struct task_struct *task) in check_sync_rss_stat()
4332 int __access_remote_vm(struct task_struct *tsk, struct mm_struct *mm, in __access_remote_vm()
4418 int access_process_vm(struct task_struct *tsk, unsigned long addr, in access_process_vm()
Dcompaction.c2631 struct task_struct *tsk = current; in kcompactd()
2685 struct task_struct *kcompactd = NODE_DATA(nid)->kcompactd; in kcompactd_stop()
Dpage-writeback.c404 struct task_struct *tsk; in domain_dirty_limits()
480 struct task_struct *tsk = current; in node_dirty_limit()
Dkhugepaged.c2169 static struct task_struct *khugepaged_thread __read_mostly; in start_stop_khugepaged()
Dmigrate.c1770 struct task_struct *task; in kernel_move_pages()
Dksm.c3174 struct task_struct *ksm_thread; in ksm_init()
Dpage_alloc.c4225 static bool oom_reserves_allowed(struct task_struct *tsk) in oom_reserves_allowed()
/mm/kasan/
Dcommon.c172 static void __kasan_unpoison_stack(struct task_struct *task, const void *sp) in __kasan_unpoison_stack()
181 void kasan_unpoison_task_stack(struct task_struct *task) in kasan_unpoison_task_stack()