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

Name:_set_list_to_head - set a list_head to be pointing to head.

Proto:static void rb_set_list_to_head(struct ring_buffer_per_cpu *cpu_buffer, struct list_head *list)

Type:void

Parameter:

TypeParameterName
struct ring_buffer_per_cpu *cpu_buffer
struct list_head *list
904  ptr = (unsigned long * ) & next
905  ptr |= RB_PAGE_HEAD
906  ptr &= ~RB_PAGE_UPDATE
Caller
NameDescribe
rb_head_page_activate_head_page_activate - sets up head page
rb_get_reader_page