Function report |
Source Code:fs\quota\quota_v1.c |
Create Date:2022-07-28 20:33:05 |
| 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_file_info
Proto:static int v1_read_file_info(struct super_block *sb, int type)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb | |
| int | type |
| 165 | lock for reading |
| 166 | ret = quota_read(sb, type, (char * ) & dqblk, sizeof(structv1_disk_dqblk), v1_dqoff(0)) |
| 168 | If ret != sizeof(structv1_disk_dqblk) Then |
| 173 | ret = 0 |
| 175 | Maximum space limit [static] = 0xffffffffULL << QUOTABLOCK_BITS |
| 176 | Maximum inode limit [static] = 0xffffffff |
| 177 | Inode grace time [dq_data_lock] = If ime limit for excessive inode use Then ime limit for excessive inode use Else (7*24*60*60) 1 week |
| 179 | Space grace time [dq_data_lock] = If ime limit for excessive disk use Then ime limit for excessive disk use Else (7*24*60*60) 1 week |
| 181 | out : |
| 183 | Return ret |
| 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 |