Function report |
Source Code:lib\xarray.c |
Create Date:2022-07-28 06:13:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Starts a walk. If the @xas is already valid, we assume that it's on* the right path and just return where we've got to. If we're in an* error state, return NULL. If the index is outside the current scope
Proto:static void *xas_start(struct xa_state *xas)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xa_state * | xas |
| 185 | If xas_error() - Return an errno stored in the xa_state.*@xas: XArray operation state.* Return: 0 if no error has been noted. A negative errno if one has. Then Return NULL |
| 189 | If Not Private Then |
| 190 | If xa_index Then Return set_bounds(xas) |
| 192 | Else |
| 193 | If xa_index >> Bits remaining in each slot > XA_CHUNK_MASK Then Return set_bounds(xas) |
| 197 | xa_node = NULL |
| 198 | Return entry |
| Name | Describe |
|---|---|
| xas_load | xas_load() - Load an entry from the XArray (advanced).*@xas: XArray operation state.* Usually walks the @xas to the appropriate state to load the entry* stored at xa_index. However, it will do nothing and return %NULL if*@xas is in an error state |
| xas_find_conflict | xas_find_conflict() - Find the next present entry in a range.*@xas: XArray operation state.* The @xas describes both a range and a position within that range.* Context: Any context. Expects xa_lock to be held. |
| xa_get_mark | xa_get_mark() - Inquire whether this mark is set on this entry.*@xa: XArray.*@index: Index of entry.*@mark: Mark number.* This function uses the RCU read lock, so the result may be out of date* by the time it returns |
| 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 |