Function report |
Source Code:fs\quota\quota_v1.c |
Create Date:2022-07-28 20:33:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:v1_read_dqblk
Proto:static int v1_read_dqblk(struct dquot *dquot)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct dquot * | dquot |
60 | dqopt = sb_dqopt( superblock this applies to ) |
62 | If Not inodes of quotafiles [type] Then Return -EINVAL |
66 | memset( & dqblk, 0, sizeof(structv1_disk_dqblk)) |
71 | v1_disk2mem_dqblk( & Diskquota usage [dq_dqb_lock] , & dqblk) |
72 | If absolute limit on disk blks alloc == 0 && preferred limit on disk blks == 0 && absolute limit on allocated inodes == 0 && preferred inode limit == 0 Then Atomically set a bit in memory |
79 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |