Function report |
Source Code:fs\quota\quota.c |
Create Date:2022-07-28 20:33:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:quota_setinfo
Proto:static int quota_setinfo(struct super_block *sb, int type, void __user *addr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
int | type | |
void __user * | addr |
148 | If copy_from_user( & info, addr, size of info ) Then Return -EFAULT |
152 | If dqi_valid & ~( IIF_FLAGS | Structure used for setting quota information about file via quotactl* Following flags are used to specify which fields are valid | IIF_IGRACE) Then Return -EINVAL |
156 | If DFQ_* & ~Mask for flags modifiable from userspace Then Return -EINVAL |
158 | If DFQ_* & Root squash enabled (for v1 quota format) Then Flags QCI_* |= Root squash turned on |
166 | If dqi_valid & IIF_IGRACE Then |
Name | Describe |
---|---|
do_quotactl | Copy parameters and call proper function |
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 |