Function report |
Source Code:lib\xarray.c |
Create Date:2022-07-28 06:13:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xa_store_range() - Store this entry at a range of indices in the XArray
Proto:void *xa_store_range(struct xarray *xa, unsigned long first, unsigned long last, void *entry, gfp_t gfp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xarray * | xa | |
| unsigned long | first | |
| unsigned long | last | |
| void * | entry | |
| gfp_t | gfp |
| 1565 | If last < first Then Return We encode errnos in the xas->xa_node. If an error has happened, we need to* drop the lock to fix it, and once we've done so the xa_state is invalid.( - EINVAL) |
| 1568 | Do |
| 1570 | If entry Then |
| 1571 | order = BITS_PER_LONG |
| 1579 | Do |
| 1580 | xas_set_range( & xas, first, last) |
| 1586 | unlock : |
| 1587 | xas_unlock( & xas) |
| 1590 | Return xas_result( & xas, NULL) |
| Name | Describe |
|---|---|
| __check_store_range |
| 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 |