函数逻辑报告 |
Source Code:mm\util.c |
Create Date:2022-07-27 15:45:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kstrdup_const - conditionally duplicate an existing const string*@s: the string to duplicate*@gfp: the GFP mask used in the kmalloc() call when allocating memory* Note: Strings allocated by kstrdup_const should be freed by kfree_const.
函数原型:const char *kstrdup_const(const char *s, gfp_t gfp)
返回类型:char
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | s | |
gfp_t | gfp |
79 | 如果s_kernel_rodata - checks if the pointer address is located in the* .rodata section*@addr: address to check* Returns: true if the address is located in .rodata, false otherwise.则返回:s |
名称 | 描述 |
---|---|
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(). |
devm_gen_pool_create | devm_gen_pool_create - managed gen_pool_create*@dev: device that provides the gen_pool*@min_alloc_order: log base 2 of number of bytes each bitmap bit represents*@nid: node selector for allocated gen_pool, %NUMA_NO_NODE for all nodes*@name: name of a |
kmem_cache_create_usercopy | kmem_cache_create_usercopy - Create a cache with a region suitable* for copying to userspace*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache. |
kobject_rename | kobject_rename() - Change the name of an object |
create_new_subsystem | |
alloc_vfsmnt |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |