函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Get a partial page, lock it and return it.

函数原型:static void *get_partial(struct kmem_cache *s, gfp_t flags, int node, struct kmem_cache_cpu *c)

返回类型:void

参数:

类型参数名称
struct kmem_cache *s
gfp_tflags
intnode
struct kmem_cache_cpu *c
1953  searchnode等于node
1955  如果node恒等于NUMA_NO_NODEsearchnode等于Returns the number of the nearest Node with memory
1957  否则如果非node_present_pages(node)则searchnode等于node_to_mem_node(node)
1960  object等于Try to allocate a partial slab from a specific node.
1961  如果objectnode不等于NUMA_NO_NODE则返回:object
1964  返回:Get a page from somewhere. Search in increasing NUMA distances.
调用者
名称描述
new_slab_objects