Home
last modified time | relevance | path

Searched refs:id1 (Results 1 – 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_kapi.c447 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 Ddbutils.c1305 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 Dserver.c126 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 Dnldaputils.c771 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 Dns_fnutils.c144 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 Ddevid.c106 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 Dmconnect.c56 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 Didmap_api.c826 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 Dctwatch.c216 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 Dasn1.c529 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 Dsocket_proto.h47 #define SOCK_CONNID_LT(id1, id2) ((int64_t)((id1)-(id2)) < 0) argument
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dsched.c461 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 Ddd.c1125 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 Desi.c1021 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 Dacm_ops.h95 } id1; member
/illumos-gate/usr/src/cmd/hal/hald/
H A Dids.c968 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 Dctstat.c92 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 Dhistory.c181 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 Dacpidev_util.c612 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 Dforcedeth.c691 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 DLocalityGroup.java210 private native int jl_latency(long id1, long id2); in jl_latency() argument
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c1429 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 Dacquire_iodevs.c91 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 Didmap_prot.x293 idmap_id id1; member
/illumos-gate/usr/src/cmd/svc/configd/
H A Dclient.c448 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()

12