函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-29 10:45:26
Last Modify:2020-03-18 10:38:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:free_buffer_head

函数原型:void free_buffer_head(struct buffer_head *bh)

返回类型:void

参数:

类型参数名称
struct buffer_head *bh
3399  BUG_ON(!链表为空)
3400  kmem_cache_free(Buffer-head allocation, bh)
3401  禁止抢占()
3402  __this_cpu_dec(nr)
3403  recalc_bh_state()
3404  禁用抢占和中断()
调用者
名称描述
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