Function report |
Source Code:kernel\torture.c |
Create Date:2022-07-28 13:49:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Crude but fast random-number generator. Uses a linear congruential* generator, with occasional help from cpu_clock().
Proto:unsigned long torture_random(struct torture_random_state *trsp)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct torture_random_state * | trsp |
| 308 | If --trs_count < 0 Then |
| 309 | trs_state += local_clock() |
| Name | Describe |
|---|---|
| torture_lock_busted_write_delay | |
| torture_spin_lock_write_delay | |
| torture_rwlock_write_delay | |
| torture_rwlock_read_delay | |
| torture_mutex_delay | |
| torture_rwsem_write_delay | |
| torture_rwsem_read_delay | |
| lock_torture_writer | Lock torture writer kthread. Repeatedly acquires and releases* the lock, checking for duplicate acquisitions. |
| lock_torture_reader | Lock torture reader kthread. Repeatedly acquires and releases* the reader lock. |
| rcu_read_delay | |
| srcu_read_delay | |
| rcu_torture_writer | RCU torture writer kthread. Repeatedly substitutes a new structure* for that pointed to by rcu_torture_current, freeing the old structure* after a series of grace periods (the "pipeline"). |
| rcu_torture_fakewriter | RCU torture fake writer kthread. Repeatedly calls sync, with a random* delay between calls. |
| rcutorture_extend_mask | Return a random protection state mask, but with at least one bit set. |
| rcutorture_loop_extend | Do a randomly selected number of extensions of an existing RCU read-side* critical section. |
| rcu_torture_fwd_prog_nr | Carry out need_resched()/cond_resched() forward-progress testing. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |