函数逻辑报告 |
Source Code:mm\util.c |
Create Date:2022-07-27 15:45:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kstrndup - allocate space for and copy an existing string*@s: the string to duplicate*@max: read at most @max chars from @s*@gfp: the GFP mask used in the kmalloc() call when allocating memory* Note: Use kmemdup_nul() instead if the size is known exactly
函数原型:char *kstrndup(const char *s, size_t max, gfp_t gfp)
返回类型:char
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | s | |
size_t | max | |
gfp_t | gfp |
101 | 如果非s则返回:NULL |
105 | buf等于kmalloc_track_caller(len + 1, gfp) |
106 | 如果buf则 |
110 | 返回:buf |
名称 | 描述 |
---|---|
__kstrncpy | XXX: move to kstrncpy() once merged.* Users should use kfree_const() when freeing these. |
trigger_request_store | |
trigger_async_request_store | |
trigger_custom_fallback_store | |
__kstrncpy | XXX: move to kstrncpy() once merged.* Users should use kfree_const() when freeing these. |
wakelock_lookup_add | |
__parse_imm_string | |
vmpressure_register_event | vmpressure_register_event() - Bind vmpressure notifications to an eventfd*@memcg: memcg that is interested in vmpressure notifications*@eventfd: eventfd context to link notifications with*@args: event arguments (pressure level threshold, optional mode)* |
argv_split | argv_split - split a string at whitespace, returning an argv*@gfp: the GFP mask used to allocate memory*@str: the string to be split*@argcp: returned argument count* Returns an array of pointers to strings which are split out from*@str |
resume_store | |
unpack_profile | pack_profile - unpack a serialized profile*@e: serialized data extent information (NOT NULL)* NOTE: unpack profile sets audit struct if there is a failure |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |