Searched refs:tsk (Results 1 – 12 of 12) sorted by relevance
/fs/ |
D | exec.c | 1012 struct task_struct *tsk; in exec_mmap() local 1016 tsk = current; in exec_mmap() 1018 exec_mm_release(tsk, old_mm); in exec_mmap() 1034 task_lock(tsk); in exec_mmap() 1035 active_mm = tsk->active_mm; in exec_mmap() 1037 tsk->mm = mm; in exec_mmap() 1038 tsk->active_mm = mm; in exec_mmap() 1040 tsk->mm->vmacache_seqnum = 0; in exec_mmap() 1041 vmacache_flush(tsk); in exec_mmap() 1042 task_unlock(tsk); in exec_mmap() [all …]
|
D | coredump.c | 360 static int zap_threads(struct task_struct *tsk, struct mm_struct *mm, in zap_threads() argument 367 spin_lock_irq(&tsk->sighand->siglock); in zap_threads() 368 if (!signal_group_exit(tsk->signal)) { in zap_threads() 370 tsk->signal->group_exit_task = tsk; in zap_threads() 371 nr = zap_process(tsk, exit_code, 0); in zap_threads() 372 clear_tsk_thread_flag(tsk, TIF_SIGPENDING); in zap_threads() 374 spin_unlock_irq(&tsk->sighand->siglock); in zap_threads() 378 tsk->flags |= PF_DUMPCORE; in zap_threads() 413 if (g == tsk->group_leader) in zap_threads() 438 struct task_struct *tsk = current; in coredump_wait() local [all …]
|
D | fs_struct.c | 97 void exit_fs(struct task_struct *tsk) in exit_fs() argument 99 struct fs_struct *fs = tsk->fs; in exit_fs() 103 task_lock(tsk); in exit_fs() 105 tsk->fs = NULL; in exit_fs() 108 task_unlock(tsk); in exit_fs()
|
D | file.c | 427 struct task_struct *tsk = current; in reset_files_struct() local 430 old = tsk->files; in reset_files_struct() 431 task_lock(tsk); in reset_files_struct() 432 tsk->files = files; in reset_files_struct() 433 task_unlock(tsk); in reset_files_struct() 437 void exit_files(struct task_struct *tsk) in exit_files() argument 439 struct files_struct * files = tsk->files; in exit_files() 442 task_lock(tsk); in exit_files() 443 tsk->files = NULL; in exit_files() 444 task_unlock(tsk); in exit_files()
|
D | binfmt_elf.c | 2135 static struct vm_area_struct *first_vma(struct task_struct *tsk, in first_vma() argument 2138 struct vm_area_struct *ret = tsk->mm->mmap; in first_vma()
|
/fs/jffs2/ |
D | background.c | 37 struct task_struct *tsk; in jffs2_start_garbage_collect_thread() local 45 tsk = kthread_run(jffs2_garbage_collect_thread, c, "jffs2_gcd_mtd%d", c->mtd->index); in jffs2_start_garbage_collect_thread() 46 if (IS_ERR(tsk)) { in jffs2_start_garbage_collect_thread() 48 -PTR_ERR(tsk)); in jffs2_start_garbage_collect_thread() 50 ret = PTR_ERR(tsk); in jffs2_start_garbage_collect_thread() 53 jffs2_dbg(1, "Garbage collect thread is pid %d\n", tsk->pid); in jffs2_start_garbage_collect_thread() 55 ret = tsk->pid; in jffs2_start_garbage_collect_thread()
|
/fs/btrfs/ |
D | inode-map.c | 143 struct task_struct *tsk; in start_caching() local 182 tsk = kthread_run(caching_kthread, root, "btrfs-ino-cache-%llu", in start_caching() 184 if (IS_ERR(tsk)) in start_caching()
|
D | volumes.c | 4238 struct task_struct *tsk; in btrfs_resume_balance_async() local 4261 tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance"); in btrfs_resume_balance_async() 4262 return PTR_ERR_OR_ZERO(tsk); in btrfs_resume_balance_async()
|
/fs/proc/ |
D | array.c | 146 static inline const char *get_task_state(struct task_struct *tsk) in get_task_state() argument 149 return task_state_array[task_state_index(tsk)]; in get_task_state()
|
D | base.c | 341 static ssize_t get_task_cmdline(struct task_struct *tsk, char __user *buf, in get_task_cmdline() argument 347 mm = get_task_mm(tsk); in get_task_cmdline() 359 struct task_struct *tsk; in proc_pid_cmdline_read() local 364 tsk = get_proc_task(file_inode(file)); in proc_pid_cmdline_read() 365 if (!tsk) in proc_pid_cmdline_read() 367 ret = get_task_cmdline(tsk, buf, count, pos); in proc_pid_cmdline_read() 368 put_task_struct(tsk); in proc_pid_cmdline_read()
|
/fs/cifs/ |
D | connect.c | 1306 task_to_wake = xchg(&server->tsk, NULL); in cifs_demultiplex_thread() 2744 task = xchg(&server->tsk, NULL); in cifs_put_tcp_session() 2850 tcp_ses->tsk = kthread_run(cifs_demultiplex_thread, in cifs_get_tcp_session() 2852 if (IS_ERR(tcp_ses->tsk)) { in cifs_get_tcp_session() 2853 rc = PTR_ERR(tcp_ses->tsk); in cifs_get_tcp_session()
|
D | cifsglob.h | 686 struct task_struct *tsk; member
|