Searched refs:qk (Results 1 - 17 of 17) sorted by relevance

/netbsd-6-1-5-RELEASE/lib/libquota/
H A Dquota_delete.c40 quota_delete(struct quotahandle *qh, const struct quotakey *qk) argument
48 return __quota_oldfiles_delete(qh, qk);
51 return __quota_kernel_delete(qh, qk);
H A Dquota_put.c40 quota_put(struct quotahandle *qh, const struct quotakey *qk, argument
49 return __quota_oldfiles_put(qh, qk, qv);
52 return __quota_kernel_put(qh, qk, qv);
H A Dquota_get.c50 quota_get(struct quotahandle *qh, const struct quotakey *qk, struct quotaval *qv) argument
54 return __quota_nfs_get(qh, qk, qv);
57 return __quota_oldfiles_get(qh, qk, qv);
60 return __quota_kernel_get(qh, qk, qv);
H A Dquotapvt.h66 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);
H A Dquota_oldfiles.c480 __quota_oldfiles_doget(struct quotahandle *qh, const struct quotakey *qk, argument
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, argument
581 switch (qk->qk_idtype) {
593 if (qk
678 __quota_oldfiles_get(struct quotahandle *qh, const struct quotakey *qk, struct quotaval *qv) argument
685 __quota_oldfiles_put(struct quotahandle *qh, const struct quotakey *qk, const struct quotaval *qv) argument
692 __quota_oldfiles_delete(struct quotahandle *qh, const struct quotakey *qk) argument
[all...]
H A Dquota_kernel.c195 __quota_kernel_get(struct quotahandle *qh, const struct quotakey *qk, argument
201 args.u.get.qc_key = qk;
207 __quota_kernel_put(struct quotahandle *qh, const struct quotakey *qk, argument
213 args.u.put.qc_key = qk;
219 __quota_kernel_delete(struct quotahandle *qh, const struct quotakey *qk) argument
224 args.u.delete.qc_key = qk;
H A Dquota_nfs.c129 __quota_nfs_get(struct quotahandle *qh, const struct quotakey *qk, argument
140 switch (qk->qk_idtype) {
152 switch (qk->qk_objtype) {
177 ext_gq_args.gqa_id = qk->qk_id;
185 gq_args.gqa_uid = qk->qk_id;
208 if (qk->qk_objtype == QUOTA_OBJTYPE_BLOCKS) {
/netbsd-6-1-5-RELEASE/libexec/rpc.rquotad/
H A Drquotad.c216 struct quotakey qk; local
277 qk.qk_id = ext_getq_args.gqa_id;
278 qk.qk_idtype = idtype;
279 qk.qk_objtype = QUOTA_OBJTYPE_BLOCKS;
280 if (quota_get(qh, &qk, &blocks) < 0) {
287 qk.qk_objtype = QUOTA_OBJTYPE_FILES;
288 if (quota_get(qh, &qk, &files) < 0) {
/netbsd-6-1-5-RELEASE/usr.sbin/edquota/
H A Dedquota.c403 struct quotakey qk; local
405 qk.qk_idtype = idtype;
406 qk.qk_id = defaultq ? QUOTA_DEFAULTID : id;
407 qk.qk_objtype = objtype;
408 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) {
419 qk.qk_id = QUOTA_DEFAULTID;
420 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) {
503 struct quotakey qk; local
521 qk.qk_idtype = idtype;
522 qk
630 struct quotakey qk; local
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/repquota/
H A Drepquota.c229 struct quotakey qk; local
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) {
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/
H A Dufs_quota2.c677 quota2_handle_cmd_delete(struct ufsmount *ump, const struct quotakey *qk) argument
690 idtype = qk->qk_idtype;
691 id = qk->qk_id;
692 objtype = qk->qk_objtype;
792 quota2_fetch_q2e(struct ufsmount *ump, const struct quotakey *qk, argument
801 error = 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 ufsmount *ump, const struct quotakey *qk, argument
837 error = dqget(NULLVP, qk
865 quota2_handle_cmd_get(struct ufsmount *ump, const struct quotakey *qk, struct quotaval *qv) argument
[all...]
H A Dufs_quota.c351 const struct quotakey *qk; local
355 qk = args->u.get.qc_key;
361 error = quota_get_auth(mp, l, qk->qk_id);
366 error = quota1_handle_cmd_get(ump, qk, qv);
371 error = quota2_handle_cmd_get(ump, qk, qv);
387 const struct quotakey *qk; local
393 qk = args->u.put.qc_key;
399 kauth_id = qk->qk_id;
413 error = quota1_handle_cmd_put(ump, qk, qv);
418 error = quota2_handle_cmd_put(ump, qk, q
435 const struct quotakey *qk; local
[all...]
H A Dufs_quota1.c495 quota1_handle_cmd_get(struct ufsmount *ump, const struct quotakey *qk, argument
504 idtype = qk->qk_idtype;
505 id = qk->qk_id;
531 switch (qk->qk_objtype) {
/netbsd-6-1-5-RELEASE/usr.bin/quota/
H A Dquota.c484 struct quotakey qk; local
534 qk.qk_idtype = idtype;
536 qk.qk_id = QUOTA_DEFAULTID;
538 qk.qk_id = id;
541 qk.qk_objtype = j;
542 if (quota_get(qup->qh, &qk, &qup->qvs[j]) < 0) {
/netbsd-6-1-5-RELEASE/sys/arch/vax/uba/
H A Dqv.c666 register struct qv_kpcmd *qk; local
688 qk = (struct qv_kpcmd *)data;
689 if(qk->nbytes == 0) qk->cmd |= 0200;
690 if(mouseon == 0) qk->cmd |= 1; /* no mode changes */
691 qv_key_out(qk->cmd);
692 cp = &qk->par[0];
693 while(qk->nbytes-- > 0) { /* terminate parameters */
694 if(qk->nbytes <= 0) *cp |= 0200;
/netbsd-6-1-5-RELEASE/usr.sbin/quotarestore/
H A Dquotarestore.c90 qklist_add(struct qklist *l, const struct quotakey *qk) argument
100 l->keys[l->num++] = *qk;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dtommath.tex4283 x \equiv qk + r \mbox{ (mod }(n-k)\mbox{)}

Completed in 193 milliseconds