Lines Matching defs:qh

50 __quota_kernel_stat(struct quotahandle *qh, struct quotastat *stat)
56 return __quotactl(qh->qh_mountpoint, &args);
60 __quota_kernel_getimplname(struct quotahandle *qh)
64 if (__quota_kernel_stat(qh, &stat)) {
71 __quota_kernel_getrestrictions(struct quotahandle *qh)
75 if (__quota_kernel_stat(qh, &stat)) {
83 __quota_kernel_getnumidtypes(struct quotahandle *qh)
87 if (__quota_kernel_stat(qh, &stat)) {
94 __quota_kernel_idtype_getname(struct quotahandle *qh, int idtype)
102 if (__quotactl(qh->qh_mountpoint, &args)) {
109 __quota_kernel_getnumobjtypes(struct quotahandle *qh)
113 if (__quota_kernel_stat(qh, &stat)) {
120 __quota_kernel_objtype_getname(struct quotahandle *qh, int objtype)
128 if (__quotactl(qh->qh_mountpoint, &args)) {
135 __quota_kernel_objtype_isbytes(struct quotahandle *qh, int objtype)
143 if (__quotactl(qh->qh_mountpoint, &args)) {
150 __quota_kernel_quotaon(struct quotahandle *qh, int idtype)
168 file = __quota_oldfiles_getquotafile(qh, idtype, path, sizeof(path));
181 return __quotactl(qh->qh_mountpoint, &args);
185 __quota_kernel_quotaoff(struct quotahandle *qh, int idtype)
191 return __quotactl(qh->qh_mountpoint, &args);
195 __quota_kernel_get(struct quotahandle *qh, const struct quotakey *qk,
203 return __quotactl(qh->qh_mountpoint, &args);
207 __quota_kernel_put(struct quotahandle *qh, const struct quotakey *qk,
215 return __quotactl(qh->qh_mountpoint, &args);
219 __quota_kernel_delete(struct quotahandle *qh, const struct quotakey *qk)
225 return __quotactl(qh->qh_mountpoint, &args);
229 __quota_kernel_cursor_create(struct quotahandle *qh)
242 if (__quotactl(qh->qh_mountpoint, &args)) {
252 __quota_kernel_cursor_destroy(struct quotahandle *qh,
259 if (__quotactl(qh->qh_mountpoint, &args)) {
267 __quota_kernel_cursor_skipidtype(struct quotahandle *qh,
276 return __quotactl(qh->qh_mountpoint, &args);
280 __quota_kernel_cursor_get(struct quotahandle *qh,
286 ret = __quota_kernel_cursor_getn(qh, cursor, key, val, 1);
294 __quota_kernel_cursor_getn(struct quotahandle *qh,
314 if (__quotactl(qh->qh_mountpoint, &args) < 0) {
321 __quota_kernel_cursor_atend(struct quotahandle *qh,
330 if (__quotactl(qh->qh_mountpoint, &args)) {
343 __quota_kernel_cursor_rewind(struct quotahandle *qh,
350 return __quotactl(qh->qh_mountpoint, &args);