函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rb_page_write

函数原型:static inline unsigned long rb_page_write(struct buffer_page *bpage)

返回类型:unsigned long

参数:

类型参数名称
struct buffer_page *bpage
1491  返回:local_read( & dex for next write )按位与The buffer page counters, write and entries, must be reset* atomically when crossing page boundaries. To synchronize this* update, two counters are inserted into the number. One is* the actual counter for the write position or count on the page.
调用者
名称描述
rb_try_to_discard
rb_set_commit_to_write