Searched defs:idtype (Results 1 - 25 of 59) sorted by relevance

123

/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/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 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 Dpsecflags.c30 psecflags(idtype_t idtype, id_t id, psecflagwhich_t which, argument
35 setprocset(&procset, POP_AND, idtype, id, P_ALL, 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);
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...]
/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/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));
H A Dpsetsys.c70 pset_bind(psetid_t pset, idtype_t idtype, id_t id, psetid_t *opset) argument
72 return (_pset(PSET_BIND, pset, idtype, id, opset));
/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/uts/common/syscall/
H A Dprocessor_bind.c187 processor_bind(idtype_t idtype, id_t id, processorid_t bind, argument
233 switch (idtype) {
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_idmap.c73 smb_idmap_getsid(uid_t id, int idtype, smb_sid_t **sid) argument
83 id, idtype);
217 * If requested ID type is known, it's passed as 'idtype',
222 smb_sid_t *sid, int idtype)
235 sim->sim_idtype = idtype;
237 switch (idtype) {
279 uid_t id, int idtype)
287 switch (idtype) {
221 smb_idmap_batch_getid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, smb_sid_t *sid, int idtype) argument
278 smb_idmap_batch_getsid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, uid_t id, int idtype) argument
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_idmap.c70 smb_idmap_getsid(uid_t id, int idtype, smb_sid_t **sid) argument
80 id, idtype);
216 * If requested ID type is known, it's passed as 'idtype',
221 smb_sid_t *sid, int idtype)
234 sim->sim_idtype = idtype;
236 switch (idtype) {
278 uid_t id, int idtype)
286 switch (idtype) {
220 smb_idmap_batch_getid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, smb_sid_t *sid, int idtype) argument
277 smb_idmap_batch_getsid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, uid_t id, int idtype) argument
H A Dsmb_acl.c421 int i, idtype; local
429 idtype = SMB_IDMAP_OWNERAT;
434 idtype = SMB_IDMAP_GROUPAT;
440 idtype = SMB_IDMAP_GROUP;
444 idtype = SMB_IDMAP_EVERYONE;
450 idtype = SMB_IDMAP_USER;
454 id, idtype);
H A Dsmb_sd.c286 int idtype; local
311 idtype = SMB_IDMAP_USER;
312 idm_stat = smb_idmap_getid(sid, &fs_sd->sd_uid, &idtype);
324 idtype = SMB_IDMAP_GROUP;
325 idm_stat = smb_idmap_getid(sid, &fs_sd->sd_gid, &idtype);
/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) {
132 smb_idmap_getid(smb_sid_t *sid, uid_t *id, int *idtype) argument
143 switch (*idtype) {
164 *idtype = sim.sim_idtype;
242 * If requested ID type is known, it's passed as 'idtype',
247 smb_sid_t *sid, int idtype)
261 switch (idtype) {
296 uid_t id, int idtype)
300 switch (idtype) {
246 smb_idmap_batch_getid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, smb_sid_t *sid, int idtype) argument
295 smb_idmap_batch_getsid(idmap_get_handle_t *idmaph, smb_idmap_t *sim, uid_t id, int idtype) argument
[all...]
H A Dsmb_sd.c201 int idtype; local
226 idtype = SMB_IDMAP_USER;
227 idm_stat = smb_idmap_getid(sid, &fs_sd->sd_uid, &idtype);
239 idtype = SMB_IDMAP_GROUP;
240 idm_stat = smb_idmap_getid(sid, &fs_sd->sd_gid, &idtype);
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_impl.h63 idmap_id_type idtype; member in struct:idmap_get_res
/illumos-gate/usr/src/cmd/pools/poolbind/
H A Dpoolbind.c62 idtype_t idtype; member in struct:__anon1257
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/uts/common/os/
H A Dprocset.c780 getmyid(idtype_t idtype) argument
789 switch (idtype) {
/illumos-gate/usr/src/uts/common/sys/
H A Dprocset.h57 * specifies the interpretation of an id value. An idtype and
62 idtype /* pollutes XPG4.2 namespace */ enum
/illumos-gate/usr/src/cmd/ptools/psecflags/
H A Dpsecflags.c44 * The idtype values themselves are defined in <sys/procset.h>.
134 idtype_t idtype = P_PID; local
207 gettext("\t%s -s spec [-i idtype] id ...\n"),
247 if (str2idtype(idtypename, &idtype) == -1)
252 if ((id = getid(idtype, argv[i])) == (id_t)-1) {
261 if (psecflags(idtype, id, which, &act) != 0) {
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dwait.c94 typedef enum idtype { enum
176 idtype_t idtype; local
205 idtype = P_PGID;
207 idtype = P_ALL;
209 idtype = P_PID;
211 error = _waitid(idtype, pid, &info, noptions);
/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...]

Completed in 117 milliseconds

123