Function report |
Source Code:mm\util.c |
Create Date:2022-07-28 14:21:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kvmalloc_node - attempt to allocate physically contiguous memory, but upon* failure, fall back to non-contiguous (vmalloc) allocation
Proto:void *kvmalloc_node(size_t size, gfp_t flags, int node)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
size_t | size | |
gfp_t | flags | |
int | node |
550 | kmalloc_flags = flags |
557 | If (flags & GFP_KERNEL) != GFP_KERNEL Then Return kmalloc_node(size, flags, node) |
570 | If Not (kmalloc_flags & __GFP_RETRY_MAYFAIL) Then kmalloc_flags |= __GFP_NORETRY |
574 | ret = kmalloc_node(size, kmalloc_flags, node) |
583 | Return __vmalloc_node_flags_caller(size, node, flags, __builtin_return_address(0)) |
Name | Describe |
---|---|
test_kvmalloc_node | Allocator uses a trailing node argument --------+ (e.g. kmalloc_node())* Allocator uses the gfp_t argument -----------+ | (e.g. kmalloc())* Allocator uses a special leading argument + | | (e.g. devm_kmalloc())* | | | |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |