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

123

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dexacctsys.c39 getacct(idtype_t idtype, id_t id, void *buf, size_t bufsize) argument
45 0, idtype, id, buf, bufsize, 0);
52 putacct(idtype_t idtype, id_t id, void *buf, size_t bufsize, int flags) argument
54 return (syscall(SYS_exacctsys, 1, idtype, id, buf, bufsize, flags));
58 wracct(idtype_t idtype, id_t id, int flags) argument
60 return (syscall(SYS_exacctsys, 2, idtype, id, NULL, 0, flags));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsigsend.c40 sigsend(idtype_t idtype, id_t id, int sig) argument
43 setprocset(&set, POP_AND, idtype, id, P_ALL, P_MYID);
H A Dwaitpid.c80 idtype_t idtype; local
86 idtype = P_PID;
89 idtype = P_PGID;
92 idtype = P_ALL;
95 idtype = P_PGID;
101 if ((error = waitid(idtype, id, &info, options)) < 0)
124 idtype_t idtype; local
149 idtype = P_PGID;
151 idtype = P_ALL;
153 idtype
[all...]
H A Dsetpriority.c111 idtype_t idtype; local
114 if ((idtype = prio_to_idtype(which)) == -1) {
142 if (priocntl(idtype, id, PC_DONICE, &pcnice) == -1)
152 idtype_t idtype; local
156 if ((idtype = prio_to_idtype(which)) == -1) {
184 ret = priocntl(idtype, id, PC_DONICE, &pcnice);
202 if (priocntl(idtype, id, PC_DONICE, &gpcnice) == 0 &&
H A Dpriocntl.c55 __priocntl(int pc_version, idtype_t idtype, id_t id, int cmd, caddr_t arg) argument
59 setprocset(&procset, POP_AND, idtype, id, P_ALL, 0);
67 priocntl(idtype_t idtype, id_t id, int cmd, ...) argument
75 setprocset(&procset, POP_AND, idtype, id, P_ALL, 0);
/illumos-gate/usr/src/lib/libast/common/features/
H A Dmode.c41 int idtype; local
43 idperm = idtype = 1;
52 if (!S_ISBLK(X_IFBLK)) idtype = 0;
61 if (!S_ISCHR(X_IFCHR)) idtype = 0;
70 if (!S_ISCTG(X_IFCTG)) idtype = 0;
77 if (!S_ISDIR(X_IFDIR)) idtype = 0;
86 if (!S_ISFIFO(X_IFIFO)) idtype = 0;
95 if (!S_ISLNK(X_IFLNK)) idtype = 0;
104 if (!S_ISREG(X_IFREG)) idtype = 0;
113 if (!S_ISSOCK(X_IFSOCK)) idtype
[all...]
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dwait4.c79 idtype_t idtype; local
104 idtype = P_PGID;
106 idtype = P_ALL;
108 idtype = P_PID;
110 error = waitid(idtype, pid, &info, noptions);
/illumos-gate/usr/src/cmd/priocntl/
H A Dfsspriocntl.c65 " priocntl -d [-d idtype] [idlist]\n"
66 " priocntl -s [-c FSS] [-m fssuprilim] [-p fssupri] [-i idtype] "
83 idtype_t idtype; local
154 if (str2idtyp(idtypnm, &idtype) == -1)
155 fatalerr("%s: Bad idtype %s\n", basenm,
158 idtype = P_PID;
171 return (set_fssprocs(idtype, idargc, &argv[optind], cflags,
278 fss_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument
280 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
285 * Set all processes in the set specified by idtype/idarg
290 set_fssprocs(idtype_t idtype, int idargc, char **idargv, uint_t cflags, short fssuprilim, short fssupri) argument
[all...]
H A Diapriocntl.c71 priocntl -d [-i idtype] [idlist]\n\
73 [-i idtype] [idlist]\n\
90 idtype_t idtype; local
179 if (str2idtyp(idtypnm, &idtype) == -1)
180 fatalerr("%s: Bad idtype %s\n", basenm,
183 idtype = P_PID;
199 return (set_iaprocs(idtype, idargc, &argv[optind], cflags,
313 ia_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument
315 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
321 * Set all processes in the set specified by idtype/idarg
326 set_iaprocs(idtype_t idtype, int idargc, char **idargv, uint_t cflags, pri_t iauprilim, pri_t iaupri, int iamode) argument
[all...]
H A Dtspriocntl.c72 priocntl -d [-d idtype] [idlist]\n\
73 priocntl -s [-c TS] [-m tsuprilim] [-p tsupri] [-i idtype] [idlist]\n\
88 idtype_t idtype; local
168 if (str2idtyp(idtypnm, &idtype) == -1)
169 fatalerr("%s: Bad idtype %s\n", basenm,
172 idtype = P_PID;
185 return (set_tsprocs(idtype, idargc, &argv[optind], cflags,
293 ts_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument
295 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
301 * Set all processes in the set specified by idtype/idarg
306 set_tsprocs(idtype_t idtype, int idargc, char **idargv, uint_t cflags, pri_t tsuprilim, pri_t tsupri) argument
[all...]
H A Dsubr.c74 * The idtype values themselves are defined in <sys/procset.h>.
77 idtype_t idtype; member in struct:idtypes
107 *idtypep = curp->idtype;
116 idtyp2str(idtype, idtypnm)
117 idtype_t idtype;
124 if (idtype == curp->idtype) {
162 getmyid(idtype, idptr)
163 idtype_t idtype;
168 switch (idtype) {
300 verifyupri(idtype_t idtype, id_t id, char *clname, int key, pri_t upri, char *basenm) argument
[all...]
H A Drtpriocntl.c77 " priocntl -d [-i idtype] [idlist]\n"
79 " [-i idtype] [idlist]\n"
98 idtype_t idtype; local
197 if (str2idtyp(idtypnm, &idtype) == -1)
198 fatalerr("%s: Bad idtype %s\n", basenm,
201 idtype = P_PID;
220 return (set_rtprocs(idtype, idargc, &argv[optind], cflags,
344 rt_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument
346 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
352 * Set all processes in the set specified by idtype/idarg
358 set_rtprocs(idtype_t idtype, int idargc, char **idargv, uint_t cflags, pri_t rtpri, long tqntm, long res, int rtqsig) argument
[all...]
H A Dfxpriocntl.c72 priocntl -d [-d idtype] [idlist]\n\
74 [-i idtype] [idlist]\n\
93 idtype_t idtype; local
194 if (str2idtyp(idtypnm, &idtype) == -1)
195 fatalerr("%s: Bad idtype %s\n", basenm,
198 idtype = P_PID;
216 return (set_fxprocs(idtype, idargc, &argv[optind], cflags,
342 fx_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument
344 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
349 * Set all processes in the set specified by idtype/idarg
354 set_fxprocs(idtype_t idtype, int idargc, char **idargv, uint_t cflags, pri_t fxuprilim, pri_t fxupri, long tqntm, long res) argument
[all...]
H A Dpriocntl.c73 priocntl -d [-i idtype] [idlist]\n\
74 priocntl -s [-c class] [c.s.o.] [-i idtype] [idlist]\n\
108 idtype_t idtype; local
185 if (str2idtyp(idtypnm, &idtype) == -1)
186 fatalerr("%s: bad idtype %s\n", cmdpath,
189 idtype = P_PID;
199 return (print_procs(idtype, idargc, idargv));
205 if (str2idtyp(idtypnm, &idtype) == -1)
206 fatalerr("%s: bad idtype %s\n", cmdpath,
209 idtype
314 print_procs(idtype_t idtype, int idargc, char *idargv[]) argument
468 set_procs(char *clname, idtype_t idtype, int idargc, char **idargv, char **subcmdargv) argument
786 ids2pids(idtype_t idtype, id_t *idlist, int nids, classpids_t *clpids, int nclass) argument
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_pbind.c36 pr_processor_bind(struct ps_prochandle *Pr, idtype_t idtype, id_t id, argument
45 return (processor_bind(idtype, id, processorid, obind));
47 adp->arg_value = idtype; /* idtype */
H A Dpr_waitid.c46 idtype_t idtype, id_t id, siginfo_t *infop, int options)
57 return (waitid(idtype, id, infop, options));
59 adp = &argd[0]; /* idtype argument */
60 adp->arg_value = idtype;
45 pr_waitid(struct ps_prochandle *Pr, idtype_t idtype, id_t id, siginfo_t *infop, int options) argument
/illumos-gate/usr/src/cmd/pools/poolbind/
H A Dpoolbind.c62 idtype_t idtype; member in struct:__anon1304
110 idtype_t idtype = P_PID; local
135 idtype = idtypes[i].idtype;
182 process_ids(pool_name, flags, idtype, idstr, argc, argv);
203 process_ids(char *pool_name, uint_t flags, idtype_t idtype, char *idstr, argument
217 (idtype == P_ZONEID &&
228 if (idtype == P_ZONEID) {
242 } else if (idtype == P_PROJID) {
258 if (pool_set_binding(pool_name, idtype, i
[all...]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Didmapd.h251 ((id).idtype == IDMAP_NONE)
254 ((id).idtype == IDMAP_SID || \
255 (id).idtype == IDMAP_USID || \
256 (id).idtype == IDMAP_GSID) \
259 ((id).idtype == IDMAP_UID)
262 ((id).idtype == IDMAP_GID)
265 ((id).idtype == IDMAP_UID || \
266 (id).idtype == IDMAP_GID || \
267 (id).idtype == IDMAP_POSIXID) \
H A Ddbutils.c1235 req->id1.idmap_id_u.sid.rid, res->id.idtype);
1238 res->id.idtype);
1286 req->id1.idtype = wksid->is_wuser ? IDMAP_USID : IDMAP_GSID;
1288 if (res->id.idtype == IDMAP_POSIXID) {
1289 res->id.idtype = wksid->is_wuser ? IDMAP_UID : IDMAP_GID;
1311 switch (res->id.idtype) {
1348 if (res->id.idtype == IDMAP_SID) {
1349 res->id.idtype = wksid->is_wuser ? IDMAP_USID : IDMAP_GSID;
1522 switch (res->id.idtype) {
1594 res->id.idtype
3888 idmap_id_type idtype; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_idmap.c80 smb_idmap_getsid(uid_t id, int idtype, smb_sid_t **sid) argument
84 switch (idtype) {
140 smb_idmap_getid(smb_sid_t *sid, uid_t *id, int *idtype) argument
151 switch (*idtype) {
172 *idtype = sim.sim_idtype;
254 * If requested ID type is known, it's passed as 'idtype',
259 smb_sid_t *sid, int idtype)
273 sim->sim_idtype = idtype;
275 switch (idtype) {
311 uid_t id, int idtype)
258 smb_idmap_batch_getid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, smb_sid_t *sid, int idtype) argument
310 smb_idmap_batch_getsid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, uid_t id, int idtype) argument
[all...]
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_kapi.c68 idmap_id_type idtype; member in struct:idmap_get_res
447 mapping.id1.idtype = IDMAP_SID;
450 mapping.id2.idtype = IDMAP_UID;
465 results.ids.ids_val[0].id.idtype == IDMAP_UID) {
524 mapping.id1.idtype = IDMAP_SID;
527 mapping.id2.idtype = IDMAP_GID;
542 results.ids.ids_val[0].id.idtype == IDMAP_GID) {
601 mapping.id1.idtype = IDMAP_SID;
604 mapping.id2.idtype = IDMAP_POSIXID;
620 results.ids.ids_val[0].id.idtype
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dexacctsys.c144 getacct(idtype_t idtype, id_t id, void *buf, size_t bufsize) argument
154 switch (idtype) {
169 putacct(idtype_t idtype, id_t id, void *buf, size_t bufsize, int flags) argument
188 switch (idtype) {
288 wracct(idtype_t idtype, id_t id, int flags) argument
306 switch (idtype) {
324 exacct(int code, idtype_t idtype, id_t id, void *buf, size_t bufsize, argument
335 return (getacct(idtype, id, buf, bufsize));
337 return (putacct(idtype, id, buf, bufsize, flags));
339 return (wracct(idtype, i
[all...]
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsched.c236 get_parms(idtype_t idtype, id_t id, pcparms_t *pcparmp) argument
239 if (priocntl(idtype, id, PC_GETPARMS, pcparmp) == -1)
248 set_priority(idtype_t idtype, id_t id, int policy, int prio, argument
282 rv = priocntl(idtype, id, PC_DOPRIO, &pcprio);
289 rv = priocntl(idtype, id, PC_SETPARMS, pcparmp);
300 setprio(idtype_t idtype, id_t id, int prio, int *policyp) argument
306 if ((pccp = get_parms(idtype, id, &pcparm)) == NULL)
320 if (set_priority(idtype, id, policy, prio, &pcparm, 0) == -1)
343 getparam(idtype_t idtype, id_t id, int *policyp, struct sched_param *param) argument
350 if ((pccp = get_parms(idtype, i
416 setparam(idtype_t idtype, id_t id, int policy, int prio) argument
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_identity.c93 idtype2string(int idtype) argument
96 switch(idtype) {
421 int idtype; local
435 idtype = IDTYPE_FILE;
438 idtype = IDTYPE_PKCS11;
441 idtype = IDTYPE_PKCS12;
443 idtype = IDTYPE_DIR;
445 idtype = IDTYPE_ENVVAR;
455 idtype = IDTYPE_FILE;
459 idopts->idtype
512 int idtype; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dlgrp_user.h94 idtype_t idtype; /* ID type */ member in struct:lgrp_affinity_args
248 lgrp_affinity_t lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp);
250 int lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp,
268 lgrp_id_t lgrp_home(idtype_t idtype, id_t id);

Completed in 112 milliseconds

123