Home
last modified time | relevance | path

Searched refs:task_struct (Results 1 – 25 of 25) 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()
208 long oom_badness(struct task_struct *p, unsigned long totalpages) in oom_badness()
315 static int oom_evaluate_task(struct task_struct *task, void *arg) in oom_evaluate_task()
378 struct task_struct *p; in select_bad_process()
388 static int dump_task(struct task_struct *p, void *arg) in dump_task()
[all …]
Dmemory-failure.c241 struct task_struct *tsk;
253 struct task_struct *t = tk->tsk; in kill_proc()
349 static void add_to_kill(struct task_struct *tsk, struct page *p, in add_to_kill()
440 static struct task_struct *find_early_kill_thread(struct task_struct *tsk) in find_early_kill_thread()
442 struct task_struct *t; in find_early_kill_thread()
468 static struct task_struct *task_early_kill(struct task_struct *tsk, in task_early_kill()
490 struct task_struct *tsk; in collect_procs_anon()
502 struct task_struct *t = task_early_kill(tsk, force_early); in collect_procs_anon()
526 struct task_struct *tsk; in collect_procs_file()
534 struct task_struct *t = task_early_kill(tsk, force_early); in collect_procs_file()
[all …]
Dprocess_vm_access.c75 struct task_struct *task, in process_vm_rw_single_vec()
155 struct task_struct *task; in process_vm_rw_core()
Dhighmem.c618 struct task_struct *tsk = current; in __kmap_local_sched_out()
655 struct task_struct *tsk = current; in __kmap_local_sched_in()
682 void kmap_local_fork(struct task_struct *tsk) in kmap_local_fork()
Dutil.c313 struct task_struct * __maybe_unused t = current; in vma_is_stack_for_current()
484 struct task_struct *task, bool bypass_rlim) in __account_locked_vm()
1037 int get_cmdline(struct task_struct *task, char *buffer, int buflen) in get_cmdline()
Dvmacache.c43 struct task_struct *curr; in vmacache_valid()
Dmempolicy.c158 struct mempolicy *get_task_policy(struct task_struct *p) in get_task_policy()
366 void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new) in mpol_rebind_task()
1514 struct task_struct *task; in kernel_migrate_pages()
1807 struct task_struct *me = current; in interleave_nodes()
2007 bool mempolicy_in_oom_domain(struct task_struct *tsk, in mempolicy_in_oom_domain()
2456 void mpol_put_task_policy(struct task_struct *task) in mpol_put_task_policy()
Dpage_io.c56 struct task_struct *waiter = bio->bi_private; in end_swap_bio_read()
Dmemcontrol.c196 struct task_struct *moving_task; /* a task moving charges */
938 struct mem_cgroup *mem_cgroup_from_task(struct task_struct *p) in mem_cgroup_from_task()
1206 int (*fn)(struct task_struct *, void *), void *arg) in mem_cgroup_scan_tasks() argument
1215 struct task_struct *task; in mem_cgroup_scan_tasks()
1557 void mem_cgroup_print_oom_context(struct mem_cgroup *memcg, struct task_struct *p) in mem_cgroup_print_oom_context()
1983 struct mem_cgroup *mem_cgroup_get_oom_group(struct task_struct *victim, in mem_cgroup_get_oom_group()
6003 struct task_struct *leader, *p; in mem_cgroup_can_attach()
6248 struct task_struct *task; in mem_cgroup_attach()
Dkmemleak.c218 static struct task_struct *scan_thread;
1487 struct task_struct *p, *g; in kmemleak_scan()
Dnommu.c622 struct task_struct *curr = current; in delete_vma_from_mm()
1724 int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, in access_process_vm()
Dhugetlb_cgroup.c63 struct hugetlb_cgroup *hugetlb_cgroup_from_task(struct task_struct *task) in hugetlb_cgroup_from_task()
Dpage-writeback.c397 struct task_struct *tsk; in domain_dirty_limits()
473 struct task_struct *tsk = current; in node_dirty_limit()
Dcompaction.c2992 struct task_struct *tsk = current; in kcompactd()
3087 struct task_struct *kcompactd = NODE_DATA(nid)->kcompactd; in kcompactd_stop()
Dvmscan.c197 static void set_task_reclaim_state(struct task_struct *task, in set_task_reclaim_state()
3097 struct task_struct *task = rcu_dereference_protected(mm->owner, true); in lru_gen_migrate_mm()
7355 struct task_struct *tsk = current; in kswapd()
7550 struct task_struct *kswapd = NODE_DATA(nid)->kswapd; in kswapd_stop()
7651 struct task_struct *p = current; in __node_reclaim()
Dmemory.c184 struct task_struct *task = current; in add_mm_counter_fast()
196 static void check_sync_rss_stat(struct task_struct *task) in check_sync_rss_stat()
208 static void check_sync_rss_stat(struct task_struct *task) in check_sync_rss_stat()
5698 int access_process_vm(struct task_struct *tsk, unsigned long addr, in access_process_vm()
Dmadvise.c1414 struct task_struct *task; in SYSCALL_DEFINE5()
Dkhugepaged.c59 static struct task_struct *khugepaged_thread __read_mostly;
Dksm.c3160 struct task_struct *ksm_thread; in ksm_init()
Dmigrate.c1979 struct task_struct *task; in find_mm_struct()
Dhuge_memory.c2931 struct task_struct *task; in split_huge_pages_pid()
Dpage_alloc.c4987 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.c451 struct task_struct *tsk; in __damon_stop()
/mm/kasan/
Dcommon.c70 void kasan_unpoison_task_stack(struct task_struct *task) in kasan_unpoison_task_stack()