Function report |
Source Code:fs\quota\quota.c |
Create Date:2022-07-28 20:33:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return quota for next active quota >= this id, if any exists,* otherwise return -ENOENT via ->get_nextdqblk
Proto:static int quota_getnextquota(struct super_block *sb, int type, qid_t id, void __user *addr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
int | type | |
qid_t | id | |
void __user * | addr |
231 | If Not get_nextdqblk Then Return -ENOSYS |
234 | If Not qid_has_mapping - Report if a qid maps into a user namespace.*@ns: The user namespace to see if a value maps into.*@qid: The kernel internal quota identifier to test. Then Return -EINVAL |
236 | ret = get_nextdqblk(sb, & qid, & fdq) |
240 | copy_to_if_dqblk((structif_dqblk * ) & idq, & fdq) |
241 | dqb_id = from_kqid(current_user_ns(), qid) |
242 | If copy_to_user(addr, & idq, size of idq ) Then Return -EFAULT |
244 | 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 |