函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\slab.h Create Date:2022-07-27 06:59:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kmalloc_node

函数原型:static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node)

返回类型:void

参数:

类型参数名称
size_tsize
gfp_tflags
intnode
579  返回:__kmalloc_node(size, flags, node)
调用者
名称描述
kmalloc_node_oob_right
test_kmalloc_nodeAllocator 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())* | | |
gen_pool_creategen_pool_create - create a new special memory pool*@min_alloc_order: log base 2 of number of bytes each bitmap bit represents*@nid: node id of the node the pool structure should be allocated on, or -1* Create a new special memory pool that can be used to
add_del_listener
__bpf_map_area_alloc
alloc_htab_elem
lpm_trie_node_alloc
cgroup_storage_update_elem
cgroup_storage_map_alloc
bpf_cgroup_storage_alloc
__dev_map_alloc_node
alloc_callchain_buffers
kvmalloc_nodekvmalloc_node - attempt to allocate physically contiguous memory, but upon* failure, fall back to non-contiguous (vmalloc) allocation
bdi_alloc_node
new_vmap_blockw_vmap_block - allocates new vmap_block and occupies 2^order pages in this* block
__vmalloc_area_node
zswap_dstmem_prepare
dma_pool_createdma_pool_create - Creates a pool of consistent memory blocks, for dma
alloc_arraycache
__alloc_alien_cache
init_cache_node
init_listswap the static kmem_cache_node with kmalloced memory
setup_cpu_cache
kyber_init_hctx
bfq_create_group_hierarchy
kmalloc_array_node
kzalloc_node根据内存节点分配内存