函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-29 10:45:28
Last Modify:2020-03-18 10:38:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:buffer_init

函数原型:void __init buffer_init(void)

返回类型:void

参数:

3471  Buffer-head allocation等于创建高速缓存区
3480  nrpages等于r_free_buffer_pages - count number of pages beyond high watermark* nr_free_buffer_pages() counts the number of pages which are beyond the high* watermark within ZONE_DMA and ZONE_NORMAL.* Return: number of pages beyond high watermark within ZONE_DMA and乘10除100
3481  Once the number of bh's in the machine exceeds this level, we start* stripping them in writeback.等于nrpagesPAGE_SIZEsizeof(structbuffer_head)
3482  ret等于puhp_setup_state_nocalls - Setup hotplug state callbacks without calling the* callbacks*@state: The state for which the calls are installed*@name: Name of the callback
3484  WARN_ON(ret < 0)
调用者
名称描述
start_kernel启动内核