Lines Matching refs:idq
206 struct if_dqblk idq; in quota_getquota() local
217 copy_to_if_dqblk(&idq, &fdq); in quota_getquota()
222 if (copy_to_user(compat_dqblk, &idq, sizeof(*compat_dqblk))) in quota_getquota()
224 if (put_user(idq.dqb_valid, &compat_dqblk->dqb_valid)) in quota_getquota()
227 if (copy_to_user(addr, &idq, sizeof(idq))) in quota_getquota()
242 struct if_nextdqblk idq; in quota_getnextquota() local
254 copy_to_if_dqblk((struct if_dqblk *)&idq, &fdq); in quota_getnextquota()
255 idq.dqb_id = from_kqid(current_user_ns(), qid); in quota_getnextquota()
256 if (copy_to_user(addr, &idq, sizeof(idq))) in quota_getnextquota()
291 struct if_dqblk idq; in quota_setquota() local
297 if (copy_from_user(&idq, compat_dqblk, sizeof(*compat_dqblk)) || in quota_setquota()
298 get_user(idq.dqb_valid, &compat_dqblk->dqb_valid)) in quota_setquota()
301 if (copy_from_user(&idq, addr, sizeof(idq))) in quota_setquota()
309 copy_from_if_dqblk(&fdq, &idq); in quota_setquota()