Lines Matching refs:idq
203 struct if_dqblk idq; in quota_getquota() local
214 copy_to_if_dqblk(&idq, &fdq); in quota_getquota()
219 if (copy_to_user(compat_dqblk, &idq, sizeof(*compat_dqblk))) in quota_getquota()
221 if (put_user(idq.dqb_valid, &compat_dqblk->dqb_valid)) in quota_getquota()
224 if (copy_to_user(addr, &idq, sizeof(idq))) in quota_getquota()
239 struct if_nextdqblk idq; in quota_getnextquota() local
251 copy_to_if_dqblk((struct if_dqblk *)&idq, &fdq); in quota_getnextquota()
252 idq.dqb_id = from_kqid(current_user_ns(), qid); in quota_getnextquota()
253 if (copy_to_user(addr, &idq, sizeof(idq))) in quota_getnextquota()
288 struct if_dqblk idq; in quota_setquota() local
294 if (copy_from_user(&idq, compat_dqblk, sizeof(*compat_dqblk)) || in quota_setquota()
295 get_user(idq.dqb_valid, &compat_dqblk->dqb_valid)) in quota_setquota()
298 if (copy_from_user(&idq, addr, sizeof(idq))) in quota_setquota()
306 copy_from_if_dqblk(&fdq, &idq); in quota_setquota()