Home | History | Annotate | Download | only in libquota

Lines Matching refs:args

52 	struct quotactl_args args;
54 args.qc_op = QUOTACTL_STAT;
55 args.u.stat.qc_info = stat;
56 return __quotactl(qh->qh_mountpoint, &args);
97 struct quotactl_args args;
99 args.qc_op = QUOTACTL_IDTYPESTAT;
100 args.u.idtypestat.qc_idtype = idtype;
101 args.u.idtypestat.qc_info = &stat;
102 if (__quotactl(qh->qh_mountpoint, &args)) {
123 struct quotactl_args args;
125 args.qc_op = QUOTACTL_OBJTYPESTAT;
126 args.u.objtypestat.qc_objtype = objtype;
127 args.u.objtypestat.qc_info = &stat;
128 if (__quotactl(qh->qh_mountpoint, &args)) {
138 struct quotactl_args args;
140 args.qc_op = QUOTACTL_OBJTYPESTAT;
141 args.u.objtypestat.qc_objtype = objtype;
142 args.u.objtypestat.qc_info = &stat;
143 if (__quotactl(qh->qh_mountpoint, &args)) {
152 struct quotactl_args args;
178 args.qc_op = QUOTACTL_QUOTAON;
179 args.u.quotaon.qc_idtype = idtype;
180 args.u.quotaon.qc_quotafile = file;
181 return __quotactl(qh->qh_mountpoint, &args);
187 struct quotactl_args args;
189 args.qc_op = QUOTACTL_QUOTAOFF;
190 args.u.quotaoff.qc_idtype = idtype;
191 return __quotactl(qh->qh_mountpoint, &args);
198 struct quotactl_args args;
200 args.qc_op = QUOTACTL_GET;
201 args.u.get.qc_key = qk;
202 args.u.get.qc_val = qv;
203 return __quotactl(qh->qh_mountpoint, &args);
210 struct quotactl_args args;
212 args.qc_op = QUOTACTL_PUT;
213 args.u.put.qc_key = qk;
214 args.u.put.qc_val = qv;
215 return __quotactl(qh->qh_mountpoint, &args);
221 struct quotactl_args args;
223 args.qc_op = QUOTACTL_DEL;
224 args.u.del.qc_key = qk;
225 return __quotactl(qh->qh_mountpoint, &args);
231 struct quotactl_args args;
240 args.qc_op = QUOTACTL_CURSOROPEN;
241 args.u.cursoropen.qc_cursor = &cursor->kcursor;
242 if (__quotactl(qh->qh_mountpoint, &args)) {
255 struct quotactl_args args;
257 args.qc_op = QUOTACTL_CURSORCLOSE;
258 args.u.cursorclose.qc_cursor = &cursor->kcursor;
259 if (__quotactl(qh->qh_mountpoint, &args)) {
271 struct quotactl_args args;
273 args.qc_op = QUOTACTL_CURSORSKIPIDTYPE;
274 args.u.cursorskipidtype.qc_cursor = &cursor->kcursor;
275 args.u.cursorskipidtype.qc_idtype = idtype;
276 return __quotactl(qh->qh_mountpoint, &args);
299 struct quotactl_args args;
308 args.qc_op = QUOTACTL_CURSORGET;
309 args.u.cursorget.qc_cursor = &cursor->kcursor;
310 args.u.cursorget.qc_keys = keys;
311 args.u.cursorget.qc_vals = vals;
312 args.u.cursorget.qc_maxnum = maxnum;
313 args.u.cursorget.qc_ret = &ret;
314 if (__quotactl(qh->qh_mountpoint, &args) < 0) {
324 struct quotactl_args args;
327 args.qc_op = QUOTACTL_CURSORATEND;
328 args.u.cursoratend.qc_cursor = &cursor->kcursor;
329 args.u.cursoratend.qc_ret = &ret;
330 if (__quotactl(qh->qh_mountpoint, &args)) {
346 struct quotactl_args args;
348 args.qc_op = QUOTACTL_CURSORREWIND;
349 args.u.cursorrewind.qc_cursor = &cursor->kcursor;
350 return __quotactl(qh->qh_mountpoint, &args);