函数逻辑报告 |
Source Code:lib\kasprintf.c |
Create Date:2022-07-27 07:17:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Simplified asprintf.
函数原型:char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap)
返回类型:char
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| gfp_t | gfp | |
| const char * | fmt | |
| va_list | ap |
| 25 | p等于kmalloc_track_caller(first + 1, gfp) |
| 26 | 如果非p则返回:NULL |
| 30 | WARN(first != second, "different return values (%u and %u) from vsnprintf(\"%s\", ...)", first, second, fmt) |
| 33 | 返回:p |
| 名称 | 描述 |
|---|---|
| kvasprintf_const | If fmt contains no % (or is exactly %s), use kstrdup_const. If fmt* (or the sole vararg) points to rodata, we will then save a memory* allocation and string copy. In any case, the return value should be* freed using kfree_const(). |
| kasprintf | |
| __test | |
| logfc | logfc - Log a message to a filesystem context*@fc: The filesystem context to log to.*@fmt: The format of the buffer. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |