Function report |
Source Code:lib\xarray.c |
Create Date:2022-07-28 06:13:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xas_nomem() - Allocate memory if needed.*@xas: XArray operation state.*@gfp: Memory allocation flags.* If we need to add new nodes to the XArray, we try to allocate memory* with GFP_NOWAIT while holding the lock, which will usually succeed.
Proto:bool xas_nomem(struct xa_state *xas, gfp_t gfp)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xa_state * | xas | |
| gfp_t | gfp |
| 300 | Return false |
| 302 | If private: The rest of the data structure is not to be used directly. & XA_FLAGS_ACCOUNT Then gfp |= __GFP_ACCOUNT |
| 305 | If Not xa_alloc Then Return false |
| 308 | xa_node = XAS_RESTART |
| 309 | Return true |
| Name | Describe |
|---|---|
| xa_store_range | xa_store_range() - Store this entry at a range of indices in the XArray |
| ida_alloc_range | da_alloc_range() - Allocate an unused ID.*@ida: IDA handle.*@min: Lowest ID to allocate.*@max: Highest ID to allocate.*@gfp: Memory allocation flags.* Allocate an ID between @min and @max, inclusive. The allocated ID will |
| xa_store_order | If anyone needs this, please move it to xarray.c. We have no current* users outside the test suite because all current multislot users want* to use the advanced API. |
| check_xas_erase | |
| __check_store_iter | |
| xa_store_many_order | |
| check_create_range_4 | |
| check_workingset | |
| add_to_swap_cache | add_to_swap_cache resembles add_to_page_cache_locked on swapper_space,* but sets SwapCache flag and private instead of mapping and index. |
| 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 |