函数逻辑报告 |
Source Code:fs\quota\quota.c |
Create Date:2022-07-29 11:10:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return quota for next active quota >= this id, if any exists,* otherwise return -ENOENT via ->get_nextdqblk.
函数原型:static int quota_getnextxquota(struct super_block *sb, int type, qid_t id, void __user *addr)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct super_block * | sb | |
| int | type | |
| qid_t | id | |
| void __user * | addr |
| 655 | 如果非get_nextdqblk则返回:负ENOSYS |
| 658 | 如果非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.则返回:负EINVAL |
| 660 | ret等于get_nextdqblk(sb, & qid, & qdq) |
| 663 | id_out等于from_kqid(current_user_ns(), qid) |
| 664 | copy_to_xfs_dqblk( & fdq, & qdq, type, id_out) |
| 665 | 如果copy_to_user(addr, & fdq, fdq的长度)则返回:负EFAULT |
| 667 | 返回:ret |
| 名称 | 描述 |
|---|---|
| do_quotactl | Copy parameters and call proper function |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |