函数逻辑报告 |
Source Code:mm\slob.c |
Create Date:2022-07-27 17:09:40 |
| Last Modify:2022-05-20 09:26:42 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:End of slob allocator proper. Begin kmem_cache_alloc and kmalloc frontend.
函数原型:static __always_inline void *__do_kmalloc_node(size_t size, gfp_t gfp, int node, unsigned long caller)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| size_t | size | |
| gfp_t | gfp | |
| int | node | |
| unsigned long | caller |
| 475 | gfp与等于gfp_allowed_mask |
| 477 | fs_reclaim_acquire(gfp) |
| 478 | fs_reclaim_release(gfp) |
| 495 | 如果非m则返回:NULL |
| 502 | 否则 |
| 503 | order等于get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory |
| 505 | 如果此条件成立可能性大(为编译器优化)(order)则gfp或等于__GFP_COMP |
| 507 | ret等于slob_new_pages(gfp, order, node) |
| 513 | kmemleak_alloc(ret, size, 1, gfp) |
| 514 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |