• Home
  • Raw
  • Download

Lines Matching refs:id

23 static int generic_quotactl_valid(struct super_block *sb, int type, int cmd, qid_t id)  in generic_quotactl_valid()  argument
82 if (((type == USRQUOTA && current_euid() != id) || in generic_quotactl_valid()
83 (type == GRPQUOTA && !in_egroup_p(id))) && in generic_quotactl_valid()
95 static int xqm_quotactl_valid(struct super_block *sb, int type, int cmd, qid_t id) in xqm_quotactl_valid() argument
133 if (((type == XQM_USRQUOTA && current_euid() != id) || in xqm_quotactl_valid()
134 (type == XQM_GRPQUOTA && !in_egroup_p(id))) && in xqm_quotactl_valid()
145 static int check_quotactl_valid(struct super_block *sb, int type, int cmd, qid_t id) in check_quotactl_valid() argument
150 error = xqm_quotactl_valid(sb, type, cmd, id); in check_quotactl_valid()
152 error = generic_quotactl_valid(sb, type, cmd, id); in check_quotactl_valid()
154 error = security_quotactl(cmd, type, id, sb); in check_quotactl_valid()
230 static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, void __user *addr) in do_quotactl() argument
240 ret = sb->s_qcop->quota_on(sb, type, id, pathname, 0); in do_quotactl()
280 if ((ret = sb->s_qcop->get_dqblk(sb, type, id, &idq))) in do_quotactl()
291 return sb->s_qcop->set_dqblk(sb, type, id, &idq); in do_quotactl()
320 return sb->s_qcop->set_xquota(sb, type, id, &fdq); in do_quotactl()
325 if ((ret = sb->s_qcop->get_xquota(sb, type, id, &fdq))) in do_quotactl()
375 qid_t, id, void __user *, addr) in SYSCALL_DEFINE4() argument
390 ret = check_quotactl_valid(sb, type, cmds, id); in SYSCALL_DEFINE4()
392 ret = do_quotactl(sb, type, cmds, id, addr); in SYSCALL_DEFINE4()
438 qid_t id, void __user *addr) in sys32_quotactl() argument
455 ret = sys_quotactl(cmd, special, id, dqblk); in sys32_quotactl()
471 ret = sys_quotactl(cmd, special, id, dqblk); in sys32_quotactl()
476 ret = sys_quotactl(cmd, special, id, fsqstat); in sys32_quotactl()
509 ret = sys_quotactl(cmd, special, id, addr); in sys32_quotactl()