Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-28 20:14:13
Last Modify:2020-03-18 10:38:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:free_buffer_head

Proto:void free_buffer_head(struct buffer_head *bh)

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
3399  BUG_ON(!list_empty - tests whether a list is empty*@head: the list to test.)
3400  kmem_cache_free(Buffer-head allocation, bh)
3401  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
3402  __this_cpu_dec(nr)
3403  recalc_bh_state()
3404  preempt_enable()
Caller
NameDescribe
alloc_page_buffersCreate the appropriate buffers when given a page for data area and* the size of each buffer
nobh_write_end
try_to_free_buffers