函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_mmap_alloc_page

函数原型:static void *perf_mmap_alloc_page(int cpu)

返回类型:void

参数:

类型参数名称
intcpu
785  node等于如果cpu恒等于负1则cpu否则cpu_to_node(cpu)
786  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.
787  如果非page则返回:NULL
790  返回:page_address(page)
调用者
名称描述
rb_alloc