Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-28 15:49:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__kmalloc_node_track_caller

Proto:void *__kmalloc_node_track_caller(size_t size, gfp_t gfpflags, int node, unsigned long caller)

Type:void

Parameter:

TypeParameterName
size_tsize
gfp_tgfpflags
intnode
unsigned longcaller
4350  If Value for the false possibility is greater at compile time(size > Maximum size for which we actually use a slab cache ) Then
4351  ret = kmalloc_large_node(size, gfpflags, node)
4353  trace_kmalloc_node(caller, ret, size, PAGE_SIZE << 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, gfpflags, node)
4357  Return ret
4360  s = kmalloc_slab(size, gfpflags)
4362  If Value for the false possibility is greater at compile time(ZERO_OR_NULL_PTR(s)) Then Return s
4365  ret = Inlined fastpath so that allocation functions (kmalloc, kmem_cache_alloc)* have the fastpath folded into their functions. So no function call* overhead for requests that can be satisfied on the fastpath.
4368  trace_kmalloc_node(caller, ret, size, The size of an object including metadata , gfpflags, node)
4370  Return ret