Lines Matching refs:firsterr
753 int firsterr = 0; in kfree_scale_init() local
759 firsterr = torture_create_kthread(kfree_scale_shutdown, NULL, in kfree_scale_init()
761 if (torture_init_error(firsterr)) in kfree_scale_init()
771 firsterr = -ENOMEM; in kfree_scale_init()
776 firsterr = torture_create_kthread(kfree_scale_thread, (void *)i, in kfree_scale_init()
778 if (torture_init_error(firsterr)) in kfree_scale_init()
791 return firsterr; in kfree_scale_init()
798 int firsterr = 0; in rcu_scale_init() local
818 firsterr = -EINVAL; in rcu_scale_init()
839 firsterr = torture_create_kthread(rcu_scale_shutdown, NULL, in rcu_scale_init()
841 if (torture_init_error(firsterr)) in rcu_scale_init()
849 firsterr = -ENOMEM; in rcu_scale_init()
853 firsterr = torture_create_kthread(rcu_scale_reader, (void *)i, in rcu_scale_init()
855 if (torture_init_error(firsterr)) in rcu_scale_init()
869 firsterr = -ENOMEM; in rcu_scale_init()
877 firsterr = -ENOMEM; in rcu_scale_init()
880 firsterr = torture_create_kthread(rcu_scale_writer, (void *)i, in rcu_scale_init()
882 if (torture_init_error(firsterr)) in rcu_scale_init()
895 return firsterr; in rcu_scale_init()