Searched refs:idtype (Results 1 - 25 of 32) sorted by relevance

12

/netbsd-6-1-5-RELEASE/lib/librt/
H A Dpset.c44 pset_bind(psetid_t psid, idtype_t idtype, id_t id, psetid_t *opsid) argument
47 return _pset_bind(idtype, id, P_ALL_LWPS, psid, opsid);
/netbsd-6-1-5-RELEASE/usr.sbin/repquota/
H A Drepquota.c89 /* highest addid()'ed identifier per idtype */
226 repquota(struct quotahandle *qh, int idtype) argument
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, (cha
277 printquotas(int idtype, struct quotahandle *qh) argument
422 int idtype; local
469 lookup(uint32_t id, int idtype) argument
482 qremove(uint32_t id, int idtype) argument
501 addid(uint32_t id, int idtype, const char *name) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/
H A Dquota.h60 quota_idtype_to_ufs(int idtype) argument
62 switch (idtype) {
H A Dufs_quota2.c589 /* make sure we can index by the fs-independent idtype */
679 int idtype; local
690 idtype = qk->qk_idtype;
694 if (ump->um_quotas[idtype] == NULLVP)
701 error = getq2h(ump, idtype, &hbp, &q2h, 0);
711 error = dqget(NULLVP, id, ump, idtype, &dq);
725 error = getq2e(ump, idtype, dq->dq2_lblkno, dq->dq2_blkoff,
766 error = getq2h(ump, idtype, &hbp, &q2h, 0);
774 error = quota2_walk_list(ump, hbp, idtype,
954 int idtype; member in struct:q2cursor_getids
1067 q2cursor_addid(struct q2cursor_state *state, int idtype, id_t id) argument
1121 q2cursor_getkeys(struct ufsmount *ump, int idtype, struct ufsq2_cursor *cursor, struct q2cursor_state *state, int *hashsize_ret, struct quota2_entry *default_q2e_ret) argument
1280 int idtype; local
1424 quota2_handle_cmd_cursorskipidtype(struct ufsmount *ump, struct quotakcursor *qkc, int idtype) argument
[all...]
H A Dufs_quota.c270 int idtype; local
275 idtype = args->u.idtypestat.qc_idtype;
284 switch (idtype) {
575 int idtype; local
580 idtype = args->u.cursorskipidtype.qc_idtype;
584 error = quota2_handle_cmd_cursorskipidtype(ump, cursor, idtype);
645 int idtype; local
650 idtype = args->u.quotaon.qc_idtype;
662 error = quota1_handle_cmd_quotaon(l, ump, idtype, qfile);
675 int idtype; local
[all...]
H A Dufs_quota1.c501 int idtype; local
504 idtype = qk->qk_idtype;
507 if (ump->um_quotas[idtype] == NULLVP)
511 if ((error = dqget(NULLVP, 0, ump, idtype, &dq)) != 0)
515 if ((error = dqget(NULLVP, id, ump, idtype, &dq)) != 0)
/netbsd-6-1-5-RELEASE/lib/libquota/
H A Dquotapvt.h60 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);
H A Dquota_schema.c110 quota_idtype_getname(struct quotahandle *qh, int idtype) argument
114 return __quota_kernel_idtype_getname(qh, idtype);
121 switch (idtype) {
H A Dquota_open.c158 quota_quotaon(struct quotahandle *qh, int idtype) argument
165 return __quota_oldfiles_quotaon(qh, idtype);
167 return __quota_kernel_quotaon(qh, idtype);
176 quota_quotaoff(struct quotahandle *qh, int idtype) argument
187 return __quota_kernel_quotaoff(qh, idtype);
H A Dquota_kernel.c94 __quota_kernel_idtype_getname(struct quotahandle *qh, int idtype) argument
100 args.u.idtypestat.qc_idtype = idtype;
150 __quota_kernel_quotaon(struct quotahandle *qh, int idtype) argument
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) argument
190 args.u.quotaoff.qc_idtype = idtype;
269 int idtype)
267 __quota_kernel_cursor_skipidtype(struct quotahandle *qh, struct kernel_quotacursor *cursor, int idtype) argument
[all...]
H A Dquota_cursor.c120 quotacursor_skipidtype(struct quotacursor *qc, int idtype) argument
125 idtype);
129 idtype);
H A Dquota_oldfiles.c251 __quota_oldfiles_defquotafile(struct quotahandle *qh, int idtype, argument
262 __quota_oldfiles_getquotafile(struct quotahandle *qh, int idtype, argument
274 switch (idtype) {
295 __quota_oldfiles_defquotafile(qh, idtype, buf, maxlen);
441 __quota_oldfiles_quotaon(struct quotahandle *qh, int idtype) argument
465 result = __quota_kernel_quotaon(qh, idtype);
761 int idtype)
763 switch (idtype) {
760 __quota_oldfiles_cursor_skipidtype(struct oldfiles_quotacursor *oqc, int idtype) argument
/netbsd-6-1-5-RELEASE/usr.sbin/edquota/
H A Dedquota.c133 getidbyname(const char *name, int idtype) argument
140 switch (idtype) {
152 warnx("%d: unknown quota type", idtype);
304 putprivs1(uint32_t id, int idtype, struct quotause *qup)
328 getprivs1(long id, int idtype, const char *filesys)
348 quota_idtype_to_ufs(idtype)))
400 dogetprivs2(struct quotahandle *qh, int idtype, id_t id, int defaultq, argument
405 qk.qk_idtype = idtype;
436 getprivs2(long id, int idtype, const char *filesys, int defaultq, argument
471 idtypename = quota_idtype_getname(qh, idtype);
500 putprivs2(uint32_t id, int idtype, struct quotause *qup) argument
550 getprivs(long id, int defaultq, int idtype, const char *filesys) argument
607 putprivs(uint32_t id, int idtype, struct quotalist *qlist) argument
622 clearpriv(int argc, char **argv, const char *filesys, int idtype) argument
770 writeprivs(struct quotalist *qlist, int outfd, const char *name, int idtype, const char *idtypename) argument
1111 replicate(const char *fs, int idtype, const char *protoname, char **names, int numnames) argument
1139 assign(const char *fs, int idtype, char *soft, char *hard, char *grace, char **names, int numnames) argument
1229 clear(const char *fs, int idtype, char **names, int numnames) argument
1235 editone(const char *fs, int idtype, const char *name, int tmpfd, const char *tmppath) argument
1269 edit(const char *fs, int idtype, char **names, int numnames) argument
1310 int idtype; local
[all...]
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dvfs_quotactl.c48 vfs_quotactl_idtypestat(struct mount *mp, int idtype, argument
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) argument
181 args.u.quotaon.qc_idtype = idtype;
187 vfs_quotactl_quotaoff(struct mount *mp, int idtype) argument
192 args.u.quotaoff.qc_idtype = idtype;
126 vfs_quotactl_cursorskipidtype(struct mount *mp, struct quotakcursor *cursor, int idtype) argument
/netbsd-6-1-5-RELEASE/usr.bin/quota/
H A Dquota.c320 showquotas(int idtype, const char *idtypename, id_t id, const char *idname) argument
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, argument
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, argument
479 getprivs(id_t id, int idtype) argument
515 qup->qvs, id, ufs_quota_class_names[idtype]) !
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/quotaon/
H A Dquotaon.c207 quotaonoff(struct fstab *fs, struct quotahandle *qh, int offmode, int idtype, argument
217 if (quota_quotaoff(qh, idtype)) {
224 if (quota_quotaon(qh, idtype)) {
234 fs->fs_file, quota_idtype_getname(qh, idtype), mode);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/util/
H A DSparseMap.pm189 my ($idtype, $idcol, $idwid);
195 $idtype = 'char';
199 $idtype = 'short';
203 $idtype = 'long';
207 $prog = "static const unsigned $idtype ${name}_imap[] = {\n";
498 my ($idtype, $idcol, $idwid);
509 $idtype = $opt{MAPTYPE};
516 $idtype = "${u}char";
518 $idtype = "${u}short";
520 $idtype
[all...]
/netbsd-6-1-5-RELEASE/sys/compat/common/
H A Dvfs_syscalls_50.c332 int idtype; local
347 idtype = quota_idtype_from_ufs(q1cmd & SUBCMDMASK);
358 error = vfs_quotactl_quotaon(mp, idtype, qfile);
364 error = vfs_quotactl_quotaoff(mp, idtype);
368 key.qk_idtype = idtype;
394 key.qk_idtype = idtype;
414 (void)idtype; /* not used */
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Dlocalconf.c320 * convert DOI value to idtype
325 doi2idtype(idtype)
326 int idtype;
328 if (ARRAYLEN(lc_doi2idtype) > idtype)
329 return lc_doi2idtype[idtype];
H A Dremoteconf.c116 if (id->idtype != doi2idtype(id_b->type))
120 switch (id->idtype) {
562 if (set_identifier(&id->id, old->idtype, old->id) != 0) {
567 id->idtype = old->idtype;
963 s_idtype (id->idtype));
1101 new->idtype = IDTYPE_ADDRESS;
H A Dremoteconf.h173 int idtype; /* identifier type */ member in struct:idspec
H A Dadmin.c190 int idtype = 0; local
389 idtype = acp->id_type;
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/sys/
H A Dprocessor.h125 extern int processor_bind(idtype_t idtype, id_t id,
/netbsd-6-1-5-RELEASE/libexec/rpc.rquotad/
H A Drquotad.c218 int idtype; local
243 idtype = QUOTA_IDTYPE_USER;
246 idtype = QUOTA_IDTYPE_GROUP;
278 qk.qk_idtype = idtype;
/netbsd-6-1-5-RELEASE/usr.sbin/quotarestore/
H A Dquotarestore.c198 getid(const char *name, int idtype, id_t *ret) argument
212 if (idtype == QUOTA_IDTYPE_USER && val > UID_MAX) {
215 if (idtype == QUOTA_IDTYPE_GROUP && val > GID_MAX) {

Completed in 199 milliseconds

12