Searched refs:qh (Results 1 - 25 of 46) sorted by relevance

12

/netbsd-6-1-5-RELEASE/lib/libquota/
H A Dquota_schema.c48 quota_getimplname(struct quotahandle *qh) argument
50 switch (qh->qh_mode) {
56 return __quota_oldfiles_getimplname(qh);
59 return __quota_kernel_getimplname(qh);
69 quota_getrestrictions(struct quotahandle *qh) argument
71 switch (qh->qh_mode) {
82 return __quota_kernel_getrestrictions(qh);
92 quota_getnumidtypes(struct quotahandle *qh) argument
94 switch (qh->qh_mode) {
100 return __quota_kernel_getnumidtypes(qh);
110 quota_idtype_getname(struct quotahandle *qh, int idtype) argument
136 quota_getnumobjtypes(struct quotahandle *qh) argument
151 quota_objtype_getname(struct quotahandle *qh, int objtype) argument
175 quota_objtype_isbytes(struct quotahandle *qh, int objtype) argument
[all...]
H A Dquota_open.c49 struct quotahandle *qh; local
95 qh = malloc(sizeof(*qh));
96 if (qh == NULL) {
105 qh->qh_mountpoint = strdup(stv.f_mntonname);
106 if (qh->qh_mountpoint == NULL) {
108 free(qh);
113 qh->qh_mountdevice = strdup(stv.f_mntfromname);
114 if (qh->qh_mountdevice == NULL) {
116 free(qh
132 quota_getmountpoint(struct quotahandle *qh) argument
138 quota_getmountdevice(struct quotahandle *qh) argument
144 quota_close(struct quotahandle *qh) argument
158 quota_quotaon(struct quotahandle *qh, int idtype) argument
176 quota_quotaoff(struct quotahandle *qh, int idtype) argument
[all...]
H A Dquota_delete.c40 quota_delete(struct quotahandle *qh, const struct quotakey *qk) argument
42 switch (qh->qh_mode) {
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
43 switch (qh->qh_mode) {
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
52 switch (qh->qh_mode) {
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 Dquota_kernel.c50 __quota_kernel_stat(struct quotahandle *qh, struct quotastat *stat) argument
56 return __quotactl(qh->qh_mountpoint, &args);
60 __quota_kernel_getimplname(struct quotahandle *qh) argument
64 if (__quota_kernel_stat(qh, &stat)) {
71 __quota_kernel_getrestrictions(struct quotahandle *qh) argument
75 if (__quota_kernel_stat(qh, &stat)) {
83 __quota_kernel_getnumidtypes(struct quotahandle *qh) argument
87 if (__quota_kernel_stat(qh, &stat)) {
94 __quota_kernel_idtype_getname(struct quotahandle *qh, int idtype) argument
102 if (__quotactl(qh
109 __quota_kernel_getnumobjtypes(struct quotahandle *qh) argument
120 __quota_kernel_objtype_getname(struct quotahandle *qh, int objtype) argument
135 __quota_kernel_objtype_isbytes(struct quotahandle *qh, int objtype) argument
150 __quota_kernel_quotaon(struct quotahandle *qh, int idtype) argument
185 __quota_kernel_quotaoff(struct quotahandle *qh, int idtype) argument
195 __quota_kernel_get(struct quotahandle *qh, const struct quotakey *qk, struct quotaval *qv) argument
207 __quota_kernel_put(struct quotahandle *qh, const struct quotakey *qk, const struct quotaval *qv) argument
219 __quota_kernel_delete(struct quotahandle *qh, const struct quotakey *qk) argument
229 __quota_kernel_cursor_create(struct quotahandle *qh) argument
252 __quota_kernel_cursor_destroy(struct quotahandle *qh, struct kernel_quotacursor *cursor) argument
267 __quota_kernel_cursor_skipidtype(struct quotahandle *qh, struct kernel_quotacursor *cursor, int idtype) argument
280 __quota_kernel_cursor_get(struct quotahandle *qh, struct kernel_quotacursor *cursor, struct quotakey *key, struct quotaval *val) argument
294 __quota_kernel_cursor_getn(struct quotahandle *qh, struct kernel_quotacursor *cursor, struct quotakey *keys, struct quotaval *vals, unsigned maxnum) argument
321 __quota_kernel_cursor_atend(struct quotahandle *qh, struct kernel_quotacursor *cursor) argument
343 __quota_kernel_cursor_rewind(struct quotahandle *qh, struct kernel_quotacursor *cursor) argument
[all...]
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,
97 int __quota_oldfiles_initialize(struct quotahandle *qh);
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.c251 __quota_oldfiles_defquotafile(struct quotahandle *qh, int idtype, argument
257 qh->qh_mountpoint,
262 __quota_oldfiles_getquotafile(struct quotahandle *qh, int idtype, argument
268 ofe = __quota_oldfiles_find_fstabentry(qh->qh_mountpoint);
295 __quota_oldfiles_defquotafile(qh, idtype, buf, maxlen);
362 __quota_oldfiles_open(struct quotahandle *qh, const char *path, int *fd_ret) argument
378 __quota_oldfiles_initialize(struct quotahandle *qh) argument
384 if (qh->qh_oldfilesopen) {
392 ofe = __quota_oldfiles_find_fstabentry(qh->qh_mountpoint);
394 warnx("%s not found in fstab", qh
435 __quota_oldfiles_getimplname(struct quotahandle *qh) argument
441 __quota_oldfiles_quotaon(struct quotahandle *qh, int idtype) argument
480 __quota_oldfiles_doget(struct quotahandle *qh, const struct quotakey *qk, struct quotaval *qv, int *isallzero) argument
566 __quota_oldfiles_doput(struct quotahandle *qh, const struct quotakey *qk, const struct quotaval *qv) argument
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
701 __quota_oldfiles_cursor_create(struct quotahandle *qh) argument
780 __quota_oldfiles_cursor_get(struct quotahandle *qh, struct oldfiles_quotacursor *oqc, struct quotakey *key, struct quotaval *val) argument
870 __quota_oldfiles_cursor_getn(struct quotahandle *qh, struct oldfiles_quotacursor *oqc, struct quotakey *keys, struct quotaval *vals, unsigned maxnum) argument
[all...]
H A Dquota_cursor.c41 quota_opencursor(struct quotahandle *qh) argument
47 switch (qh->qh_mode) {
57 restrictions = __quota_kernel_getrestrictions(qh);
70 !qh->qh_oldfilesopen) {
71 if (__quota_oldfiles_initialize(qh)) {
81 qc->qc_qh = qh;
85 qc->u.qc_oldfiles = __quota_oldfiles_cursor_create(qh);
94 qc->u.qc_kernel = __quota_kernel_cursor_create(qh);
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/mips/
H A Dmips64-mdmx.s21 add.qh $v1, $v12, 18
22 add.qh $v1, $v12, $v18
23 add.qh $v1, $v12, $v18[2]
29 adda.qh $v12, 18
30 adda.qh $v12, $v18
31 adda.qh $v12, $v18[2]
37 addl.qh $v12, 18
38 addl.qh $v12, $v18
39 addl.qh $v12, $v18[2]
43 alni.qh
[all...]
H A Dmips64-mdmx.d17 0+001c <[^>]*> 7bb2604b add\.qh \$v1,\$v12,0x12
18 0+0020 <[^>]*> 7ab2604b add\.qh \$v1,\$v12,\$v18
19 0+0024 <[^>]*> 7932604b add\.qh \$v1,\$v12,\$v18\[2\]
23 0+0034 <[^>]*> 7bb26037 adda\.qh \$v12,0x12
24 0+0038 <[^>]*> 7ab26037 adda\.qh \$v12,\$v18
25 0+003c <[^>]*> 79326037 adda\.qh \$v12,\$v18\[2\]
29 0+004c <[^>]*> 7bb26437 addl\.qh \$v12,0x12
30 0+0050 <[^>]*> 7ab26437 addl\.qh \$v12,\$v18
31 0+0054 <[^>]*> 79326437 addl\.qh \$v12,\$v18\[2\]
33 0+005c <[^>]*> 7852605a alni\.qh \
[all...]
H A Dmips64-dsp.s11 absq_s.qh $30,$31
14 addq.qh $2,$3,$4
15 addq_s.qh $3,$4,$5
23 cmp.eq.qh $17,$18
24 cmp.lt.qh $18,$19
25 cmp.le.qh $19,$20
74 dpaq_s.w.qh $ac2,$21,$22
78 dpsq_s.w.qh $ac1,$24,$25
97 muleu_s.qh.obl $4,$5,$6
98 muleu_s.qh
[all...]
H A Dmips64-dsp.d11 0+0004 <[^>]*> 7c1ff256 absq_s\.qh s8,ra
14 0+0010 <[^>]*> 7c641294 addq\.qh v0,v1,a0
15 0+0014 <[^>]*> 7c851b94 addq_s\.qh v1,a0,a1
23 0+0034 <[^>]*> 7e320215 cmp\.eq\.qh s1,s2
24 0+0038 <[^>]*> 7e530255 cmp\.lt\.qh s2,s3
25 0+003c <[^>]*> 7e740295 cmp\.le\.qh s3,s4
74 0+0100 <[^>]*> 7eb61134 dpaq_s\.w\.qh \$ac2,s5,s6
78 0+0110 <[^>]*> 7f190974 dpsq_s\.w\.qh \$ac1,t8,t9
97 0+015c <[^>]*> 7ca62194 muleu_s\.qh\.obl a0,a1,a2
98 0+0160 <[^>]*> 7cc729d4 muleu_s\.qh\
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/quotaon/
H A Dquotaon.c79 struct quotahandle *qh; local
129 qh = quota_open("/");
130 if (qh != NULL) {
131 quota_close(qh);
149 qh = quota_open(fs->fs_file);
150 if (qh == NULL) {
158 restrictions = quota_getrestrictions(qh);
166 quota_close(qh);
179 errs += quotaonoff(fs, qh, offmode, GRPQUOTA, 0);
180 errs += quotaonoff(fs, qh, offmod
207 quotaonoff(struct fstab *fs, struct quotahandle *qh, int offmode, int idtype, int warn_on_enxio) argument
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpn/generic/
H A Ddcpi1_divappr_q.c37 mp_limb_t cy, qh, ql; local
43 qh = mpn_sbpi1_div_qr (qp + lo, np + 2 * lo, 2 * hi, dp + lo, hi, dinv->inv32);
45 qh = mpn_dcpi1_div_qr_n (qp + lo, np + 2 * lo, dp + lo, hi, dinv, tp);
50 if (qh != 0)
55 qh -= mpn_sub_1 (qp + lo, qp + lo, hi, 1);
71 return qh;
79 mp_limb_t qh, cy, qsave; local
112 /* Handle qh up front, for simplicity. */
113 qh = mpn_cmp (np - dn + 1, dp - dn, dn) >= 0;
114 if (qh)
[all...]
H A Ddcpi1_div_q.c36 mp_limb_t qh; local
53 qh = mpn_dcpi1_divappr_q (wp, tp, nn + 1, dp, dn, dinv);
64 cy = (qh != 0) ? mpn_add_n (tp + qn, tp + qn, dp, dn) : 0;
67 qh -= mpn_sub_1 (qp, wp + 1, qn, 1);
75 return qh;
H A Ddiv_q.c95 mp_limb_t cy, dh, qh; local
139 qh = mpn_divrem_2 (qp, 0L, new_np, new_nn, new_dp);
145 qh = mpn_sbpi1_div_q (qp, new_np, new_nn, new_dp, dn, dinv.inv32);
153 qh = mpn_dcpi1_div_q (qp, new_np, new_nn, new_dp, dn, &dinv);
159 qh = mpn_mu_div_q (qp, new_np, new_nn, new_dp, dn, scratch);
162 qp[qn - 1] = qh;
163 else if (UNLIKELY (qh != 0))
171 qh = 0; /* currently ignored */
181 qh = mpn_divrem_2 (qp, 0L, new_np, nn, dp);
187 qh
[all...]
H A Ddcpi1_div_qr.c37 mp_limb_t cy, qh, ql; local
43 qh = mpn_sbpi1_div_qr (qp + lo, np + 2 * lo, 2 * hi, dp + lo, hi, dinv->inv32);
45 qh = mpn_dcpi1_div_qr_n (qp + lo, np + 2 * lo, dp + lo, hi, dinv, tp);
50 if (qh != 0)
55 qh -= mpn_sub_1 (qp + lo, qp + lo, hi, 1);
76 return qh;
86 mp_limb_t qh, cy; local
118 /* Handle qh up front, for simplicity. */
119 qh = mpn_cmp (np - dn + 1, dp - dn, dn) >= 0;
120 if (qh)
[all...]
H A Dmu_div_q.c68 mp_limb_t cy, qh; local
121 qh = mpn_preinv_mu_div_qr (tp + dn + 1, rp + dn + 1, np + dn, qn, dp, dn,
156 cy = (qh != 0) ? mpn_add_n (pp + qn, pp + qn, dp, dn) : 0;
159 qh -= mpn_sub_1 (qp, tp + 1, qn, 1);
174 qh = mpn_mu_divappr_q (tp, np + nn - (2 * qn + 2), 2 * qn + 2,
192 cy = (qh != 0) ? mpn_add_n (rp + qn, rp + qn, dp, dn) : 0;
195 qh -= mpn_sub_1 (qp, tp + 1, qn, 1);
202 return qh;
H A Dsbpi1_div_qr.c38 mp_limb_t qh; local
51 qh = mpn_cmp (np - dn, dp, dn) >= 0;
52 if (qh != 0)
98 return qh;
H A Dmu_div_qr.c95 mp_limb_t cy, qh; local
110 qh = mpn_mu_div_qr2 (qp, rp + nn - (2 * qn + 1),
121 if (qh)
134 qh -= mpn_sub_1 (qp, qp, qn, 1);
140 qh = mpn_mu_div_qr2 (qp, rp, np, nn, dp, dn, scratch);
143 return qh;
156 mp_limb_t cy, qh; local
217 qh = mpn_preinv_mu_div_qr (qp, rp, np, nn, dp, dn, ip, in, scratch + in);
219 return qh;
234 mp_limb_t cy, cx, qh; local
[all...]
H A Dmu_divappr_q.c73 mp_limb_t cy, qh; local
143 qh = mpn_preinv_mu_divappr_q (qp, np, nn, dp, dn, ip, in, scratch + in);
145 return qh;
159 mp_limb_t cy, cx, qh; local
172 qh = mpn_cmp (np, dp, dn) >= 0;
173 if (qh != 0)
179 return qh; /* Degenerate use. Should we allow this? */
281 if (qh != 0)
283 /* Return a quotient of just 1-bits, with qh set. */
290 /* Propagate carry into qh
[all...]
H A Dsbpi1_div_q.c38 mp_limb_t qh; local
63 qh = mpn_cmp (np - dn, dp, dn) >= 0;
64 if (qh != 0)
239 return qh - cy;
256 if (qh != 0)
265 return qh - cy;
272 return qh;
283 return qh;
291 return qh;
/netbsd-6-1-5-RELEASE/usr.sbin/quotarestore/
H A Dquotarestore.c152 maketables(struct quotahandle *qh) argument
156 numidtypes = quota_getnumidtypes(qh);
163 idtypenames[i] = strdup(quota_idtype_getname(qh, i));
169 numobjtypes = quota_getnumobjtypes(qh);
176 objtypenames[i] = strdup(quota_objtype_getname(qh, i));
313 scankeys(struct quotahandle *qh, struct qklist *seenkeys, argument
322 qc = quota_opencursor(qh);
348 purge(struct quotahandle *qh, struct qklist *dropkeys) argument
353 if (quota_delete(qh, &dropkeys->keys[i])) {
363 readdumpfile(struct quotahandle *qh, FIL argument
515 struct quotahandle *qh; local
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/repquota/
H A Drepquota.c129 struct quotahandle *qh; local
190 qh = quota_open(fst[i].f_mntonname);
191 if (qh == NULL) {
201 errs += repquota(qh, QUOTA_IDTYPE_GROUP);
203 errs += repquota(qh, QUOTA_IDTYPE_USER);
205 quota_close(qh);
226 repquota(struct quotahandle *qh, int idtype) argument
234 qc = quota_opencursor(qh);
249 err(1, "%s: quotacursor_get", quota_getmountpoint(qh));
271 printquotas(idtype, qh);
277 printquotas(int idtype, struct quotahandle *qh) argument
[all...]

Completed in 171 milliseconds

12