Searched defs:tsk (Results 1 - 10 of 10) sorted by relevance

/fs/jffs2/
H A Dbackground.c37 struct task_struct *tsk; local
45 tsk = kthread_run(jffs2_garbage_collect_thread, c, "jffs2_gcd_mtd%d", c->mtd->index);
46 if (IS_ERR(tsk)) {
48 -PTR_ERR(tsk));
50 ret = PTR_ERR(tsk);
53 jffs2_dbg(1, "Garbage collect thread is pid %d\n", tsk->pid);
55 ret = tsk->pid;
/fs/
H A Dfs_struct.c93 void exit_fs(struct task_struct *tsk) argument
95 struct fs_struct *fs = tsk->fs;
99 task_lock(tsk);
101 tsk->fs = NULL;
104 task_unlock(tsk);
H A Dcoredump.c297 static int zap_threads(struct task_struct *tsk, struct mm_struct *mm, argument
304 spin_lock_irq(&tsk->sighand->siglock);
305 if (!signal_group_exit(tsk->signal)) {
307 nr = zap_process(tsk, exit_code);
308 tsk->signal->group_exit_task = tsk;
310 tsk->signal->flags = SIGNAL_GROUP_COREDUMP;
311 clear_tsk_thread_flag(tsk, TIF_SIGPENDING);
313 spin_unlock_irq(&tsk->sighand->siglock);
317 tsk
377 struct task_struct *tsk = current; local
[all...]
H A Dfile.c408 struct task_struct *tsk = current; local
411 old = tsk->files;
412 task_lock(tsk);
413 tsk->files = files;
414 task_unlock(tsk);
418 void exit_files(struct task_struct *tsk) argument
420 struct files_struct * files = tsk->files;
423 task_lock(tsk);
424 tsk->files = NULL;
425 task_unlock(tsk);
[all...]
H A Dexec.c821 struct task_struct *tsk; local
825 tsk = current;
827 mm_release(tsk, old_mm);
835 * checking core_state and changing tsk->mm.
843 task_lock(tsk);
844 active_mm = tsk->active_mm;
845 tsk->mm = mm;
846 tsk->active_mm = mm;
848 tsk->mm->vmacache_seqnum = 0;
849 vmacache_flush(tsk);
869 de_thread(struct task_struct *tsk) argument
1030 get_task_comm(char *buf, struct task_struct *tsk) argument
1045 __set_task_comm(struct task_struct *tsk, const char *buf, bool exec) argument
[all...]
H A Dbinfmt_elf.c1955 static struct vm_area_struct *first_vma(struct task_struct *tsk, argument
1958 struct vm_area_struct *ret = tsk->mm->mmap;
/fs/btrfs/
H A Dinode-map.c140 struct task_struct *tsk; local
177 tsk = kthread_run(caching_kthread, root, "btrfs-ino-cache-%llu",
179 if (IS_ERR(tsk)) {
H A Dvolumes.c3548 struct task_struct *tsk; local
3562 tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance");
3563 return PTR_ERR_OR_ZERO(tsk);
/fs/proc/
H A Darray.c145 static inline const char *get_task_state(struct task_struct *tsk) argument
147 unsigned int state = (tsk->state | tsk->exit_state) & TASK_REPORT;
/fs/cifs/
H A Dcifsglob.h559 struct task_struct *tsk; member in struct:TCP_Server_Info

Completed in 172 milliseconds