/src/lib/libquota/ |
quota_delete.c | 40 quota_delete(struct quotahandle *qh, const struct quotakey *qk) 48 return __quota_oldfiles_delete(qh, qk); 51 return __quota_kernel_delete(qh, qk);
|
quota_put.c | 40 quota_put(struct quotahandle *qh, const struct quotakey *qk, 49 return __quota_oldfiles_put(qh, qk, qv); 52 return __quota_kernel_put(qh, qk, qv);
|
quota_get.c | 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);
|
quotapvt.h | 66 int __quota_kernel_get(struct quotahandle *qh, const struct quotakey *qk, 68 int __quota_kernel_put(struct quotahandle *qh, const struct quotakey *qk, 70 int __quota_kernel_delete(struct quotahandle *qh, const struct quotakey *qk); 90 int __quota_nfs_get(struct quotahandle *qh, const struct quotakey *qk, 102 int __quota_oldfiles_get(struct quotahandle *qh, const struct quotakey *qk, 104 int __quota_oldfiles_put(struct quotahandle *qh, const struct quotakey *qk, 106 int __quota_oldfiles_delete(struct quotahandle *qh, const struct quotakey *qk);
|
quota_oldfiles.c | 480 __quota_oldfiles_doget(struct quotahandle *qh, const struct quotakey *qk, 494 switch (qk->qk_idtype) { 506 if (qk->qk_id == QUOTA_DEFAULTID) { 509 pos = qk->qk_id * sizeof(struct dqblk); 524 switch (qk->qk_objtype) { 536 if (qk->qk_id == QUOTA_DEFAULTID) { 540 } else if (qk->qk_id == 0) { 566 __quota_oldfiles_doput(struct quotahandle *qh, const struct quotakey *qk, 581 switch (qk->qk_idtype) { 593 if (qk->qk_id == QUOTA_DEFAULTID) [all...] |
quota_kernel.c | 195 __quota_kernel_get(struct quotahandle *qh, const struct quotakey *qk, 201 args.u.get.qc_key = qk; 207 __quota_kernel_put(struct quotahandle *qh, const struct quotakey *qk, 213 args.u.put.qc_key = qk; 219 __quota_kernel_delete(struct quotahandle *qh, const struct quotakey *qk) 224 args.u.del.qc_key = qk;
|
quota_nfs.c | 129 __quota_nfs_get(struct quotahandle *qh, const struct quotakey *qk, 140 switch (qk->qk_idtype) { 152 switch (qk->qk_objtype) { 177 ext_gq_args.gqa_id = qk->qk_id; 186 gq_args.gqa_uid = qk->qk_id; 223 if (qk->qk_objtype == QUOTA_OBJTYPE_BLOCKS) {
|
/src/libexec/rpc.rquotad/ |
rquotad.c | 217 struct quotakey qk; local in function:sendquota 278 qk.qk_id = ext_getq_args.gqa_id; 279 qk.qk_idtype = idtype; 280 qk.qk_objtype = QUOTA_OBJTYPE_BLOCKS; 281 if (quota_get(qh, &qk, &blocks) < 0) { 288 qk.qk_objtype = QUOTA_OBJTYPE_FILES; 289 if (quota_get(qh, &qk, &files) < 0) {
|
/src/usr.sbin/edquota/ |
edquota.c | 410 struct quotakey qk; local in function:dogetprivs2 412 qk.qk_idtype = idtype; 413 qk.qk_id = defaultq ? QUOTA_DEFAULTID : id; 414 qk.qk_objtype = objtype; 415 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) { 426 qk.qk_id = QUOTA_DEFAULTID; 427 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) { 510 struct quotakey qk; local in function:putprivs2 528 qk.qk_idtype = idtype; 529 qk.qk_id = id 637 struct quotakey qk; local in function:clearpriv [all...] |
/src/usr.sbin/repquota/ |
repquota.c | 229 struct quotakey qk; local in function:repquota 248 if (quotacursor_get(qc, &qk, &qv)) { 251 if (qk.qk_idtype != idtype) { 256 if (qk.qk_id == QUOTA_DEFAULTID) { 259 if ((fup = lookup(qk.qk_id, idtype)) == 0) 260 fup = addid(qk.qk_id, idtype, (char *)0); 263 if (qk.qk_objtype == QUOTA_OBJTYPE_BLOCKS) { 265 } else if (qk.qk_objtype == QUOTA_OBJTYPE_FILES) {
|
/src/sys/ufs/ufs/ |
ufs_quota2.c | 683 quota2_handle_cmd_del(struct ufsmount *ump, const struct quotakey *qk) 696 idtype = qk->qk_idtype; 697 id = qk->qk_id; 698 objtype = qk->qk_objtype; 798 quota2_fetch_q2e(struct ufsmount *ump, const struct quotakey *qk, 807 error = dqget(NULLVP, qk->qk_id, ump, qk->qk_idtype, &dq); 817 error = getq2e(ump, qk->qk_idtype, dq->dq2_lblkno, dq->dq2_blkoff, 833 quota2_fetch_quotaval(struct ufsmount *ump, const struct quotakey *qk, 843 error = dqget(NULLVP, qk->qk_id, ump, qk->qk_idtype, &dq) [all...] |
ufs_quota.c | 350 const struct quotakey *qk; local in function:quota_handle_cmd_get 354 qk = args->u.get.qc_key; 360 error = quota_get_auth(mp, l, qk->qk_id); 365 error = quota1_handle_cmd_get(ump, qk, qv); 370 error = quota2_handle_cmd_get(ump, qk, qv); 386 const struct quotakey *qk; local in function:quota_handle_cmd_put 392 qk = args->u.put.qc_key; 398 kauth_id = qk->qk_id; 412 error = quota1_handle_cmd_put(ump, qk, qv); 417 error = quota2_handle_cmd_put(ump, qk, qv) 434 const struct quotakey *qk; local in function:quota_handle_cmd_del [all...] |
ufs_quota1.c | 484 quota1_handle_cmd_get(struct ufsmount *ump, const struct quotakey *qk, 493 idtype = qk->qk_idtype; 494 id = qk->qk_id; 520 switch (qk->qk_objtype) {
|
/src/sys/ufs/lfs/ |
ulfs_quota.c | 355 const struct quotakey *qk; local in function:quota_handle_cmd_get 358 qk = args->u.get.qc_key; 363 error = quota_get_auth(mp, l, qk->qk_id); 369 error = lfsquota1_handle_cmd_get(ump, qk, qv); 375 error = lfsquota2_handle_cmd_get(ump, qk, qv); 392 const struct quotakey *qk; local in function:quota_handle_cmd_put 397 qk = args->u.put.qc_key; 402 kauth_id = qk->qk_id; 417 error = lfsquota1_handle_cmd_put(ump, qk, qv); 423 error = lfsquota2_handle_cmd_put(ump, qk, qv) 441 const struct quotakey *qk; local in function:quota_handle_cmd_del [all...] |
ulfs_quota2.c | 681 lfsquota2_handle_cmd_del(struct ulfsmount *ump, const struct quotakey *qk) 694 idtype = qk->qk_idtype; 695 id = qk->qk_id; 696 objtype = qk->qk_objtype; 791 quota2_fetch_q2e(struct ulfsmount *ump, const struct quotakey *qk, 801 error = lfs_dqget(NULLVP, qk->qk_id, ump, qk->qk_idtype, &dq); 811 error = getq2e(ump, qk->qk_idtype, dq->dq2_lblkno, dq->dq2_blkoff, 827 quota2_fetch_quotaval(struct ulfsmount *ump, const struct quotakey *qk, 838 error = lfs_dqget(NULLVP, qk->qk_id, ump, qk->qk_idtype, &dq) [all...] |
ulfs_quota1.c | 474 lfsquota1_handle_cmd_get(struct ulfsmount *ump, const struct quotakey *qk, 483 idtype = qk->qk_idtype; 484 id = qk->qk_id; 510 switch (qk->qk_objtype) {
|
/src/usr.bin/quota/ |
quota.c | 484 struct quotakey qk; local in function:getprivs 510 qk.qk_idtype = idtype; 512 qk.qk_id = QUOTA_DEFAULTID; 514 qk.qk_id = id; 517 qk.qk_objtype = j; 518 if (quota_get(qup->qh, &qk, &qup->qvs[j]) < 0) {
|
/src/usr.sbin/quotarestore/ |
quotarestore.c | 90 qklist_add(struct qklist *l, const struct quotakey *qk) 100 l->keys[l->num++] = *qk;
|