HomeSort by: relevance | last modified time | path
    Searched defs:idtype (Results 1 - 13 of 13) sorted by relevancy

  /src/sys/compat/common/
compat_50_quota.c 70 int idtype; local in function:compat_50_sys_quotactl
85 idtype = quota_idtype_from_ufs(q1cmd & SUBCMDMASK);
86 if (idtype == -1) {
99 error = vfs_quotactl_quotaon(mp, idtype, qfile);
105 error = vfs_quotactl_quotaoff(mp, idtype);
109 key.qk_idtype = idtype;
135 key.qk_idtype = idtype;
155 (void)idtype; /* not used */
  /src/sys/compat/netbsd32/
netbsd32_wait.c 86 syscallarg(idtype_t) idtype;
93 idtype_t idtype = SCARG(uap, idtype); local in function:netbsd32_wait6
114 int error = do_sys_waitid(idtype, id, &pid, &status,
  /src/libexec/rpc.rquotad/
rquotad.c 219 int idtype; local in function:sendquota
244 idtype = QUOTA_IDTYPE_USER;
247 idtype = QUOTA_IDTYPE_GROUP;
279 qk.qk_idtype = idtype;
  /src/sys/ufs/lfs/
ulfs_quota1.c 480 int idtype; local in function:lfsquota1_handle_cmd_get
483 idtype = qk->qk_idtype;
486 if (ump->um_quotas[idtype] == NULLVP)
490 if ((error = lfs_dqget(NULLVP, 0, ump, idtype, &dq)) != 0)
494 if ((error = lfs_dqget(NULLVP, id, ump, idtype, &dq)) != 0)
ulfs_quota.c 272 int idtype; local in function:quota_handle_cmd_idtypestat
277 idtype = args->u.idtypestat.qc_idtype;
286 switch (idtype) {
586 int idtype = args->u.cursorskipidtype.qc_idtype; local in function:quota_handle_cmd_cursorskipidtype
587 error = lfsquota2_handle_cmd_cursorskipidtype(ump, cursor, idtype);
661 int idtype = args->u.quotaon.qc_idtype; local in function:quota_handle_cmd_quotaon
663 error = lfsquota1_handle_cmd_quotaon(l, ump, idtype, qfile);
690 int idtype = args->u.quotaoff.qc_idtype; local in function:quota_handle_cmd_quotaoff
691 error = lfsquota1_handle_cmd_quotaoff(l, ump, idtype);
ulfs_quota2.c 589 /* make sure we can index by the fs-independent idtype */
683 int idtype; local in function:lfsquota2_handle_cmd_del
694 idtype = qk->qk_idtype;
698 if (ump->um_quotas[idtype] == NULLVP)
705 error = getq2h(ump, idtype, &hbp, &q2h, 0);
715 error = lfs_dqget(NULLVP, id, ump, idtype, &dq);
726 error = getq2e(ump, idtype, dq->dq2_lblkno, dq->dq2_blkoff,
767 error = getq2h(ump, idtype, &hbp, &q2h, 0);
775 error = quota2_walk_list(ump, hbp, idtype,
956 int idtype; member in struct:q2cursor_getids
1282 int idtype; local in function:lfsquota2_handle_cmd_cursorget
    [all...]
  /src/sys/ufs/ufs/
ufs_quota1.c 490 int idtype; local in function:quota1_handle_cmd_get
493 idtype = qk->qk_idtype;
496 if (ump->um_quotas[idtype] == NULLVP)
500 if ((error = dqget(NULLVP, 0, ump, idtype, &dq)) != 0)
504 if ((error = dqget(NULLVP, id, ump, idtype, &dq)) != 0)
ufs_quota.c 269 int idtype; local in function:quota_handle_cmd_idtypestat
274 idtype = args->u.idtypestat.qc_idtype;
283 switch (idtype) {
567 int idtype = args->u.cursorskipidtype.qc_idtype; local in function:quota_handle_cmd_cursorskipidtype
575 error = quota2_handle_cmd_cursorskipidtype(ump, cursor, idtype);
646 int idtype = args->u.quotaon.qc_idtype; local in function:quota_handle_cmd_quotaon
648 error = quota1_handle_cmd_quotaon(l, ump, idtype, qfile);
674 int idtype = args->u.quotaoff.qc_idtype; local in function:quota_handle_cmd_quotaoff
675 error = quota1_handle_cmd_quotaoff(l, ump, idtype);
ufs_quota2.c 584 /* make sure we can index by the fs-independent idtype */
685 int idtype; local in function:quota2_handle_cmd_del
696 idtype = qk->qk_idtype;
700 if (ump->um_quotas[idtype] == NULLVP)
707 error = getq2h(ump, idtype, &hbp, &q2h, 0);
717 error = dqget(NULLVP, id, ump, idtype, &dq);
731 error = getq2e(ump, idtype, dq->dq2_lblkno, dq->dq2_blkoff,
772 error = getq2h(ump, idtype, &hbp, &q2h, 0);
780 error = quota2_walk_list(ump, hbp, idtype,
960 int idtype; member in struct:q2cursor_getids
1284 int idtype; local in function:quota2_handle_cmd_cursorget
    [all...]
  /src/usr.sbin/repquota/
repquota.c 89 /* highest addid()'ed identifier per idtype */
226 repquota(struct quotahandle *qh, int idtype)
239 if (idtype == QUOTA_IDTYPE_USER) {
242 if (idtype == QUOTA_IDTYPE_GROUP) {
246 valid[idtype] = 0;
251 if (qk.qk_idtype != idtype) {
255 valid[idtype] = 1;
257 qvp = defaultqv[idtype];
259 if ((fup = lookup(qk.qk_id, idtype)) == 0)
260 fup = addid(qk.qk_id, idtype, (char *)0)
422 int idtype; local in function:exportquotas
    [all...]
  /src/sys/kern/
kern_exit.c 662 do_sys_waitid(idtype_t idtype, id_t id, int *pid, int *status, int options,
675 error = find_stopped_child(curproc, idtype, id, options, &child,
706 idtype_t idtype; local in function:do_sys_wait
712 * Translate the special pid values into the (idtype, pid)
717 idtype = P_ALL;
720 idtype = P_PGID;
723 idtype = P_PID;
727 ret = do_sys_waitid(idtype, id, pid, status, options, ru ? &wru : NULL,
767 syscallarg(idtype_t) idtype;
776 idtype_t idtype; local in function:sys_wait6
    [all...]
  /src/usr.sbin/edquota/
edquota.c 134 getidbyname(const char *name, int idtype)
141 switch (idtype) {
153 warnx("%d: unknown quota type", idtype);
305 putprivs1(uint32_t id, int idtype, struct quotause *qup)
329 getprivs1(long id, int idtype, const char *filesys)
355 quota_idtype_to_ufs(idtype)))
407 dogetprivs2(struct quotahandle *qh, int idtype, id_t id, int defaultq,
412 qk.qk_idtype = idtype;
443 getprivs2(long id, int idtype, const char *filesys, int defaultq,
478 idtypename = quota_idtype_getname(qh, idtype);
1316 int idtype; local in function:main
    [all...]
  /src/sys/compat/linux/common/
linux_misc.c 274 syscallarg(int) idtype;
282 idtype_t idtype; local in function:linux_sys_waitid
289 linux_idtype = SCARG(uap, idtype);
292 idtype = P_ALL;
295 idtype = P_PID;
298 idtype = P_PGID;
313 error = do_sys_waitid(idtype, id, &pid, &status, options, &wru, &info);

Completed in 409 milliseconds