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_getinfo
Proto:static int quota_getinfo(struct super_block *sb, int type, void __user *addr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
int | type | |
void __user * | addr |
127 | tstate = Per quota type information + type |
128 | If Not (Flags QCI_* & Quota accounting enabled ) Then Return -ESRCH |
133 | If Flags QCI_* & Quota file is hidden from userspace Then DFQ_* |= Quota stored in a system file |
135 | If Flags QCI_* & Root squash turned on Then DFQ_* |= Root squash enabled (for v1 quota format) |
138 | If copy_to_user(addr, & uinfo, size of uinfo ) Then Return -EFAULT |
140 | Return 0 |
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 |