Searched refs:gc_task (Results 1 – 3 of 3) sorted by relevance
30 if (c->gc_task && jffs2_thread_should_wake(c)) in jffs2_garbage_collect_trigger()31 send_sig(SIGHUP, c->gc_task, 1); in jffs2_garbage_collect_trigger()40 BUG_ON(c->gc_task); in jffs2_start_garbage_collect_thread()65 if (c->gc_task) { in jffs2_stop_garbage_collect_thread()66 jffs2_dbg(1, "Killing GC task %d\n", c->gc_task->pid); in jffs2_stop_garbage_collect_thread()67 send_sig(SIGKILL, c->gc_task, 1); in jffs2_stop_garbage_collect_thread()85 c->gc_task = current; in jffs2_garbage_collect_thread()162 c->gc_task = NULL; in jffs2_garbage_collect_thread()
57 struct task_struct *gc_task; /* GC task struct */ member
93 The erase_completion_lock is also used to protect the c->gc_task96 thread itself locks it, zeroes c->gc_task, then unlocks on the exit path.