Function report |
Source Code:kernel\locking\test-ww_mutex.c |
Create Date:2022-07-28 09:55:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_random_order
Proto:static int *get_random_order(int count)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | count |
| 354 | order = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 362 | r = get_random_int() % (n + 1) |
| 370 | Return order |
| Name | Describe |
|---|---|
| stress_inorder_work | |
| stress_reorder_work |
| 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 |