函数逻辑报告 |
Source Code:lib\xarray.c |
Create Date:2022-07-27 07:10:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__xa_alloc() - Find somewhere to store this entry in the XArray
函数原型:int __xa_alloc(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, gfp_t gfp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xarray * | xa | |
u32 * | id | |
void * | entry | |
struct xa_limit | limit | |
gfp_t | gfp |
1619 | 如果WARN_ON_ONCE(!xa_track_free(xa))则返回:负EINVAL |
1622 | 如果非entry则entry等于XA_ZERO_ENTRY |
1625 | 循环 |
名称 | 描述 |
---|---|
__xa_alloc_cyclic | __xa_alloc_cyclic() - Find somewhere to store this entry in the XArray.*@xa: XArray.*@id: Pointer to ID.*@entry: New entry.*@limit: Range of allocated ID.*@next: Pointer to next ID to allocate.*@gfp: Memory allocation flags. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |