函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This operation can block, but only after everything is updated

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

返回类型:void

参数:

类型参数名称
struct inode *inode
1910  如果非dquot_active(inode)则返回
1913  dquots等于i_dquot(inode)
1914  index等于srcu_read_lock - register a new reader for an SRCU-protected structure
1915  加自旋锁
1916 cnt小于MAXQUOTAS循环
1919  w_type等于Definitions for quota netlink interface
1920  如果非dquots[cnt]则继续下一循环
1922  加自旋锁
1923  wtype等于info_idq_free(dquots[cnt], 1)
1924  如果wtype不等于Definitions for quota netlink interfaceprepare_warning( & warn[cnt], dquots[cnt], wtype)
1926  dquot_decr_inodes(dquots[cnt], 1)
1927  自旋锁解锁
1929  自旋锁解锁
1930  Dirtify all the dquots - this can block when journalling
1931  注销过期读锁
1932  Write warnings to the console and send warning messages over netlink.* Note that this function can call into tty and networking code.