Function report | 
Source Code:lib\test_xarray.c | 
Create Date:2022-07-28 06:33:45 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:check_xa_alloc_1
Proto:static noinline void check_xa_alloc_1(struct xarray *xa, unsigned int base)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct xarray * | xa | |
| unsigned int | base | 
| 654 | XA_BUG_ON(xa, !xa_empty() - Determine if an array has any present entries.*@xa: XArray.* Context: Any context.* Return: %true if the array contains only NULL pointers.) | 
| 656 | xa_alloc_index(xa, base, GFP_KERNEL) | 
| 659 | xa_erase_index(xa, base) | 
| 660 | XA_BUG_ON(xa, !xa_empty() - Determine if an array has any present entries.*@xa: XArray.* Context: Any context.* Return: %true if the array contains only NULL pointers.) | 
| 663 | xa_alloc_index(xa, base, GFP_KERNEL) | 
| 666 | When i < 2 * XA_CHUNK_SIZE cycle xa_alloc_index(xa, i, GFP_KERNEL) | 
| 668 | When i < 2 * XA_CHUNK_SIZE cycle xa_erase_index(xa, i) | 
| 670 | xa_alloc_index(xa, base, GFP_KERNEL) | 
| 676 | xa_alloc_index(xa, base, GFP_KERNEL) | 
| 679 | xa_alloc_index(xa, base + 1, GFP_KERNEL) | 
| 680 | xa_erase_index(xa, base + 1) | 
| 683 | xa_store_index(xa, base + 1, GFP_KERNEL) | 
| 684 | xa_alloc_index(xa, base + 2, GFP_KERNEL) | 
| 687 | xa_erase_index(xa, base) | 
| 688 | xa_alloc_index(xa, base, GFP_KERNEL) | 
| 690 | xa_erase_index(xa, base + 1) | 
| 691 | xa_erase_index(xa, base + 2) | 
| 694 | xa_alloc_index(xa, base + i, GFP_KERNEL) | 
| 700 | XA_BUG_ON(xa, xa_alloc(xa, & id, xa_mk_index(UINT_MAX - 1), XA_LIMIT(UINT_MAX - 1, UINT_MAX), GFP_KERNEL) != 0) | 
| 704 | XA_BUG_ON(xa, xa_alloc(xa, & id, xa_mk_index(UINT_MAX), XA_LIMIT(UINT_MAX - 1, UINT_MAX), GFP_KERNEL) != 0) | 
| 708 | id = 3 | 
| 709 | XA_BUG_ON(xa, xa_alloc(xa, & id, xa_mk_index(0), XA_LIMIT(UINT_MAX - 1, UINT_MAX), GFP_KERNEL) != - EBUSY) | 
| 715 | XA_BUG_ON(xa, xa_alloc(xa, & id, xa_mk_index(10), XA_LIMIT(10, 5), GFP_KERNEL) != - EBUSY) | 
| 717 | XA_BUG_ON(xa, xa_store_index(xa, 3, GFP_KERNEL) != 0) | 
| 718 | XA_BUG_ON(xa, xa_alloc(xa, & id, xa_mk_index(10), XA_LIMIT(10, 5), GFP_KERNEL) != - EBUSY) | 
| 720 | xa_erase_index(xa, 3) | 
| 721 | XA_BUG_ON(xa, !xa_empty() - Determine if an array has any present entries.*@xa: XArray.* Context: Any context.* Return: %true if the array contains only NULL pointers.) | 
| Name | Describe | 
|---|---|
| check_xa_alloc | 
| 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  |