函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\drop_caches.c Create Date:2022-07-29 11:06:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:drop_pagecache_sb

函数原型:static void drop_pagecache_sb(struct super_block *sb, void *unused)

返回类型:void

参数:

类型参数名称
struct super_block *sb
void *unused
19  struct inode * inode, * toput_inode = NULL
21  加自旋锁
23  加自旋锁
29  如果Misc 按位与I_FREEING按位或I_WILL_FREE按位或I_NEW的值或nrpages恒等于0且非need_resched()则
31  自旋锁解锁
32  继续下一循环
34  __iget(inode)
35  自旋锁解锁
36  自旋锁解锁
38  validate_mapping_pages - Invalidate all the unlocked pages of one inode*@mapping: the address_space which holds the pages to invalidate*@start: the offset 'from' which to invalidate*@end: the offset 'to' which to invalidate (inclusive)* This function only
39  放置一个索引节点
40  toput_inode等于inode
42  cond_resched()
43  加自旋锁
45  自旋锁解锁
46  放置一个索引节点