函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rb_inc_page

函数原型:static inline void rb_inc_page(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page **bpage)

返回类型:void

参数:

类型参数名称
struct ring_buffer_per_cpu *cpu_buffer
struct buffer_page **bpage
1001  p等于_list_head - remove any bit
1003  bpage等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(p, structbuffer_page, list)
调用者
名称描述
rb_set_head_page
rb_remove_pages
rb_inc_iter
rb_handle_head_page_handle_head_page - writer hit the head page* Returns: +1 to retry page* 0 to continue* -1 on error
rb_move_tailThis is the slow path, force gcc not to inline it.
rb_set_commit_to_write
rb_decrement_entryDecrement the entries to the page that an event is on.* The event does not even need to exist, only the pointer* to the page it is on. This may only be called before the commit* takes place.
rb_get_reader_page