HomeSort by: relevance | last modified time | path
    Searched refs:qv (Results 1 - 19 of 19) sorted by relevancy

  /src/lib/libquota/
quota_get.c 40 quotaval_clear(struct quotaval *qv)
42 qv->qv_hardlimit = QUOTA_NOLIMIT;
43 qv->qv_softlimit = QUOTA_NOLIMIT;
44 qv->qv_usage = 0;
45 qv->qv_expiretime = QUOTA_NOTIME;
46 qv->qv_grace = QUOTA_NOTIME;
50 quota_get(struct quotahandle *qh, const struct quotakey *qk, struct quotaval *qv)
54 return __quota_nfs_get(qh, qk, qv);
57 return __quota_oldfiles_get(qh, qk, qv);
60 return __quota_kernel_get(qh, qk, qv);
    [all...]
quota_put.c 41 const struct quotaval *qv)
49 return __quota_oldfiles_put(qh, qk, qv);
52 return __quota_kernel_put(qh, qk, qv);
quotapvt.h 67 struct quotaval *qv);
69 const struct quotaval *qv);
91 struct quotaval *qv);
103 struct quotaval *qv);
105 const struct quotaval *qv);
124 int __quota_getquota(const char *path, struct quotaval *qv, uid_t id,
quota_oldfiles.c 322 dqblk_getblocks(const struct dqblk *dq, struct quotaval *qv)
324 qv->qv_hardlimit = dqblk_getlimit(dq->dqb_bhardlimit);
325 qv->qv_softlimit = dqblk_getlimit(dq->dqb_bsoftlimit);
326 qv->qv_usage = dq->dqb_curblocks;
327 qv->qv_expiretime = dq->dqb_btime;
328 qv->qv_grace = QUOTA_NOTIME;
332 dqblk_getfiles(const struct dqblk *dq, struct quotaval *qv)
334 qv->qv_hardlimit = dqblk_getlimit(dq->dqb_ihardlimit);
335 qv->qv_softlimit = dqblk_getlimit(dq->dqb_isoftlimit);
336 qv->qv_usage = dq->dqb_curinodes
694 struct quotaval qv; local in function:__quota_oldfiles_delete
    [all...]
quota_kernel.c 196 struct quotaval *qv)
202 args.u.get.qc_val = qv;
208 const struct quotaval *qv)
214 args.u.put.qc_val = qv;
quota_nfs.c 130 struct quotaval *qv)
215 quotaval_clear(qv);
224 *qv = blocks;
226 *qv = inodes;
  /src/usr.bin/quota/
quota.c 91 static int isover(struct quotaval *qv, time_t now);
437 printqv(struct quotaval *qv, int isbytes, time_t now)
452 over = isover(qv, now);
454 str = intprt(buf, width, qv->qv_usage, intprtflags, hflag);
459 str = intprt(buf, width, qv->qv_softlimit, intprtflags, hflag);
462 str = intprt(buf, width, qv->qv_hardlimit, intprtflags, hflag);
466 str = timeprt(buf, 9, now, qv->qv_expiretime);
467 } else if (vflag && qv->qv_grace != QUOTA_NOTIME) {
468 str = timeprt(buf, 9, 0, qv->qv_grace);
581 isover(struct quotaval *qv, time_t now
    [all...]
  /src/usr.sbin/repquota/
repquota.c 119 static int isover(struct quotaval *qv, time_t now);
230 struct quotaval qv; local in function:repquota
248 if (quotacursor_get(qc, &qk, &qv)) {
264 qvp[QUOTA_OBJTYPE_BLOCKS] = qv;
266 qvp[QUOTA_OBJTYPE_FILES] = qv;
390 exportquotaval(const struct quotaval *qv)
392 if (qv->qv_hardlimit == QUOTA_NOLIMIT) {
395 printf(" %llu", (unsigned long long)qv->qv_hardlimit);
398 if (qv->qv_softlimit == QUOTA_NOLIMIT) {
401 printf(" %llu", (unsigned long long)qv->qv_softlimit)
    [all...]
  /src/usr.sbin/edquota/
edquota.c 105 struct quotaval qv[EDQUOTA_NUMOBJTYPES]; member in struct:quotause
222 quotaval_clear(&qup->qv[i]);
310 quotavals_to_dqblk(&qup->qv[QUOTA_LIMIT_BLOCK],
311 &qup->qv[QUOTA_LIMIT_FILE],
397 &qup->qv[QUOTA_LIMIT_BLOCK],
398 &qup->qv[QUOTA_LIMIT_FILE]);
415 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) {
427 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) {
437 quotaval_clear(&qup->qv[objtype]);
531 if (quota_put(qh, &qk, &qup->qv[QO_BLK]))
853 struct quotaval *qv; local in function:readprivs
    [all...]
  /src/sys/arch/vax/vax/
conf.c 50 #include "qv.h"
132 cons_decl(qv);
147 cons_init(qv), /* QVSS bit-mapped console driver */
  /src/sys/ufs/lfs/
ulfs_quota.c 368 struct quotaval *qv = args->u.get.qc_val; local in function:quota_handle_cmd_get
369 error = lfsquota1_handle_cmd_get(ump, qk, qv);
374 struct quotaval *qv = args->u.get.qc_val; local in function:quota_handle_cmd_get
375 error = lfsquota2_handle_cmd_get(ump, qk, qv);
416 const struct quotaval *qv = args->u.put.qc_val; local in function:quota_handle_cmd_put
417 error = lfsquota1_handle_cmd_put(ump, qk, qv);
422 const struct quotaval *qv = args->u.put.qc_val; local in function:quota_handle_cmd_put
423 error = lfsquota2_handle_cmd_put(ump, qk, qv);
ulfs_quota2.c 102 q2val_to_quotaval(struct quota2_val *q2v, struct quotaval *qv)
104 qv->qv_softlimit = q2v->q2v_softlimit;
105 qv->qv_hardlimit = q2v->q2v_hardlimit;
106 qv->qv_usage = q2v->q2v_cur;
107 qv->qv_expiretime = q2v->q2v_time;
108 qv->qv_grace = q2v->q2v_grace;
867 struct quotaval *qv)
903 qk->qk_objtype, qv);
906 error = quota2_fetch_quotaval(ump, qk, qv);
ulfs_quota1.c 475 struct quotaval *qv)
512 *qv = blocks;
515 *qv = files;
  /src/sys/ufs/ufs/
ufs_quota.c 351 struct quotaval *qv; local in function:quota_handle_cmd_get
355 qv = args->u.get.qc_val;
365 error = quota1_handle_cmd_get(ump, qk, qv);
370 error = quota2_handle_cmd_get(ump, qk, qv);
387 const struct quotaval *qv; local in function:quota_handle_cmd_put
393 qv = args->u.put.qc_val;
412 error = quota1_handle_cmd_put(ump, qk, qv);
417 error = quota2_handle_cmd_put(ump, qk, qv);
ufs_quota2.c 97 q2val_to_quotaval(struct quota2_val *q2v, struct quotaval *qv)
99 qv->qv_softlimit = q2v->q2v_softlimit;
100 qv->qv_hardlimit = q2v->q2v_hardlimit;
101 qv->qv_usage = q2v->q2v_cur;
102 qv->qv_expiretime = q2v->q2v_time;
103 qv->qv_grace = q2v->q2v_grace;
872 struct quotaval *qv)
907 qk->qk_objtype, qv);
910 error = quota2_fetch_quotaval(ump, qk, qv);
ufs_quota1.c 485 struct quotaval *qv)
522 *qv = blocks;
525 *qv = files;
  /src/sys/kern/
kern_sysctl.c 1960 sysctlfn func, u_quad_t qv, void *newp, size_t newlen,
2035 nnode.sysctl_alias = qv;
2039 nnode.sysctl_bdata = qv;
2042 nnode.sysctl_idata = qv;
2045 nnode.sysctl_qdata = qv;
  /src/sys/arch/vax/uba/
qv.c 1 /* $NetBSD: qv.c,v 1.38 2021/08/07 16:19:07 thorpej Exp $ */
34 __KERNEL_RCSID(0, "$NetBSD: qv.c,v 1.38 2021/08/07 16:19:07 thorpej Exp $");
59 #include "qv.h"
230 CFATTACH_DECL_NEW(qv, sizeof(struct qv_softc),
255 /* initialize qv interrupt controller */
479 CFARGS(.iattr = "qv")) != NULL) {
481 CFARGS(.iattr = "qv"));
971 cons_decl(qv);
995 printf("qv: could not find 8x15 font\n");
999 printf("qv: could not lock 8x15 font\n")
    [all...]
  /src/sys/sys/
sysctl.h 1173 #define sysctl_createv(lg, cfl, rn, cn, fl, type, nm, desc, fn, qv, newp, ...) \
1174 sysctl_createv(lg, cfl, rn, cn, fl, type, nm, desc, fn, qv, \

Completed in 27 milliseconds