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

Name:rb_inc_page

Proto:static inline void rb_inc_page(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page **bpage)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
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