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:26
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_check_list - make sure a pointer to a list has the last bits zero

Proto:static int rb_check_list(struct ring_buffer_per_cpu *cpu_buffer, struct list_head *list)

Type:int

Parameter:

TypeParameterName
struct ring_buffer_per_cpu *cpu_buffer
struct list_head *list
1140  If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, _list_head - remove any bit != prev) Then Return 1
1142  If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, _list_head - remove any bit != next) Then Return 1
1144  Return 0
Caller
NameDescribe
rb_check_pages_check_pages - integrity check of buffer pages*@cpu_buffer: CPU buffer with pages to test* As a safety measure we check to make sure the data pages have not* been corrupted.