| /src/lib/librt/ |
| pset.c | 44 pset_bind(psetid_t psid, idtype_t idtype, id_t id, psetid_t *opsid) 47 return _pset_bind(idtype, id, P_ALL_LWPS, psid, opsid);
|
| /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/ufs/ufs/ |
| quota.h | 68 quota_idtype_to_ufs(int idtype) 70 switch (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/lib/libquota/ |
| quotapvt.h | 60 const char *__quota_kernel_idtype_getname(struct quotahandle *, int idtype); 64 int __quota_kernel_quotaon(struct quotahandle *, int idtype); 65 int __quota_kernel_quotaoff(struct quotahandle *, int idtype); 76 int idtype); 99 const char *__quota_oldfiles_getquotafile(struct quotahandle *, int idtype, 101 int __quota_oldfiles_quotaon(struct quotahandle *, int idtype); 111 int idtype);
|
| quota_schema.c | 110 quota_idtype_getname(struct quotahandle *qh, int idtype) 114 return __quota_kernel_idtype_getname(qh, idtype); 121 switch (idtype) {
|
| quota_open.c | 158 quota_quotaon(struct quotahandle *qh, int idtype) 165 return __quota_oldfiles_quotaon(qh, idtype); 167 return __quota_kernel_quotaon(qh, idtype); 176 quota_quotaoff(struct quotahandle *qh, int idtype) 187 return __quota_kernel_quotaoff(qh, idtype);
|
| quota_kernel.c | 94 __quota_kernel_idtype_getname(struct quotahandle *qh, int idtype) 100 args.u.idtypestat.qc_idtype = idtype; 150 __quota_kernel_quotaon(struct quotahandle *qh, int idtype) 168 file = __quota_oldfiles_getquotafile(qh, idtype, path, sizeof(path)); 171 * This idtype (or maybe any idtype) was not enabled 179 args.u.quotaon.qc_idtype = idtype; 185 __quota_kernel_quotaoff(struct quotahandle *qh, int idtype) 190 args.u.quotaoff.qc_idtype = idtype; 269 int idtype) [all...] |
| quota_cursor.c | 120 quotacursor_skipidtype(struct quotacursor *qc, int idtype) 125 idtype); 129 idtype);
|
| quota_oldfiles.c | 251 __quota_oldfiles_defquotafile(struct quotahandle *qh, int idtype, 258 QUOTAFILENAME, names[idtype]); 262 __quota_oldfiles_getquotafile(struct quotahandle *qh, int idtype, 274 switch (idtype) { 295 __quota_oldfiles_defquotafile(qh, idtype, buf, maxlen); 441 __quota_oldfiles_quotaon(struct quotahandle *qh, int idtype) 465 result = __quota_kernel_quotaon(qh, idtype); 761 int idtype) 763 switch (idtype) {
|
| /src/lib/libc/gen/ |
| waitid.c | 48 waitid(idtype_t idtype, id_t id, siginfo_t *info, int flags) 52 switch (wait6(idtype, id, &status, flags, NULL, info)) {
|
| /src/sys/ufs/lfs/ |
| ulfs_quotacommon.h | 61 quota_idtype_to_ulfs(int idtype) 63 switch (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...] |
| 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);
|
| /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/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/sys/ |
| pset.h | 35 #include <sys/idtype.h>
|
| wait.h | 41 #include <sys/idtype.h>
|
| /src/sys/kern/ |
| vfs_quotactl.c | 48 vfs_quotactl_idtypestat(struct mount *mp, int idtype, 54 args.u.idtypestat.qc_idtype = idtype; 127 int idtype) 133 args.u.cursorskipidtype.qc_idtype = idtype; 176 vfs_quotactl_quotaon(struct mount *mp, int idtype, const char *path) 181 args.u.quotaon.qc_idtype = idtype; 187 vfs_quotactl_quotaoff(struct mount *mp, int idtype) 192 args.u.quotaoff.qc_idtype = idtype;
|
| 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...] |
| syscalls_autoload.c | 24 #include <sys/idtype.h>
|
| /src/usr.sbin/quotaon/ |
| quotaon.c | 216 quotaonoff(struct fstab *fs, struct quotahandle *qh, int offmode, int idtype, 227 type = quota_idtype_getname(qh, idtype); 228 if (quota_quotaoff(qh, idtype)) { 235 if (quota_quotaon(qh, idtype)) { 241 type = quota_idtype_getname(qh, idtype);
|
| /src/usr.bin/quota/ |
| quota.c | 320 showquotas(int idtype, const char *idtypename, id_t id, const char *idname) 327 quplist = getprivs(id, idtype); 329 showonequota(idtype, idtypename, id, idname, qup); 333 heading(idtype, idtypename, id, idname, "none"); 338 showonequota(int idtype, const char *idtypename, id_t id, const char *idname, 363 heading(idtype, idtypename, id, idname, ""); 391 heading(idtype, idtypename, id, idname, ""); 408 heading(int idtype, const char *idtypename, id_t id, const char *idname, 479 getprivs(id_t id, int idtype) 510 qk.qk_idtype = idtype; [all...] |
| /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;
|