Searched refs:torture (Results 1 - 17 of 17) sorted by relevance

/linux-master/drivers/mtd/ubi/
H A Dwl.c446 * @torture: if the physical eraseblock has to be tortured
451 int ubi_sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int torture) argument
467 err = ubi_io_sync_erase(ubi, e->pnum, torture);
589 * @torture: if the physical eraseblock has to be tortured
596 int vol_id, int lnum, int torture, bool nested)
602 dbg_wl("schedule erasure of PEB %d, EC %d, torture %d",
603 e->pnum, e->ec, torture);
613 wl_wrk->torture = torture;
629 * @torture
595 schedule_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int vol_id, int lnum, int torture, bool nested) argument
632 do_sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int vol_id, int lnum, int torture) argument
662 int err, scrubbing = 0, torture = 0, protect = 0, erroneous = 0; local
[all...]
H A Dubi.h793 * @torture: if the physical eraseblock has to be tortured
808 int torture; member in struct:ubi_work
905 int ubi_sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int torture);
908 int pnum, int torture);
916 int lnum, int torture);
927 int ubi_io_sync_erase(struct ubi_device *ubi, int pnum, int torture);
H A Dfastmap-wl.c477 * @torture: if this physical eraseblock has to be tortured
480 int lnum, int torture)
506 return schedule_erase(ubi, e, vol_id, lnum, torture, true);
479 ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *fm_e, int lnum, int torture) argument
H A Deba.c513 int torture = 0; local
526 torture = 1;
531 ubi_wl_put_peb(ubi, vol->vol_id, lnum, *pnum, torture);
H A Dio.c379 ubi_msg(ubi, "run torture test for PEB %d", pnum);
424 ubi_msg(ubi, "PEB %d passed torture test, do not mark it as bad", pnum);
523 * @torture: if this physical eraseblock has to be tortured
525 * This function synchronously erases physical eraseblock @pnum. If @torture
535 int ubi_io_sync_erase(struct ubi_device *ubi, int pnum, int torture) argument
563 if (torture) {
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dtorture.sh4 # Run a series of torture tests, intended for overnight or
7 # Usage: torture.sh [ options ]
219 ds="`date +%Y.%m.%d-%H.%M.%S`-torture"
223 T="`mktemp -d ${TMPDIR-/tmp}/torture.sh.XXXXXX`"
274 # Note that "flavor" is an arbitrary string. Supply --torture if needed.
312 # in any way. So also supply --torture if you need something other than
412 # --torture rcu
415 torture_bootargs="rcupdate.rcu_cpu_stall_suppress_at_boot=1 torture.disable_onoff_at_boot rcupdate.rcu_task_stall_timeout=30000"
421 torture_bootargs="torture.disable_onoff_at_boot"
422 torture_set "locktorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture loc
[all...]
H A Dkvm.sh91 echo " --torture lock|rcu|rcuscale|refscale|scf|X*"
249 --torture)
250 checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\|rcuscale\|refscale\|scf\|X.*\)$' '^--'
252 TORTURE_MOD="`echo $TORTURE_SUITE | sed -e 's/^\(lock\|rcu\|scf\)$/\1torture/'`"
H A Dkvm-test-1-run.sh112 echo Do the torture scripts know about your architecture?
/linux-master/kernel/rcu/
H A Dupdate.c28 #include <linux/torture.h>
H A Drcuscale.c39 #include <linux/torture.h>
927 /* Do torture-type-specific cleanup operations. */
H A Drefscale.c36 #include <linux/torture.h>
1013 // Wait for torture to stop us
H A Drcutorture.c3 * Read-Copy Update module-based torture test facility
10 * See also: Documentation/RCU/torture.rst
43 #include <linux/torture.h>
130 MODULE_PARM_DESC(torture_type, "Type of RCU to torture (rcu, srcu, ...)");
396 * Definitions for rcu torture testing.
622 * Definitions for srcu torture testing.
805 * Definitions for trivial CONFIG_PREEMPT=n-only torture testing.
849 * Definitions for RCU-tasks torture testing.
903 * Definitions for rude RCU-tasks torture testing.
943 * Definitions for tracing RCU-tasks torture testin
[all...]
/linux-master/kernel/
H A DMakefile127 obj-$(CONFIG_TORTURE_TEST) += torture.o
H A Dscftorture.c35 #include <linux/torture.h>
78 torture_param(bool, shutdown, SCFTORT_SHUTDOWN, "Shutdown at end of torture test.");
150 // Print torture statistics. Caller must ensure serialization.
188 // Periodically prints torture statistics, if periodic statistics printing
H A Dtorture.c3 * Common functions for in-kernel torture tests.
8 * Based on kernel/rcu/torture.c.
39 #include <linux/torture.h>
66 #define FULLSTOP_SHUTDOWN 1 /* System shutdown with torture running. */
67 #define FULLSTOP_RMMOD 2 /* Normal rmmod of torture. */
186 * Some torture testing leverages confusion as to the number of online
187 * CPUs. This function returns the torture-testing view of this number,
188 * which allows torture tests to load-balance appropriately.
480 static int shuffle_idle_cpu; /* Force all torture tasks off this CPU */
505 * Unregister all tasks, for example, at the end of the torture ru
[all...]
/linux-master/kernel/locking/
H A Dlocktorture.c3 * Module-based torture test facility for locking
9 * Based on kernel/rcu/torture.c.
30 #include <linux/torture.h>
59 "Type of lock to torture (spin_lock, spin_lock_irq, mutex_lock, ...)");
166 * Definitions for lock torture testing.
544 * The torture ww_mutexes should belong to the same lock class as
839 * Lock torture writer kthread. Repeatedly acquires and releases
911 * Lock torture reader kthread. Repeatedly acquires and releases
944 * Create an lock-torture-statistics message in the specified buffer.
977 * Print torture statistic
[all...]
/linux-master/kernel/kcsan/
H A Dkcsan_test.c30 #include <linux/torture.h>

Completed in 258 milliseconds