函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Invalidate all dquots on the list

函数原型:static void invalidate_dquots(struct super_block *sb, int type)

返回类型:void

参数:

类型参数名称
struct super_block *sb
inttype
540  restart :
541  加自旋锁
543  如果 superblock this applies to 不等于sb则继续下一循环
545  如果 USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) 不等于type则继续下一循环
548  如果atomic_read( & Use count )则
549  dqgrab(dquot)
550  自旋锁解锁
559  wait_event - sleep until a condition gets true*@wq_head: the waitqueue to wait on*@condition: a C expression for the event to wait for* The process is put to sleep (TASK_UNINTERRUPTIBLE) until the*@condition evaluates to true(dquot_ref_wq, atomic_read( & Use count ) == 1)
561  Put reference to dquot
565  转到:restart
571  remove_dquot_hash(dquot)
572  remove_free_dquot(dquot)
573  remove_inuse(dquot)
574  do_destroy_dquot(dquot)
576  自旋锁解锁
调用者
名称描述
dquot_disableTurn quota off on a device. type == -1 ==> quotaoff for all types (umount)