函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Invalidate any and all dirty buffers on a given inode. We are* probably unmounting the fs, but that doesn't mean we have already* done a sync(). Just drop the buffers from the inode list.* NOTE: we take the inode's blockdev's mapping's private_lock. Which

函数原型:void invalidate_inode_buffers(struct inode *inode)

返回类型:void

参数:

类型参数名称
struct inode *inode
803  如果inode_has_buffers(inode)则
804  mapping等于i_data
805  list等于private_list
806  buffer_mapping等于private_data
808  加自旋锁
809  当非链表为空循环
810  The buffer's backing address_space's private_lock must be held
811  自旋锁解锁
调用者
名称描述
bdev_evict_inode