/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_pbind.c | 36 pr_processor_bind(struct ps_prochandle *Pr, idtype_t idtype, id_t id, in pr_processor_bind() argument 45 return (processor_bind(idtype, id, processorid, obind)); in pr_processor_bind() 47 adp->arg_value = idtype; /* idtype */ in pr_processor_bind()
|
H A D | pr_waitid.c | 44 idtype_t idtype, id_t id, siginfo_t *infop, int options) in pr_waitid() argument 55 return (waitid(idtype, id, infop, options)); in pr_waitid() 58 adp->arg_value = idtype; in pr_waitid()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lgrp_user.h | 94 idtype_t idtype; /* ID type */ member 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);
|
H A D | processor.h | 132 extern int processor_bind(idtype_t idtype, id_t id,
|
H A D | procset.h | 60 idtype /* pollutes XPG4.2 namespace */ enum
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | sigsend.c | 38 sigsend(idtype_t idtype, id_t id, int sig) in sigsend() argument 41 setprocset(&set, POP_AND, idtype, id, P_ALL, P_MYID); in sigsend()
|
H A D | psecflags.c | 30 psecflags(idtype_t idtype, id_t id, psecflagwhich_t which, in psecflags() argument 35 setprocset(&procset, POP_AND, idtype, id, P_ALL, 0); in psecflags()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | exit.c | 1074 switch (idtype) { in waitid() 1097 if (idtype == P_ALL && in waitid() 1116 if (idtype == P_PID && id != cp->p_pid) in waitid() 1118 if (idtype == P_PGID && id != cp->p_pgrp) in waitid() 1156 if (idtype == P_PID) in waitid() 1166 if (idtype == P_PID && id != cp->p_pid) in waitid() 1168 if (idtype == P_PGID && id != cp->p_pgrp) in waitid() 1215 if (idtype != P_PID && in waitid() 1234 if (idtype == P_PID) in waitid() 1279 if (error = waitid(idtype, id, &info, options)) in waitsys() [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.xs | 209 lgrp_affinity_get(idtype, id, lgrp) 210 idtype_t idtype; 217 lgrp_affinity_set(idtype, id, lgrp, affinity) 218 idtype_t idtype; 240 lgrp_home(idtype, id) 241 idtype_t idtype;
|
/illumos-gate/usr/src/lib/liblgrp/common/ |
H A D | lgrp.c | 82 lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp) in lgrp_affinity_get() argument 86 args.idtype = idtype; in lgrp_affinity_get() 97 lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp, in lgrp_affinity_set() argument 102 args.idtype = idtype; in lgrp_affinity_set() 114 lgrp_home(idtype_t idtype, id_t id) in lgrp_home() argument 120 if (id == P_MYID && (idtype == P_LWPID || idtype == P_PID)) in lgrp_home() 123 return (_lgrpsys(LGRP_SYS_HOME, idtype, (void *)(intptr_t)id)); in lgrp_home()
|
/illumos-gate/usr/src/cmd/ptools/psecflags/ |
H A D | psecflags.c | 134 idtype_t idtype = P_PID; in main() local 247 if (str2idtype(idtypename, &idtype) == -1) in main() 252 if ((id = getid(idtype, argv[i])) == (id_t)-1) { in main() 261 if (psecflags(idtype, id, which, &act) != 0) { in main()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_sd.c | 204 int idtype; in smb_sd_tofs() local 229 idtype = SMB_IDMAP_USER; in smb_sd_tofs() 230 idm_stat = smb_idmap_getid(sid, &fs_sd->sd_uid, &idtype); in smb_sd_tofs() 242 idtype = SMB_IDMAP_GROUP; in smb_sd_tofs() 243 idm_stat = smb_idmap_getid(sid, &fs_sd->sd_gid, &idtype); in smb_sd_tofs()
|
H A D | smb_acl.c | 523 int i, idtype; in smb_fsacl_getsids() local 532 idtype = SMB_IDMAP_OWNERAT; in smb_fsacl_getsids() 537 idtype = SMB_IDMAP_GROUPAT; in smb_fsacl_getsids() 542 idtype = SMB_IDMAP_GROUP; in smb_fsacl_getsids() 549 idtype = SMB_IDMAP_EVERYONE; in smb_fsacl_getsids() 554 idtype = SMB_IDMAP_USER; in smb_fsacl_getsids() 561 id, idtype); in smb_fsacl_getsids()
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_acl.c | 474 int i, idtype; in smb_fsacl_getsids() local 483 idtype = SMB_IDMAP_OWNERAT; in smb_fsacl_getsids() 488 idtype = SMB_IDMAP_GROUPAT; in smb_fsacl_getsids() 493 idtype = SMB_IDMAP_GROUP; in smb_fsacl_getsids() 500 idtype = SMB_IDMAP_EVERYONE; in smb_fsacl_getsids() 505 idtype = SMB_IDMAP_USER; in smb_fsacl_getsids() 513 id, idtype); in smb_fsacl_getsids()
|
H A D | smb_sd.c | 286 int idtype; in smb_sd_tofs() local 311 idtype = SMB_IDMAP_USER; in smb_sd_tofs() 312 idm_stat = smb_idmap_getid(sid, &fs_sd->sd_uid, &idtype); in smb_sd_tofs() 324 idtype = SMB_IDMAP_GROUP; in smb_sd_tofs() 325 idm_stat = smb_idmap_getid(sid, &fs_sd->sd_gid, &idtype); in smb_sd_tofs()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pset.c | 408 pset_unbind(psetid_t pset, void *projbuf, void *zonebuf, idtype_t idtype) in pset_unbind() argument 418 if (idtype == P_PSETID && cpupart_find(pset) == NULL) in pset_unbind() 435 if ((idtype == P_PSETID && tp->t_bind_pset != pset) || in pset_unbind() 436 (idtype == P_ALL && tp->t_bind_pset == PS_NONE)) in pset_unbind() 533 pset_bind(psetid_t pset, idtype_t idtype, id_t id, psetid_t *opset) in pset_bind() argument 578 switch (idtype) { in pset_bind() 674 error = pset_unbind(id, projbuf, zonebuf, idtype); in pset_bind() 682 error = pset_unbind(PS_NONE, projbuf, zonebuf, idtype); in pset_bind()
|
H A D | lgrpsys.c | 392 idtype_t idtype; in lgrp_affinity_get() local 404 idtype = args.idtype; in lgrp_affinity_get() 422 switch (idtype) { in lgrp_affinity_get() 708 idtype_t idtype; in lgrp_affinity_set() local 720 idtype = args.idtype; in lgrp_affinity_set() 747 if (idtype != P_LWPID && idtype != P_PID) in lgrp_affinity_set() 754 switch (idtype) { in lgrp_affinity_set() 994 lgrp_home_get(idtype_t idtype, id_t id) in lgrp_home_get() argument 1003 switch (idtype) { in lgrp_home_get()
|
H A D | processor_bind.c | 187 processor_bind(idtype_t idtype, id_t id, processorid_t bind, in processor_bind() argument 233 switch (idtype) { in processor_bind()
|
/illumos-gate/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 662 Plgrp_affinity_get(struct ps_prochandle *Ph, idtype_t idtype, id_t id, in Plgrp_affinity_get() argument 679 args.idtype = idtype; in Plgrp_affinity_get() 729 Plgrp_affinity_set(struct ps_prochandle *Ph, idtype_t idtype, id_t id, in Plgrp_affinity_set() argument 746 args.idtype = idtype; in Plgrp_affinity_set() 795 Plgrp_home(struct ps_prochandle *Ph, idtype_t idtype, id_t id) in Plgrp_home() argument 823 Pargdp->arg_value = idtype; in Plgrp_home() 855 Plgrp_home_set(struct ps_prochandle *Ph, idtype_t idtype, id_t id, in Plgrp_home_set() argument 858 return (Plgrp_affinity_set(Ph, idtype, id, lgrp, in Plgrp_home_set()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | psetsys.c | 70 pset_bind(psetid_t pset, idtype_t idtype, id_t id, psetid_t *opset) in pset_bind() argument 72 return (_pset(PSET_BIND, pset, idtype, id, opset)); in pset_bind()
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_quota.c | 704 int idtype; in smb_quota_getid() local 712 idtype = SMB_IDMAP_USER; in smb_quota_getid() 717 idtype = SMB_IDMAP_GROUP; in smb_quota_getid() 725 rc = smb_idmap_getid(sid, id, &idtype); in smb_quota_getid() 1051 int idtype; in smb_quota_sidstr() local 1057 idtype = SMB_IDMAP_USER; in smb_quota_sidstr() 1061 idtype = SMB_IDMAP_GROUP; in smb_quota_sidstr() 1067 if (smb_idmap_getsid(id, idtype, &sid) != IDMAP_SUCCESS) in smb_quota_sidstr()
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/ |
H A D | Lgrp.pod | 218 =item lgrp_home($idtype, $id) 220 Returns the home lgroup for the given process or thread. The B<$idtype> argument 222 process id. Otherwise, the B<$idtype> argument should be C<P_LWPID> to specify a 378 =item lgrp_affinity_set($idtype, $id, $lgrp, $affinity) 380 The function sets of LWPs specified by the B<$idtype> and B<$id> arguments have 383 The function sets the affinity that the LWP or set of LWPs specified by $idtype 390 $id if idtype is C<P_LWPID>. If $id is C<P_MYID>, then the current LWP or 418 =item lgrp_affinity_get($idtype, $id, $lgrp) 568 =item home($idtype, $id) 573 =item affinity_get($idtype, $id, $lgrp) [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | nldaputils.c | 783 (res->id.idtype == IDMAP_UID || in nldap_lookup_batch() 784 res->id.idtype == IDMAP_GID)); in nldap_lookup_batch() 805 (res->id.idtype == IDMAP_UID) ? 1 : 0, in nldap_lookup_batch() 837 (req->id1.idtype == IDMAP_UID) ? 1 : 0, in nldap_lookup_batch() 849 (req->id1.idtype == IDMAP_UID) ? 1 : 0, in nldap_lookup_batch() 914 &res->id.idtype, in nldap_lookup_batch()
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit.h | 194 int idtype; member 276 char * idtype2string(int idtype);
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_impl.h | 63 idmap_id_type idtype; member
|