/illumos-gate/usr/src/uts/common/idmap/ |
H A D | idmap_kapi.c | 447 mapping.id1.idtype = IDMAP_SID; in kidmap_getuidbysid() 448 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix; in kidmap_getuidbysid() 449 mapping.id1.idmap_id_u.sid.rid = rid; in kidmap_getuidbysid() 524 mapping.id1.idtype = IDMAP_SID; in kidmap_getgidbysid() 525 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix; in kidmap_getgidbysid() 526 mapping.id1.idmap_id_u.sid.rid = rid; in kidmap_getgidbysid() 601 mapping.id1.idtype = IDMAP_SID; in kidmap_getpidbysid() 602 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix; in kidmap_getpidbysid() 603 mapping.id1.idmap_id_u.sid.rid = rid; in kidmap_getpidbysid() 691 mapping.id1.idtype = IDMAP_UID; in kidmap_getsidbyuid() [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | dbutils.c | 1305 assert(req->id1.idmap_id_u.sid.prefix != NULL || in lookup_wksids_sid2pid() 1308 if (req->id1.idmap_id_u.sid.prefix != NULL) { in lookup_wksids_sid2pid() 1309 wksid = find_wksid_by_sid(req->id1.idmap_id_u.sid.prefix, in lookup_wksids_sid2pid() 1310 req->id1.idmap_id_u.sid.rid, res->id.idtype); in lookup_wksids_sid2pid() 1328 if (req->id1.idmap_id_u.sid.prefix == NULL) { in lookup_wksids_sid2pid() 1330 req->id1.idmap_id_u.sid.prefix = in lookup_wksids_sid2pid() 1334 req->id1.idmap_id_u.sid.prefix = in lookup_wksids_sid2pid() 1338 if (req->id1.idmap_id_u.sid.prefix == NULL) in lookup_wksids_sid2pid() 1340 req->id1.idmap_id_u.sid.rid = wksid->rid; in lookup_wksids_sid2pid() 1361 req->id1.idtype = wksid->is_wuser ? IDMAP_USID : IDMAP_GSID; in lookup_wksids_sid2pid() [all …]
|
H A D | server.c | 126 if (IS_ID_UID(req->id1) || IS_ID_GID(req->id1)) in validate_mapped_id_by_name_req() 129 if (IS_ID_SID(req->id1)) { in validate_mapped_id_by_name_req() 259 if (IS_ID_SID(req->id1)) { in idmap_get_mapped_ids_1_svc() 264 } else if (IS_ID_UID(req->id1)) { in idmap_get_mapped_ids_1_svc() 269 } else if (IS_ID_GID(req->id1)) { in idmap_get_mapped_ids_1_svc() 345 req->id1.idmap_id_u.sid.prefix != NULL && in idmap_get_mapped_ids_1_svc() 402 if (IS_ID_SID(req->id1)) { in idmap_get_mapped_ids_1_svc() 407 } else if (IS_ID_UID(req->id1)) { in idmap_get_mapped_ids_1_svc() 412 } else if (IS_ID_GID(req->id1)) { in idmap_get_mapped_ids_1_svc() 443 if (IS_ID_SID(req->id1)) { in idmap_get_mapped_ids_1_svc() [all …]
|
H A D | nldaputils.c | 771 if (IS_ID_SID(req->id1)) { in nldap_lookup_batch() 812 } else if (IS_ID_UID(req->id1) || IS_ID_GID(req->id1)) { in nldap_lookup_batch() 833 if (req->id1.idmap_id_u.uid != IDMAP_SENTINEL_PID) { in nldap_lookup_batch() 836 qs, req->id1.idmap_id_u.uid, 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() 854 &req->id1.idmap_id_u.uid, &res->retcode); in nldap_lookup_batch() 907 (IS_ID_UID(req->id1) || IS_ID_GID(req->id1))) { in nldap_lookup_batch()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnutils.c | 144 ident_equal(const FN_identifier_t *id1, const FN_identifier_t *id2) in ident_equal() argument 146 return ((id1->format == id2->format) && in ident_equal() 147 (id1->length == id2->length) && in ident_equal() 148 (memcmp(id1->contents, id2->contents, id1->length) == 0)); in ident_equal()
|
/illumos-gate/usr/src/common/devid/ |
H A D | devid.c | 106 ddi_devid_compare(ddi_devid_t id1, ddi_devid_t id2) in ddi_devid_compare() argument 108 devid_compare(ddi_devid_t id1, ddi_devid_t id2) in ddi_devid_compare() 112 impl_devid_t *i_id1 = (impl_devid_t *)id1; in ddi_devid_compare() 117 DEVID_ASSERT((id1 != NULL) && (id2 != NULL)); in ddi_devid_compare() 118 DEVID_ASSERT(DEVID_FUNC(devid_valid)(id1) == DEVID_RET_VALID); in ddi_devid_compare() 122 if ((rval = bcmp(id1, id2, 4)) != 0) { in ddi_devid_compare() 496 static uchar_t id1[sizeof (impl_devid_t) + MAXPATHLEN]; in ddi_devid_str_compare() local 500 uchar_t id1[sizeof (impl_devid_t) + MAXPATHLEN]; in ddi_devid_str_compare() local 511 if ((devid_str_decode_id(id1_str, &devid1, NULL, (impl_devid_t *)id1) == in ddi_devid_str_compare()
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | mconnect.c | 56 MESG * mconnect ( char * path, int id1, int id2 ) in mconnect() argument 60 int id1; 141 if (id1 > 0 && id2 > 0) 152 md->readfd = id1;
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_api.c | 826 str = mappings->mappings.mappings_val[iter->next].id1. in idmap_iter_next_mapping() 837 *rid = mappings->mappings.mappings_val[iter->next].id1. in idmap_iter_next_mapping() 866 *is_wuser = (mappings->mappings.mappings_val[iter->next].id1 in idmap_iter_next_mapping() 1019 mapping->id1.idtype = IDMAP_SID; in idmap_getext_uidbysid() 1020 mapping->id1.idmap_id_u.sid.rid = rid; in idmap_getext_uidbysid() 1021 if ((mapping->id1.idmap_id_u.sid.prefix = strdup(sidprefix)) == NULL) { in idmap_getext_uidbysid() 1114 mapping->id1.idtype = IDMAP_SID; in idmap_getext_gidbysid() 1115 mapping->id1.idmap_id_u.sid.rid = rid; in idmap_getext_gidbysid() 1116 if ((mapping->id1.idmap_id_u.sid.prefix = strdup(sidprefix)) == NULL) { in idmap_getext_gidbysid() 1214 mapping->id1.idtype = IDMAP_SID; in idmap_getext_pidbysid() [all …]
|
/illumos-gate/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 216 ctid_t id1 = *(ctid_t *)a1; in ctid_compar() local 219 if (id1 > id2) in ctid_compar() 221 if (id2 > id1) in ctid_compar()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | asn1.c | 529 uchar_t id1, id2; in asn_parse_string() local 535 id1 = ASN_UNIVERSAL | ASN_PRIMITIVE | ASN_OCTET_STR; in asn_parse_string() 537 if ((buf[0] != id1) && (buf[0] != id2)) in asn_parse_string() 561 if (buf[0] == id1) { in asn_parse_string()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | socket_proto.h | 47 #define SOCK_CONNID_LT(id1, id2) ((int64_t)((id1)-(id2)) < 0) argument
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | sched.c | 461 uint32_t id1, in el_remove() argument 472 if (evl_remove(id1, id2, pending) != 0) { in el_remove() 481 if (!n->isdummy && ev_match(n->event, id1) != 0) { in el_remove()
|
H A D | dd.c | 1125 int id1, id2, id3; in create_ds_object() local 1128 id1 = ATTR_INDEX_DD(ISNS_DD_NAME_ATTR_ID); in create_ds_object() 1133 id1 = ATTR_INDEX_DDS(ISNS_DD_SET_NAME_ATTR_ID); in create_ds_object() 1141 assign_attr(&obj->attrs[id1], name_attr) == 0) && in create_ds_object()
|
H A D | esi.c | 1021 uint32_t id1, in evl_remove() argument 1030 if (ev_match(ev, id1) != 0) { in evl_remove()
|
/illumos-gate/usr/src/uts/common/xen/public/xsm/ |
H A D | acm_ops.h | 95 } id1; member
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | ids.c | 968 ids_comp_pnp(const void *id1, const void *id2) { in ids_comp_pnp() argument 969 struct pnp_id *pnp_id1 = (struct pnp_id *) id1; in ids_comp_pnp()
|
/illumos-gate/usr/src/cmd/ctstat/ |
H A D | ctstat.c | 92 int id1 = *(int *)a1; in int_compar() local 95 if (id1 > id2) in int_compar() 97 if (id2 > id1) in int_compar()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 181 int id1, id2, r=0, n, fd; in sh_checkaudit() local 195 id1 = id2 = strtol(cp,&last,10); in sh_checkaudit() 197 id1 = strtol(last+1,&last,10); in sh_checkaudit() 198 if(shgd->euserid >=id1 && shgd->euserid <= id2) in sh_checkaudit() 200 if(shgd->userid >=id1 && shgd->userid <= id2) in sh_checkaudit()
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_util.c | 612 uint_t id1, id2; in acpidev_gen_unitaddr() local 642 if (sscanf(uid, fmt, &id1, &id2) != cnt) { in acpidev_gen_unitaddr() 649 if (cnt == 2 && snprintf(buf, len, "%u,%u", id2, id1) >= len) { in acpidev_gen_unitaddr() 653 } else if (cnt == 1 && snprintf(buf, len, "%u", id1) >= len) { in acpidev_gen_unitaddr()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | forcedeth.c | 691 int id1, id2; in forcedeth_reset() local 693 id1 = mii_rw(nic, i, MII_PHYSID1, MII_READ); in forcedeth_reset() 694 if (id1 < 0) in forcedeth_reset() 700 id1, id2, i)); in forcedeth_reset()
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/ |
H A D | LocalityGroup.java | 210 private native int jl_latency(long id1, long id2); in jl_latency() argument
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls_mgmt.c | 1429 dls_devnet_rename(datalink_id_t id1, datalink_id_t id2, const char *link) in dls_devnet_rename() argument 1452 if (dls_mgmt_get_phydev(id1, &phydev) == 0) in dls_devnet_rename() 1460 if ((err = mac_perim_enter_by_linkid(id1, &mph)) != 0) { in dls_devnet_rename() 1467 (mod_hash_key_t)(uintptr_t)id1, (mod_hash_val_t *)&ddp)) != 0) { in dls_devnet_rename() 1536 (mod_hash_key_t)(uintptr_t)id1, &val); in dls_devnet_rename()
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 91 id_match(struct iodev_id *id1, struct iodev_id *id2) in id_match() argument 93 return (id1->id == id2->id && in id_match() 94 strcmp(id1->tid, id2->tid) == 0); in id_match()
|
/illumos-gate/usr/src/uts/common/rpcsvc/ |
H A D | idmap_prot.x | 293 idmap_id id1; member
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | client.c | 448 entity_find2(repcache_client_t *cp, uint32_t id1, repcache_entity_t **out1, in entity_find2() argument 454 if (id1 == id2) in entity_find2() 458 e1 = uu_avl_find(cp->rc_entities, &id1, NULL, NULL); in entity_find2() 470 if (id1 < id2) { in entity_find2() 483 add_log_ptr(rlp, RC_PTR_TYPE_ENTITY, id1, e1); in entity_find2()
|