Lines Matching refs:bgt
1370 c->bgt = kthread_create(ubifs_bg_thread, c, "%s", c->bgt_name); in mount_ubifs()
1371 if (IS_ERR(c->bgt)) { in mount_ubifs()
1372 err = PTR_ERR(c->bgt); in mount_ubifs()
1373 c->bgt = NULL; in mount_ubifs()
1378 wake_up_process(c->bgt); in mount_ubifs()
1629 if (c->bgt) in mount_ubifs()
1630 kthread_stop(c->bgt); in mount_ubifs()
1667 if (c->bgt) in ubifs_umount()
1668 kthread_stop(c->bgt); in ubifs_umount()
1783 c->bgt = kthread_create(ubifs_bg_thread, c, "%s", c->bgt_name); in ubifs_remount_rw()
1784 if (IS_ERR(c->bgt)) { in ubifs_remount_rw()
1785 err = PTR_ERR(c->bgt); in ubifs_remount_rw()
1786 c->bgt = NULL; in ubifs_remount_rw()
1791 wake_up_process(c->bgt); in ubifs_remount_rw()
1852 if (c->bgt) { in ubifs_remount_rw()
1853 kthread_stop(c->bgt); in ubifs_remount_rw()
1854 c->bgt = NULL; in ubifs_remount_rw()
1881 if (c->bgt) { in ubifs_remount_ro()
1882 kthread_stop(c->bgt); in ubifs_remount_ro()
1883 c->bgt = NULL; in ubifs_remount_ro()
1945 if (c->bgt) { in ubifs_put_super()
1946 kthread_stop(c->bgt); in ubifs_put_super()
1947 c->bgt = NULL; in ubifs_put_super()