函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:23:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kmalloc_large_node

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

返回类型:void

参数:

类型参数名称
size_tsize
gfp_tflags
intnode
3813  void * ptr = NULL
3814  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
3816  flags或等于__GFP_COMP
3817  page等于Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online.
3818  如果page
3819  ptr等于page_address(page)
3820  mod_node_page_state(page_pgdat(page), NR_SLAB_UNRECLAIMABLE, 1 << order)
3824  返回:Hooks for other subsystems that check memory allocations. In a typical* production configuration these hooks all should produce no code at all.
调用者
名称描述
__kmalloc_node
__kmalloc_node_track_caller