Function report |
Source Code:kernel\rcu\rcutorture.c |
Create Date:2022-07-28 10:21:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Do a randomly selected number of extensions of an existing RCU read-side* critical section.
Proto:static struct rt_read_seg *rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, struct rt_read_seg *rtrsp)
Type:struct rt_read_seg
Parameter:
Type | Parameter | Name |
---|---|---|
int * | readstate | |
struct torture_random_state * | trsp | |
struct rt_read_seg * | rtrsp |
1243 | WARN_ON_ONCE(! * readstate) |
1247 | i = torture_random(trsp) >> 3 |
1248 | i = ((i | i >> 3 ) & Maximum reader extensions. ) + 1 |
Name | Describe |
---|---|
rcu_torture_one_read | Do one read-side critical section, returning false if there was* no data to read. Can be invoked both from process context and* from a timer handler. |
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 |