Lines Matching refs:bgt
1367 c->bgt = kthread_create(ubifs_bg_thread, c, "%s", c->bgt_name); in mount_ubifs()
1368 if (IS_ERR(c->bgt)) { in mount_ubifs()
1369 err = PTR_ERR(c->bgt); in mount_ubifs()
1370 c->bgt = NULL; in mount_ubifs()
1375 wake_up_process(c->bgt); in mount_ubifs()
1626 if (c->bgt) in mount_ubifs()
1627 kthread_stop(c->bgt); in mount_ubifs()
1664 if (c->bgt) in ubifs_umount()
1665 kthread_stop(c->bgt); in ubifs_umount()
1780 c->bgt = kthread_create(ubifs_bg_thread, c, "%s", c->bgt_name); in ubifs_remount_rw()
1781 if (IS_ERR(c->bgt)) { in ubifs_remount_rw()
1782 err = PTR_ERR(c->bgt); in ubifs_remount_rw()
1783 c->bgt = NULL; in ubifs_remount_rw()
1788 wake_up_process(c->bgt); in ubifs_remount_rw()
1849 if (c->bgt) { in ubifs_remount_rw()
1850 kthread_stop(c->bgt); in ubifs_remount_rw()
1851 c->bgt = NULL; in ubifs_remount_rw()
1879 if (c->bgt) { in ubifs_remount_ro()
1880 kthread_stop(c->bgt); in ubifs_remount_ro()
1881 c->bgt = NULL; in ubifs_remount_ro()
1943 if (c->bgt) { in ubifs_put_super()
1944 kthread_stop(c->bgt); in ubifs_put_super()
1945 c->bgt = NULL; in ubifs_put_super()