函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rb_alloc_aux_page

函数原型:static struct page *rb_alloc_aux_page(int node, int order)

返回类型:struct page

参数:

类型参数名称
intnode
intorder
607  如果order大于Free memory management - zoned buddy allocator. order等于Free memory management - zoned buddy allocator.
610  循环
611  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.
612  当非pageorder自减循环
614  如果pageorder
621  split_page(page, order)
622  Private page markings that may be used by the filesystem that owns the page* for its own purposes.* - PG_private and PG_private_2 cause releasepage() and co to be invoked
623  set_page_private(page, order)
626  返回:page
调用者
名称描述
rb_alloc_aux