Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:53:43
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rb_page_write

Proto:static inline unsigned long rb_page_write(struct buffer_page *bpage)

Type:unsigned long

Parameter:

TypeParameterName
struct buffer_page *bpage
1491  Return 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.
Caller
NameDescribe
rb_try_to_discard
rb_set_commit_to_write