函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Generic routine for setting common part of quota file information

函数原型:int dquot_set_dqinfo(struct super_block *sb, int type, struct qc_info *ii)

返回类型:int

参数:

类型参数名称
struct super_block *sb
inttype
struct qc_info *ii
2799  err等于0
2801  如果mask of fields to change in ->set_info() 按位与QC_WARNS_MASKmask of fields to change in ->set_info() 按位与QC_RT_SPC_TIMER则返回:负EINVAL
2804  如果非sb_has_quota_active(sb, type)则返回:负ESRCH
2806  mi等于 Information for each quota type type
2807  如果mask of fields to change in ->set_info() 按位与QC_FLAGS
2808  如果Flags QCI_* 按位与Root squash turned on Quota format id 不等于Quota format type IDs 则返回:负EINVAL
2812  加自旋锁
2813  如果mask of fields to change in ->set_info() 按位与QC_SPC_TIMER Space grace time [dq_data_lock] 等于Time after which space softlimit is* enforced
2815  如果mask of fields to change in ->set_info() 按位与QC_INO_TIMER Inode grace time [dq_data_lock] 等于Ditto for inode softlimit
2817  如果mask of fields to change in ->set_info() 按位与QC_FLAGS
2818  如果Flags QCI_* 按位与Root squash turned on DFQ_ flags [dq_data_lock] 或等于Root squash enabled (for v1 quota format)
2820  否则 DFQ_ flags [dq_data_lock] 与等于Root squash enabled (for v1 quota format) 的反
2823  自旋锁解锁
2824  mark_info_dirty(sb, type)
2826  write_info(sb, type)
2827  返回:err