Searched refs:tsk (Results 1 – 10 of 10) sorted by relevance
/fs/ |
D | exec.c | 722 struct task_struct *tsk; in exec_mmap() local 726 tsk = current; in exec_mmap() 728 mm_release(tsk, old_mm); in exec_mmap() 743 task_lock(tsk); in exec_mmap() 744 active_mm = tsk->active_mm; in exec_mmap() 745 tsk->mm = mm; in exec_mmap() 746 tsk->active_mm = mm; in exec_mmap() 748 task_unlock(tsk); in exec_mmap() 767 static int de_thread(struct task_struct *tsk) in de_thread() argument 769 struct signal_struct *sig = tsk->signal; in de_thread() [all …]
|
D | aio.c | 347 struct task_struct *tsk = current; in wait_for_all_aios() local 348 DECLARE_WAITQUEUE(wait, tsk); in wait_for_all_aios() 355 set_task_state(tsk, TASK_UNINTERRUPTIBLE); in wait_for_all_aios() 359 set_task_state(tsk, TASK_UNINTERRUPTIBLE); in wait_for_all_aios() 362 __set_task_state(tsk, TASK_RUNNING); in wait_for_all_aios() 620 struct task_struct *tsk = current; in use_mm() local 622 task_lock(tsk); in use_mm() 623 active_mm = tsk->active_mm; in use_mm() 625 tsk->mm = mm; in use_mm() 626 tsk->active_mm = mm; in use_mm() [all …]
|
D | binfmt_elf.c | 1885 static struct vm_area_struct *first_vma(struct task_struct *tsk, in first_vma() argument 1888 struct vm_area_struct *ret = tsk->mm->mmap; in first_vma()
|
/fs/smbfs/ |
D | smbiod.c | 69 struct task_struct *tsk; in smbiod_start() local 77 tsk = kthread_run(smbiod, NULL, "smbiod"); in smbiod_start() 78 if (IS_ERR(tsk)) { in smbiod_start() 79 err = PTR_ERR(tsk); in smbiod_start() 89 smbiod_thread = tsk; in smbiod_start()
|
/fs/proc/ |
D | array.c | 144 static inline const char *get_task_state(struct task_struct *tsk) in get_task_state() argument 146 unsigned int state = (tsk->state & TASK_REPORT) | tsk->exit_state; in get_task_state()
|
D | base.c | 166 static int get_nr_threads(struct task_struct *tsk) in get_nr_threads() argument 171 if (lock_task_sighand(tsk, &flags)) { in get_nr_threads() 172 count = atomic_read(&tsk->signal->count); in get_nr_threads() 173 unlock_task_sighand(tsk, &flags); in get_nr_threads()
|
/fs/cifs/ |
D | cifsglob.h | 158 struct task_struct *tsk; member 433 struct task_struct *tsk; /* task waiting for response */ member
|
D | cifs_debug.c | 86 mid_entry->tsk, in cifs_dump_mids() 202 mid_entry->tsk, in cifs_debug_data_proc_show()
|
D | connect.c | 606 task_to_wake = mid_entry->tsk; in cifs_demultiplex_thread() 711 task_to_wake = mid_entry->tsk; in cifs_demultiplex_thread() 748 task_to_wake = xchg(&server->tsk, NULL); in cifs_demultiplex_thread() 1413 task = xchg(&server->tsk, NULL); in cifs_put_tcp_session() 1529 tcp_ses->tsk = kthread_run((void *)(void *)cifs_demultiplex_thread, in cifs_get_tcp_session() 1531 if (IS_ERR(tcp_ses->tsk)) { in cifs_get_tcp_session() 1532 rc = PTR_ERR(tcp_ses->tsk); in cifs_get_tcp_session()
|
D | transport.c | 61 temp->tsk = current; in AllocMidQEntry()
|