函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:copy_to_if_dqblk

函数原型:static void copy_to_if_dqblk(struct if_dqblk *dst, struct qc_dqblk *src)

返回类型:void

参数:

类型参数名称
struct if_dqblk *dst
struct qc_dqblk *src
185  memset(dst, 0, dst的长度)
186  dqb_bhardlimit等于stoqb(absolute limit on used space )
187  dqb_bsoftlimit等于stoqb(preferred limit on used space )
188  dqb_curspace等于Space owned by the user
189  dqb_ihardlimit等于maximum # allocated inodes
190  dqb_isoftlimit等于preferred inode limit
191  dqb_curinodes等于# inodes owned by the user
192  dqb_btime等于similar to above; for space
193  dqb_itime等于zero if within inode limits
194  dqb_valid等于QIF_ALL
调用者
名称描述
quota_getquota
quota_getnextquotaReturn quota for next active quota >= this id, if any exists,* otherwise return -ENOENT via ->get_nextdqblk