Lines Matching defs:int
27 static int check_quotactl_permission(struct super_block *sb, int type, int cmd,
56 int type = *(int *)arg;
63 static int quota_sync_all(int type)
65 int ret;
73 unsigned int qtype_enforce_flag(int type)
86 static int quota_quotaon(struct super_block *sb, int type, qid_t id,
98 static int quota_quotaoff(struct super_block *sb, int type)
107 static int quota_getfmt(struct super_block *sb, int type, void __user *addr)
119 static int quota_getinfo(struct super_block *sb, int type, void __user *addr)
124 int ret;
147 static int quota_setinfo(struct super_block *sb, int type, void __user *addr)
201 static int quota_getquota(struct super_block *sb, int type, qid_t id,
207 int ret;
237 static int quota_getnextquota(struct super_block *sb, int type, qid_t id,
243 int ret;
287 static int quota_setquota(struct super_block *sb, int type, qid_t id,
313 static int quota_enable(struct super_block *sb, void __user *addr)
324 static int quota_disable(struct super_block *sb, void __user *addr)
335 static int quota_state_to_flags(struct qc_state *state)
337 int flags = 0;
354 static int quota_getstate(struct super_block *sb, int type,
358 int ret;
407 static int compat_copy_fs_qfilestat(struct compat_fs_qfilestat __user *to,
416 static int compat_copy_fs_quota_stat(struct compat_fs_quota_stat __user *to,
434 static int quota_getxstate(struct super_block *sb, int type, void __user *addr)
437 int ret;
452 static int quota_getstatev(struct super_block *sb, int type,
456 int ret;
497 static int quota_getxstatev(struct super_block *sb, int type, void __user *addr)
500 int ret;
624 static int quota_setxquota(struct super_block *sb, int type, qid_t id,
642 int ret;
671 int type, qid_t id)
705 static int quota_getxquota(struct super_block *sb, int type, qid_t id,
711 int ret;
731 static int quota_getnextxquota(struct super_block *sb, int type, qid_t id,
738 int ret;
755 static int quota_rmxquota(struct super_block *sb, void __user *addr)
767 static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id,
770 int ret;
834 static int quotactl_cmd_write(int cmd)
856 static bool quotactl_cmd_onoff(int cmd)
866 static struct super_block *quotactl_block(const char __user *special, int cmd)
872 int error;
917 SYSCALL_DEFINE4(quotactl, unsigned int, cmd, const char __user *, special,
923 int ret;
973 SYSCALL_DEFINE4(quotactl_fd, unsigned int, fd, unsigned int, cmd,
977 unsigned int cmds = cmd >> SUBCMDSHIFT;
978 unsigned int type = cmd & SUBCMDMASK;
980 int ret;