Home
last modified time | relevance | path

Searched refs:firsterr (Results 1 – 5 of 5) sorted by relevance

/kernel/rcu/
Drcuscale.c676 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()
[all …]
Drefscale.c811 int firsterr = 0; in ref_scale_init() local
831 firsterr = -EINVAL; in ref_scale_init()
843 firsterr = torture_create_kthread(ref_scale_shutdown, NULL, in ref_scale_init()
845 if (torture_init_error(firsterr)) in ref_scale_init()
863 firsterr = -ENOMEM; in ref_scale_init()
871 firsterr = torture_create_kthread(ref_scale_reader, (void *)i, in ref_scale_init()
873 if (torture_init_error(firsterr)) in ref_scale_init()
879 firsterr = torture_create_kthread(main_func, NULL, main_task); in ref_scale_init()
880 if (torture_init_error(firsterr)) in ref_scale_init()
893 return firsterr; in ref_scale_init()
Drcutorture.c3427 int firsterr = 0; in rcu_torture_init() local
3452 firsterr = -EINVAL; in rcu_torture_init()
3516 firsterr = torture_create_kthread(rcu_torture_writer, NULL, in rcu_torture_init()
3518 if (torture_init_error(firsterr)) in rcu_torture_init()
3526 firsterr = -ENOMEM; in rcu_torture_init()
3531 firsterr = torture_create_kthread(rcu_torture_fakewriter, in rcu_torture_init()
3533 if (torture_init_error(firsterr)) in rcu_torture_init()
3542 firsterr = -ENOMEM; in rcu_torture_init()
3547 firsterr = torture_create_kthread(rcu_torture_reader, (void *)i, in rcu_torture_init()
3549 if (torture_init_error(firsterr)) in rcu_torture_init()
[all …]
/kernel/locking/
Dlocktorture.c903 int firsterr = 0; in lock_torture_init() local
933 firsterr = -EINVAL; in lock_torture_init()
940 firsterr = -EINVAL; in lock_torture_init()
976 firsterr = -ENOMEM; in lock_torture_init()
1006 firsterr = -ENOMEM; in lock_torture_init()
1023 firsterr = torture_onoff_init(onoff_holdoff * HZ, in lock_torture_init()
1025 if (torture_init_error(firsterr)) in lock_torture_init()
1029 firsterr = torture_shuffle_init(shuffle_interval); in lock_torture_init()
1030 if (torture_init_error(firsterr)) in lock_torture_init()
1034 firsterr = torture_shutdown_init(shutdown_secs, in lock_torture_init()
[all …]
/kernel/
Dscftorture.c541 int firsterr = 0; in scf_torture_init() local
590 firsterr = -EINVAL; in scf_torture_init()
607 firsterr = torture_onoff_init(onoff_holdoff * HZ, onoff_interval, NULL); in scf_torture_init()
608 if (torture_init_error(firsterr)) in scf_torture_init()
612 firsterr = torture_shutdown_init(shutdown_secs, scf_torture_cleanup); in scf_torture_init()
613 if (torture_init_error(firsterr)) in scf_torture_init()
617 firsterr = torture_stutter_init(stutter, stutter); in scf_torture_init()
618 if (torture_init_error(firsterr)) in scf_torture_init()
628 firsterr = -ENOMEM; in scf_torture_init()
637 firsterr = torture_create_kthread(scftorture_invoker, (void *)&scf_stats_p[i], in scf_torture_init()
[all …]