Home | History | Annotate | Download | only in edquota

Lines Matching defs:qh

407 dogetprivs2(struct quotahandle *qh, int idtype, id_t id, int defaultq,
415 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) {
427 if (quota_get(qh, &qk, &qup->qv[objtype]) == 0) {
447 struct quotahandle *qh;
458 qh = quota_open(filesys);
459 if (qh == NULL) {
466 impl = quota_getimplname(qh);
472 restrictions = quota_getrestrictions(qh);
478 idtypename = quota_idtype_getname(qh, idtype);
485 if (dogetprivs2(qh, idtype, id, defaultq, QUOTA_OBJTYPE_BLOCKS, qup)) {
487 quota_close(qh);
493 if (dogetprivs2(qh, idtype, id, defaultq, QUOTA_OBJTYPE_FILES, qup)) {
495 quota_close(qh);
501 quota_close(qh);
509 struct quotahandle *qh;
522 qh = quota_open(qup->fsname);
523 if (qh == NULL) {
531 if (quota_put(qh, &qk, &qup->qv[QO_BLK])) {
541 if (quota_put(qh, &qk, &qup->qv[QO_FL])) {
547 quota_close(qh);
636 struct quotahandle *qh;
672 qh = quota_open(fst[i].f_mntonname);
673 if (qh == NULL) {
685 if (quota_delete(qh, &qk)) {
693 if (quota_delete(qh, &qk)) {
708 quota_close(qh);