Home
last modified time | relevance | path

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

/mm/
Doom_kill.c93 static bool oom_cpuset_eligible(struct task_struct *start, in oom_cpuset_eligible()
96 struct task_struct *tsk; in oom_cpuset_eligible()
128 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible()
140 struct task_struct *find_lock_task_mm(struct task_struct *p) in find_lock_task_mm()
142 struct task_struct *t; in find_lock_task_mm()
169 static bool oom_unkillable_task(struct task_struct *p) in oom_unkillable_task()
206 long oom_badness(struct task_struct *p, unsigned long totalpages) in oom_badness()
313 static int oom_evaluate_task(struct task_struct *task, void *arg) in oom_evaluate_task()
398 struct task_struct *p; in select_bad_process()
422 static int dump_task(struct task_struct *p, void *arg) in dump_task()
[all …]
Dmemory-failure.c226 struct task_struct *tsk;
238 struct task_struct *t = tk->tsk; in kill_proc()
335 static void add_to_kill(struct task_struct *tsk, struct page *p, in add_to_kill()
426 static struct task_struct *find_early_kill_thread(struct task_struct *tsk) in find_early_kill_thread()
428 struct task_struct *t; in find_early_kill_thread()
451 static struct task_struct *task_early_kill(struct task_struct *tsk, in task_early_kill()
476 struct task_struct *tsk; in collect_procs_anon()
488 struct task_struct *t = task_early_kill(tsk, force_early); in collect_procs_anon()
512 struct task_struct *tsk; in collect_procs_file()
520 struct task_struct *t = task_early_kill(tsk, force_early); in collect_procs_file()
Dprocess_vm_access.c76 struct task_struct *task, in process_vm_rw_single_vec()
156 struct task_struct *task; in process_vm_rw_core()
Dutil.c313 struct task_struct * __maybe_unused t = current; in vma_is_stack_for_current()
473 struct task_struct *task, bool bypass_rlim) in __account_locked_vm()
1027 int get_cmdline(struct task_struct *task, char *buffer, int buflen) in get_cmdline()
Dvmacache.c43 struct task_struct *curr; in vmacache_valid()
Dmempolicy.c156 struct mempolicy *get_task_policy(struct task_struct *p) in get_task_policy()
393 void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new) in mpol_rebind_task()
1519 struct task_struct *task; in kernel_migrate_pages()
1916 struct task_struct *me = current; in interleave_nodes()
2107 bool mempolicy_nodemask_intersects(struct task_struct *tsk, in mempolicy_nodemask_intersects()
2546 void mpol_put_task_policy(struct task_struct *task) in mpol_put_task_policy()
Dnommu.c632 struct task_struct *curr = current; in delete_vma_from_mm()
1687 int __access_remote_vm(struct task_struct *tsk, struct mm_struct *mm, in __access_remote_vm()
1741 int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, in access_process_vm()
Dvmscan.c201 static void set_task_reclaim_state(struct task_struct *task, in set_task_reclaim_state()
3978 struct task_struct *tsk = current; in kswapd()
4081 struct task_struct *kswapd; in kswapd_per_node_stop()
4216 struct task_struct *kswapd = NODE_DATA(nid)->kswapd; in kswapd_stop()
4326 struct task_struct *p = current; in __node_reclaim()
Dpage_io.c76 struct task_struct *waiter = bio->bi_private; in end_swap_bio_read()
Dkmemleak.c217 static struct task_struct *scan_thread;
1479 struct task_struct *p, *g; in kmemleak_scan()
Dmemcontrol.c191 struct task_struct *moving_task; /* a task moving charges */
1003 struct mem_cgroup *mem_cgroup_from_task(struct task_struct *p) in mem_cgroup_from_task()
1314 int (*fn)(struct task_struct *, void *), void *arg) in mem_cgroup_scan_tasks() argument
1323 struct task_struct *task; in mem_cgroup_scan_tasks()
1668 void mem_cgroup_print_oom_context(struct mem_cgroup *memcg, struct task_struct *p) in mem_cgroup_print_oom_context()
2094 struct mem_cgroup *mem_cgroup_get_oom_group(struct task_struct *victim, in mem_cgroup_get_oom_group()
6035 struct task_struct *leader, *p; in mem_cgroup_can_attach()
Dpage-writeback.c406 struct task_struct *tsk; in domain_dirty_limits()
482 struct task_struct *tsk = current; in node_dirty_limit()
Dmemory.c211 struct task_struct *task = current; in add_mm_counter_fast()
223 static void check_sync_rss_stat(struct task_struct *task) in check_sync_rss_stat()
235 static void check_sync_rss_stat(struct task_struct *task) in check_sync_rss_stat()
5604 int __access_remote_vm(struct task_struct *tsk, struct mm_struct *mm, in __access_remote_vm()
5690 int access_process_vm(struct task_struct *tsk, unsigned long addr, in access_process_vm()
Dhugetlb_cgroup.c63 struct hugetlb_cgroup *hugetlb_cgroup_from_task(struct task_struct *task) in hugetlb_cgroup_from_task()
Dcompaction.c2865 struct task_struct *tsk = current; in kcompactd()
2958 struct task_struct *kcompactd = NODE_DATA(nid)->kcompactd; in kcompactd_stop()
Dmadvise.c1208 struct task_struct *task; in SYSCALL_DEFINE5()
Dkhugepaged.c59 static struct task_struct *khugepaged_thread __read_mostly;
Dksm.c3169 struct task_struct *ksm_thread; in ksm_init()
Dmigrate.c1863 struct task_struct *task; in find_mm_struct()
Dpage_alloc.c4654 static bool oom_reserves_allowed(struct task_struct *tsk) in oom_reserves_allowed()
/mm/damon/
Dvaddr.c29 static inline struct task_struct *damon_get_task_struct(struct damon_target *t) in damon_get_task_struct()
43 struct task_struct *task; in damon_get_mm()
674 struct task_struct *task; in damon_va_target_valid()
Dcore.c443 struct task_struct *tsk; in __damon_stop()
/mm/kasan/
Dcommon.c68 void kasan_unpoison_task_stack(struct task_struct *task) in kasan_unpoison_task_stack()