Home
last modified time | relevance | path

Searched refs:gc_task (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/jffs2/
Dbackground.c30 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()
Djffs2_fs_sb.h57 struct task_struct *gc_task; /* GC task struct */ member
DREADME.Locking93 The erase_completion_lock is also used to protect the c->gc_task
96 thread itself locks it, zeroes c->gc_task, then unlocks on the exit path.
/kernel/liteos_a/fs/jffs2/
Djffs2.patch373 - if (c->gc_task && jffs2_thread_should_wake(c))
374 - send_sig(SIGHUP, c->gc_task, 1);
390 - BUG_ON(c->gc_task);
439 - if (c->gc_task) {
440 - jffs2_dbg(1, "Killing GC task %d\n", c->gc_task->pid);
441 - send_sig(SIGKILL, c->gc_task, 1);
491 - c->gc_task = current;
575 - c->gc_task = NULL;