Lines Matching refs:firsterr
676 int firsterr = 0; in kfree_scale_init() local
682 firsterr = torture_create_kthread(kfree_scale_shutdown, NULL, in kfree_scale_init()
684 if (torture_init_error(firsterr)) in kfree_scale_init()
694 firsterr = -ENOMEM; in kfree_scale_init()
699 firsterr = torture_create_kthread(kfree_scale_thread, (void *)i, in kfree_scale_init()
701 if (torture_init_error(firsterr)) in kfree_scale_init()
714 return firsterr; in kfree_scale_init()
823 int firsterr = 0; in rcu_scale_init() local
843 firsterr = -EINVAL; in rcu_scale_init()
864 firsterr = torture_create_kthread(rcu_scale_shutdown, NULL, in rcu_scale_init()
866 if (torture_init_error(firsterr)) in rcu_scale_init()
874 firsterr = -ENOMEM; in rcu_scale_init()
878 firsterr = torture_create_kthread(rcu_scale_reader, (void *)i, in rcu_scale_init()
880 if (torture_init_error(firsterr)) in rcu_scale_init()
894 firsterr = -ENOMEM; in rcu_scale_init()
902 firsterr = -ENOMEM; in rcu_scale_init()
905 firsterr = torture_create_kthread(rcu_scale_writer, (void *)i, in rcu_scale_init()
907 if (torture_init_error(firsterr)) in rcu_scale_init()
920 return firsterr; in rcu_scale_init()