Lines Matching refs:bgt
1250 c->bgt = kthread_create(ubifs_bg_thread, c, "%s", c->bgt_name); in mount_ubifs()
1251 if (IS_ERR(c->bgt)) { in mount_ubifs()
1252 err = PTR_ERR(c->bgt); in mount_ubifs()
1253 c->bgt = NULL; in mount_ubifs()
1258 wake_up_process(c->bgt); in mount_ubifs()
1480 if (c->bgt) in mount_ubifs()
1481 kthread_stop(c->bgt); in mount_ubifs()
1515 if (c->bgt) in ubifs_umount()
1516 kthread_stop(c->bgt); in ubifs_umount()
1630 c->bgt = kthread_create(ubifs_bg_thread, c, "%s", c->bgt_name); in ubifs_remount_rw()
1631 if (IS_ERR(c->bgt)) { in ubifs_remount_rw()
1632 err = PTR_ERR(c->bgt); in ubifs_remount_rw()
1633 c->bgt = NULL; in ubifs_remount_rw()
1638 wake_up_process(c->bgt); in ubifs_remount_rw()
1690 if (c->bgt) { in ubifs_remount_rw()
1691 kthread_stop(c->bgt); in ubifs_remount_rw()
1692 c->bgt = NULL; in ubifs_remount_rw()
1720 if (c->bgt) { in ubifs_remount_ro()
1721 kthread_stop(c->bgt); in ubifs_remount_ro()
1722 c->bgt = NULL; in ubifs_remount_ro()
1781 if (c->bgt) { in ubifs_put_super()
1782 kthread_stop(c->bgt); in ubifs_put_super()
1783 c->bgt = NULL; in ubifs_put_super()