函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_check_list - make sure a pointer to a list has the last bits zero

函数原型:static int rb_check_list(struct ring_buffer_per_cpu *cpu_buffer, struct list_head *list)

返回类型:int

参数:

类型参数名称
struct ring_buffer_per_cpu *cpu_buffer
struct list_head *list
1140  如果uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, _list_head - remove any bit != 链表前项)则返回:1
1142  如果uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, _list_head - remove any bit != 链表后项)则返回:1
1144  返回:0
调用者
名称描述
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.