函数逻辑报告 |
Source Code:fs\quota\quota.c |
Create Date:2022-07-29 11:10:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Copy parameters and call proper function
函数原型:static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, void __user *addr, const struct path *path)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb | |
int | type | |
int | cmd | |
qid_t | id | |
void __user * | addr | |
const struct path * | path |
694 | 如果非s_quota_types按位与1左移type位的值则返回:负EINVAL |
702 | 当:cmd恒等于urn quotas on |
703 | 返回:quota_quotaon(sb, type, id, path) |
704 | 当:cmd恒等于urn quotas off |
705 | 返回:quota_quotaoff(sb, type) |
707 | 返回:quota_getfmt(sb, type, addr) |
709 | 返回:quota_getinfo(sb, type, addr) |
711 | 返回:quota_setinfo(sb, type, addr) |
712 | 当:cmd恒等于get user quota structure |
713 | 返回:quota_getquota(sb, type, id, addr) |
716 | 当:cmd恒等于set user quota structure |
717 | 返回:quota_setquota(sb, type, id, addr) |
719 | 如果非quota_sync则返回:负ENOSYS |
721 | 返回:quota_sync(sb, type) |
722 | 当:cmd恒等于able accounting/enforcement |
723 | 返回:quota_enable(sb, addr) |
725 | 返回:quota_disable(sb, addr) |
726 | 当:cmd恒等于 disk space used by dquots |
727 | 返回:quota_rmxquota(sb, addr) |
728 | 当:cmd恒等于get quota subsystem status |
729 | 返回:quota_getxstate(sb, type, addr) |
730 | 当:cmd恒等于wer version of get quota |
731 | 返回:quota_getxstatev(sb, type, addr) |
732 | 当:cmd恒等于set disk limits |
733 | 返回:quota_setxquota(sb, type, id, addr) |
734 | 当:cmd恒等于get disk limits and usage |
735 | 返回:quota_getxquota(sb, type, id, addr) |
743 | 默认 |
744 | 返回:负EINVAL |
名称 | 描述 |
---|---|
kernel_quotactl | This is the system call interface. This communicates with* the user-level programs. Currently this only supports diskquota* calls. Maybe we need to add the process quotas etc. in the future,* but we probably should use rlimits for that. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |