Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/uts/common/idmap/
H A Didmap_kapi.c446 mapping.id1.idtype = IDMAP_SID; in kidmap_getuidbysid()
447 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix; in kidmap_getuidbysid()
448 mapping.id1.idmap_id_u.sid.rid = rid; in kidmap_getuidbysid()
523 mapping.id1.idtype = IDMAP_SID; in kidmap_getgidbysid()
524 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix; in kidmap_getgidbysid()
525 mapping.id1.idmap_id_u.sid.rid = rid; in kidmap_getgidbysid()
600 mapping.id1.idtype = IDMAP_SID; in kidmap_getpidbysid()
601 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix; in kidmap_getpidbysid()
602 mapping.id1.idmap_id_u.sid.rid = rid; in kidmap_getpidbysid()
690 mapping.id1.idtype = IDMAP_UID; in kidmap_getsidbyuid()
[all …]
/titanic_44/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c1230 assert(req->id1.idmap_id_u.sid.prefix != NULL || in lookup_wksids_sid2pid()
1233 if (req->id1.idmap_id_u.sid.prefix != NULL) { in lookup_wksids_sid2pid()
1234 wksid = find_wksid_by_sid(req->id1.idmap_id_u.sid.prefix, in lookup_wksids_sid2pid()
1235 req->id1.idmap_id_u.sid.rid, res->id.idtype); in lookup_wksids_sid2pid()
1253 if (req->id1.idmap_id_u.sid.prefix == NULL) { in lookup_wksids_sid2pid()
1255 req->id1.idmap_id_u.sid.prefix = in lookup_wksids_sid2pid()
1259 req->id1.idmap_id_u.sid.prefix = in lookup_wksids_sid2pid()
1263 if (req->id1.idmap_id_u.sid.prefix == NULL) in lookup_wksids_sid2pid()
1265 req->id1.idmap_id_u.sid.rid = wksid->rid; in lookup_wksids_sid2pid()
1286 req->id1.idtype = wksid->is_wuser ? IDMAP_USID : IDMAP_GSID; in lookup_wksids_sid2pid()
[all …]
H A Dserver.c125 if (IS_ID_UID(req->id1) || IS_ID_GID(req->id1)) in validate_mapped_id_by_name_req()
128 if (IS_ID_SID(req->id1)) { in validate_mapped_id_by_name_req()
257 if (IS_ID_SID(req->id1)) { in idmap_get_mapped_ids_1_svc()
262 } else if (IS_ID_UID(req->id1)) { in idmap_get_mapped_ids_1_svc()
267 } else if (IS_ID_GID(req->id1)) { in idmap_get_mapped_ids_1_svc()
343 req->id1.idmap_id_u.sid.prefix != NULL && in idmap_get_mapped_ids_1_svc()
400 if (IS_ID_SID(req->id1)) { in idmap_get_mapped_ids_1_svc()
405 } else if (IS_ID_UID(req->id1)) { in idmap_get_mapped_ids_1_svc()
410 } else if (IS_ID_GID(req->id1)) { in idmap_get_mapped_ids_1_svc()
441 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()
/titanic_44/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()
/titanic_44/usr/src/common/devid/
H A Ddevid.c103 ddi_devid_compare(ddi_devid_t id1, ddi_devid_t id2) in ddi_devid_compare() argument
105 devid_compare(ddi_devid_t id1, ddi_devid_t id2) in ddi_devid_compare()
109 impl_devid_t *i_id1 = (impl_devid_t *)id1; in ddi_devid_compare()
114 DEVID_ASSERT((id1 != NULL) && (id2 != NULL)); in ddi_devid_compare()
115 DEVID_ASSERT(DEVID_FUNC(devid_valid)(id1) == DEVID_RET_VALID); in ddi_devid_compare()
119 if ((rval = bcmp(id1, id2, 4)) != 0) { in ddi_devid_compare()
492 static uchar_t id1[sizeof (impl_devid_t) + MAXPATHLEN]; in ddi_devid_str_compare() local
496 uchar_t id1[sizeof (impl_devid_t) + MAXPATHLEN]; in ddi_devid_str_compare() local
507 if ((devid_str_decode_id(id1_str, &devid1, NULL, (impl_devid_t *)id1) == in ddi_devid_str_compare()
/titanic_44/usr/src/cmd/lp/lib/msgs/
H A Dmconnect.c57 MESG * mconnect ( char * path, int id1, int id2 ) in mconnect() argument
61 int id1;
142 if (id1 > 0 && id2 > 0)
153 md->readfd = id1;
/titanic_44/usr/src/lib/libidmap/common/
H A Didmap_api.c825 str = mappings->mappings.mappings_val[iter->next].id1. in idmap_iter_next_mapping()
836 *rid = mappings->mappings.mappings_val[iter->next].id1. in idmap_iter_next_mapping()
865 *is_wuser = (mappings->mappings.mappings_val[iter->next].id1 in idmap_iter_next_mapping()
1018 mapping->id1.idtype = IDMAP_SID; in idmap_getext_uidbysid()
1019 mapping->id1.idmap_id_u.sid.rid = rid; in idmap_getext_uidbysid()
1020 if ((mapping->id1.idmap_id_u.sid.prefix = strdup(sidprefix)) == NULL) { in idmap_getext_uidbysid()
1113 mapping->id1.idtype = IDMAP_SID; in idmap_getext_gidbysid()
1114 mapping->id1.idmap_id_u.sid.rid = rid; in idmap_getext_gidbysid()
1115 if ((mapping->id1.idmap_id_u.sid.prefix = strdup(sidprefix)) == NULL) { in idmap_getext_gidbysid()
1213 mapping->id1.idtype = IDMAP_SID; in idmap_getext_pidbysid()
[all …]
/titanic_44/usr/src/cmd/ctwatch/
H A Dctwatch.c218 ctid_t id1 = *(ctid_t *)a1; in ctid_compar() local
221 if (id1 > id2) in ctid_compar()
223 if (id2 > id1) in ctid_compar()
/titanic_44/usr/src/uts/common/sys/
H A Dsocket_proto.h43 #define SOCK_CONNID_LT(id1, id2) ((int64_t)((id1)-(id2)) < 0) argument
/titanic_44/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dasn1.c547 uchar_t id1, id2; in asn_parse_string() local
553 id1 = ASN_UNIVERSAL | ASN_PRIMITIVE | ASN_OCTET_STR; in asn_parse_string()
555 if ((buf[0] != id1) && (buf[0] != id2)) in asn_parse_string()
579 if (buf[0] == id1) { in asn_parse_string()
/titanic_44/usr/src/uts/common/xen/public/xsm/
H A Dacm_ops.h95 } id1; member
/titanic_44/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 Desi.c1021 uint32_t id1, in evl_remove() argument
1030 if (ev_match(ev, id1) != 0) { in evl_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()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_util.c607 uint_t id1, id2; in acpidev_gen_unitaddr() local
637 if (sscanf(uid, fmt, &id1, &id2) != cnt) { in acpidev_gen_unitaddr()
644 if (cnt == 2 && snprintf(buf, len, "%u,%u", id2, id1) >= len) { in acpidev_gen_unitaddr()
648 } else if (cnt == 1 && snprintf(buf, len, "%u", id1) >= len) { in acpidev_gen_unitaddr()
/titanic_44/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()
/titanic_44/usr/src/lib/libshell/common/edit/
H A Dhistory.c182 int id1, id2, r=0, n, fd; in sh_checkaudit() local
196 id1 = id2 = strtol(cp,&last,10); in sh_checkaudit()
198 id1 = strtol(last+1,&last,10); in sh_checkaudit()
199 if(shp->euserid >=id1 && shp->euserid <= id2) in sh_checkaudit()
201 if(shp->userid >=id1 && shp->userid <= id2) in sh_checkaudit()
/titanic_44/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
/titanic_44/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c1266 dls_devnet_rename(datalink_id_t id1, datalink_id_t id2, const char *link) in dls_devnet_rename() argument
1290 if (dls_mgmt_get_phydev(id1, &phydev) == 0) in dls_devnet_rename()
1298 if ((err = mac_perim_enter_by_linkid(id1, &mph)) != 0) { in dls_devnet_rename()
1305 (mod_hash_key_t)(uintptr_t)id1, (mod_hash_val_t *)&ddp)) != 0) { in dls_devnet_rename()
1384 (mod_hash_key_t)(uintptr_t)id1, &val); in dls_devnet_rename()
/titanic_44/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_memerr.c88 char *id1, *id2; in find_fault_fru() local
117 (void) nvlist_lookup_string(topo_hcl[i], FM_FMRI_HC_ID, &id1); in find_fault_fru()
120 if (strcmp(name1, name2) != 0 || strcmp(id1, id2) != 0) { in find_fault_fru()
/titanic_44/usr/src/uts/common/rpcsvc/
H A Didmap_prot.x293 idmap_id id1; member
/titanic_44/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()

12