函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Also stolen from mm/slob.c. Thanks to Mathieu Desnoyers for pointing* this issue out.

函数原型:static void free_buffer_page(struct buffer_page *bpage)

返回类型:void

参数:

类型参数名称
struct buffer_page *bpage
354  free_page((unsignedlong)Actual data page )
355  kfree(bpage)
调用者
名称描述
__rb_allocate_pages
rb_allocate_cpu_buffer
rb_free_cpu_buffer
rb_remove_pages
rb_insert_pages
ring_buffer_resizeg_buffer_resize - resize the ring buffer*@buffer: the buffer to resize.*@size: the new size.*@cpu_id: the cpu buffer to resize* Minimum size is 2 * BUF_PAGE_SIZE.* Returns 0 on success and < 0 on failure.