Lines Matching refs:firsterr
774 int firsterr = 0; in kfree_scale_init() local
780 firsterr = torture_create_kthread(kfree_scale_shutdown, NULL, in kfree_scale_init()
782 if (torture_init_error(firsterr)) in kfree_scale_init()
792 firsterr = -ENOMEM; in kfree_scale_init()
797 firsterr = torture_create_kthread(kfree_scale_thread, (void *)i, in kfree_scale_init()
799 if (torture_init_error(firsterr)) in kfree_scale_init()
812 return firsterr; in kfree_scale_init()
819 int firsterr = 0; in rcu_scale_init() local
839 firsterr = -EINVAL; in rcu_scale_init()
860 firsterr = torture_create_kthread(rcu_scale_shutdown, NULL, in rcu_scale_init()
862 if (torture_init_error(firsterr)) in rcu_scale_init()
870 firsterr = -ENOMEM; in rcu_scale_init()
874 firsterr = torture_create_kthread(rcu_scale_reader, (void *)i, in rcu_scale_init()
876 if (torture_init_error(firsterr)) in rcu_scale_init()
890 firsterr = -ENOMEM; in rcu_scale_init()
898 firsterr = -ENOMEM; in rcu_scale_init()
901 firsterr = torture_create_kthread(rcu_scale_writer, (void *)i, in rcu_scale_init()
903 if (torture_init_error(firsterr)) in rcu_scale_init()
916 return firsterr; in rcu_scale_init()