函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rb_page_commit

函数原型:static __always_inline unsigned rb_page_commit(struct buffer_page *bpage)

返回类型:unsigned

参数:

类型参数名称
struct buffer_page *bpage
1925  返回:local_read( & write committed index )
调用者
名称描述
rb_page_sizeSize is determined by what has been committed
rb_commit_index
rb_per_cpu_empty
ring_buffer_iter_emptyg_buffer_iter_empty - check if an iterator has no more to read*@iter: The iterator to check
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