Home
last modified time | relevance | path

Searched refs:torture_type (Results 1 – 21 of 21) sorted by relevance

/linux-4.1.27/kernel/
Dtorture.c52 static char *torture_type; variable
113 torture_type, cpu); in torture_onoff()
121 torture_type, cpu, ret); in torture_onoff()
126 torture_type, cpu); in torture_onoff()
143 torture_type, cpu); in torture_onoff()
151 torture_type, cpu, ret); in torture_onoff()
156 torture_type, cpu); in torture_onoff()
437 torture_type, delta); in torture_shutdown()
603 if (torture_type != NULL) { in torture_init_begin()
605 ttype, torture_type); in torture_init_begin()
[all …]
/linux-4.1.27/include/linux/
Dtorture.h46 pr_alert("%s" TORTURE_FLAG s "\n", torture_type)
48 do { if (verbose) pr_alert("%s" TORTURE_FLAG " %s\n", torture_type, s); } while (0)
50 do { if (verbose) pr_alert("%s" TORTURE_FLAG "!!! %s\n", torture_type, s); } while (0)
/linux-4.1.27/kernel/locking/
Dlocktorture.c58 static char *torture_type = "spin_lock"; variable
59 module_param(torture_type, charp, 0444);
60 MODULE_PARM_DESC(torture_type,
592 torture_type, tag, cxt.debug_lock ? " [debug]": "", in lock_torture_print_module_parms()
648 if (!torture_init_begin(torture_type, verbose, &torture_runnable)) in lock_torture_init()
654 if (strcmp(torture_type, cxt.cur_ops->name) == 0) in lock_torture_init()
659 torture_type); in lock_torture_init()
676 if (strncmp(torture_type, "mutex", 5) == 0) in lock_torture_init()
680 if ((strncmp(torture_type, "spin", 4) == 0) || in lock_torture_init()
681 (strncmp(torture_type, "rw_lock", 7) == 0)) in lock_torture_init()
/linux-4.1.27/kernel/rcu/
Drcutorture.c102 static char *torture_type = "rcu"; variable
103 module_param(torture_type, charp, 0444);
104 MODULE_PARM_DESC(torture_type, "Type of RCU to torture (rcu, rcu_bh, ...)");
539 torture_type, TORTURE_FLAG, idx); in srcu_torture_stats()
872 torture_type, cur_ops->name); in rcu_torture_writer()
875 torture_type); in rcu_torture_writer()
1203 pr_alert("%s%s ", torture_type, TORTURE_FLAG); in rcu_torture_stats_print()
1226 pr_alert("%s%s ", torture_type, TORTURE_FLAG); in rcu_torture_stats_print()
1242 pr_alert("%s%s ", torture_type, TORTURE_FLAG); in rcu_torture_stats_print()
1248 pr_alert("%s%s ", torture_type, TORTURE_FLAG); in rcu_torture_stats_print()
[all …]
/linux-4.1.27/tools/testing/selftests/rcutorture/configs/rcu/
DSRCU-N.boot1 rcutorture.torture_type=srcu
DTASKS02.boot1 rcutorture.torture_type=tasks
DSRCU-P.boot1 rcutorture.torture_type=srcu
DTREE04.boot1 rcutorture.torture_type=rcu_bh
DBUSTED.boot1 rcutorture.torture_type=rcu_busted
DTASKS01.boot1 rcutorture.torture_type=tasks
DTASKS03.boot1 rcutorture.torture_type=tasks
DTREE01.boot1 rcutorture.torture_type=rcu_bh maxcpus=8
DTREE05.boot1 rcutorture.torture_type=sched
DTREE08.boot1 rcutorture.torture_type=sched
/linux-4.1.27/tools/testing/selftests/rcutorture/configs/lock/
DBUSTED.boot1 locktorture.torture_type=lock_busted
DLOCK04.boot1 locktorture.torture_type=rw_lock
DLOCK02.boot1 locktorture.torture_type=mutex_lock
DLOCK03.boot1 locktorture.torture_type=rwsem_lock
/linux-4.1.27/Documentation/locking/
Dlocktorture.txt37 torture_type Type of lock to torture. By default, only spinlocks will
114 (A): Lock type that is being tortured -- torture_type parameter.
/linux-4.1.27/Documentation/RCU/
Dtorture.txt64 specify this to be non-zero when torture_type indicates a
67 used -- see the documentation for torture_type below), an
73 torture_type, with a delay between calls to allow for various
167 torture_type The type of RCU to test, with string values as follows:
/linux-4.1.27/Documentation/
Dkernel-parameters.txt1860 locktorture.torture_type= [KNL]
3173 rcutorture.torture_type= [KNL]