函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-27 12:58:17
Last Modify:2020-03-17 19:30:04 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rb_init_page

函数原型:static void rb_init_page(struct buffer_data_page *bpage)

返回类型:void

参数:

类型参数名称
struct buffer_data_page *bpage
345  local_set( & write committed index , 0)
调用者
名称描述
__rb_allocate_pages
rb_allocate_cpu_buffer
ring_buffer_alloc_read_pageg_buffer_alloc_read_page - allocate a page to read from buffer*@buffer: the buffer to allocate for
ring_buffer_read_pageg_buffer_read_page - extract a page from the ring buffer*@buffer: buffer to extract from*@data_page: the page to use allocated from ring_buffer_alloc_read_page*@len: amount to extract*@cpu: the cpu of the buffer to extract