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_write_file_info
Proto:static int v1_write_file_info(struct super_block *sb, int type)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
int | type |
192 | lock for writing |
193 | ret = quota_read(sb, type, (char * ) & dqblk, sizeof(structv1_disk_dqblk), v1_dqoff(0)) |
195 | If ret != sizeof(structv1_disk_dqblk) Then |
200 | spin_lock( & dq_data_lock) |
204 | spin_unlock( & dq_data_lock) |
205 | ret = quota_write(sb, type, (char * ) & dqblk, sizeof(structv1_disk_dqblk), v1_dqoff(0)) |
207 | If ret == sizeof(structv1_disk_dqblk) Then ret = 0 |
211 | out : |
213 | 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 |