Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 25 of 33) sorted by relevance

12

/titanic_50/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()
110 impl_devid_t *i_id2 = (impl_devid_t *)id2; in ddi_devid_compare()
114 DEVID_ASSERT((id1 != NULL) && (id2 != NULL)); in ddi_devid_compare()
116 DEVID_ASSERT(DEVID_FUNC(devid_valid)(id2) == DEVID_RET_VALID); in ddi_devid_compare()
119 if ((rval = bcmp(id1, id2, 4)) != 0) { in ddi_devid_compare()
493 static uchar_t id2[sizeof (impl_devid_t) + MAXPATHLEN]; in ddi_devid_str_compare() local
497 uchar_t id2[sizeof (impl_devid_t) + MAXPATHLEN]; in ddi_devid_str_compare() local
509 (devid_str_decode_id(id2_str, &devid2, NULL, (impl_devid_t *)id2) == in ddi_devid_str_compare()
/titanic_50/usr/src/cmd/lp/lib/msgs/
H A Dmconnect.c57 MESG * mconnect ( char * path, int id1, int id2 ) in mconnect() argument
62 int id2;
142 if (id1 > 0 && id2 > 0)
157 md->writefd = id2;
/titanic_50/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_50/usr/src/lib/libidmap/common/
H A Didmap_api.c857 *pid = mappings->mappings.mappings_val[iter->next].id2. in idmap_iter_next_mapping()
863 *is_user = (mappings->mappings.mappings_val[iter->next].id2 in idmap_iter_next_mapping()
1025 mapping->id2.idtype = IDMAP_UID; in idmap_getext_uidbysid()
1120 mapping->id2.idtype = IDMAP_GID; in idmap_getext_gidbysid()
1220 mapping->id2.idtype = IDMAP_POSIXID; in idmap_getext_pidbysid()
1312 mapping->id2.idtype = IDMAP_SID; in idmap_getext_sidbyuid()
1403 mapping->id2.idtype = IDMAP_SID; in idmap_getext_sidbygid()
1638 request.id2.idtype = IDMAP_UID; in idmap_get_w2u_mapping()
1640 request.id2.idtype = IDMAP_GID; in idmap_get_w2u_mapping()
1642 request.id2.idtype = IDMAP_POSIXID; in idmap_get_w2u_mapping()
[all …]
/titanic_50/usr/src/cmd/ctwatch/
H A Dctwatch.c219 ctid_t id2 = *(ctid_t *)a2; in ctid_compar() local
221 if (id1 > id2) in ctid_compar()
223 if (id2 > id1) in ctid_compar()
/titanic_50/usr/src/uts/common/sys/
H A Dsocket_proto.h43 #define SOCK_CONNID_LT(id1, id2) ((int64_t)((id1)-(id2)) < 0) argument
/titanic_50/usr/src/uts/common/idmap/
H A Didmap_kapi.c449 mapping.id2.idtype = IDMAP_UID; in kidmap_getuidbysid()
526 mapping.id2.idtype = IDMAP_GID; in kidmap_getgidbysid()
603 mapping.id2.idtype = IDMAP_POSIXID; in kidmap_getpidbysid()
692 mapping.id2.idtype = IDMAP_SID; in kidmap_getsidbyuid()
775 mapping.id2.idtype = IDMAP_SID; in kidmap_getsidbygid()
925 mapping->id2.idtype = IDMAP_UID; in kidmap_batch_getuidbysid()
986 mapping->id2.idtype = IDMAP_GID; in kidmap_batch_getgidbysid()
1049 mapping->id2.idtype = IDMAP_POSIXID; in kidmap_batch_getpidbysid()
1104 mapping->id2.idtype = IDMAP_SID; in kidmap_batch_getsidbyuid()
1159 mapping->id2.idtype = IDMAP_SID; in kidmap_batch_getsidbygid()
/titanic_50/usr/src/uts/common/xen/public/xsm/
H A Dacm_ops.h99 } id2; member
/titanic_50/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
1280 if ((id2 != DATALINK_INVALID_LINKID) && in dls_devnet_rename()
1281 (dls_mgmt_get_phydev(id2, &phydev) == 0) && in dls_devnet_rename()
1329 if (id2 == DATALINK_INVALID_LINKID) { in dls_devnet_rename()
1371 (mod_hash_key_t)(uintptr_t)id2, &val)) != MH_ERR_NOTFOUND) { in dls_devnet_rename()
1377 err = dls_mgmt_get_linkinfo(id2, ddp->dd_linkname, NULL, NULL, NULL); in dls_devnet_rename()
1386 ddp->dd_linkid = id2; in dls_devnet_rename()
/titanic_50/usr/src/cmd/idmap/idmapd/
H A Dserver.c555 result->mappings.mappings_val[cb_data->next].id2.idmap_id_u.uid = in list_mappings_cb()
557 result->mappings.mappings_val[cb_data->next].id2.idtype = in list_mappings_cb()
1085 retcode = copy_id(&mapping->id2, &request->id2); in copy_mapping()
1103 if (IS_ID_SID(mapping->id2)) in copy_mapping()
1104 free(mapping->id2.idmap_id_u.sid.prefix); in copy_mapping()
1171 result->retcode = copy_id(&map->id2, &batch_result.ids.ids_val[0].id); in idmap_get_mapped_id_by_name_1_svc()
H A Ddbutils.c1954 req->id2.idtype = IDMAP_NONE; in ad_lookup_batch_int()
1955 req->id2.idmap_id_u.uid = IDMAP_SENTINEL_PID; in ad_lookup_batch_int()
2012 pid = &req->id2.idmap_id_u.uid; in ad_lookup_batch_int()
2034 &req->id2.idtype, unixname, in ad_lookup_batch_int()
2049 &req->id2.idtype, unixname, in ad_lookup_batch_int()
2082 &req->id2domain, &req->id2.idtype, in ad_lookup_batch_int()
2100 &req->id2.idtype, NULL, in ad_lookup_batch_int()
2133 &req->id2.idtype, &res->retcode); in ad_lookup_batch_int()
2160 &req->id2.idtype, &res->retcode); in ad_lookup_batch_int()
2220 type = req->id2.idtype; in ad_lookup_batch_int()
[all …]
/titanic_50/usr/src/cmd/isns/isnsd/
H A Dsched.c462 uint32_t id2, in el_remove() argument
472 if (evl_remove(id1, id2, pending) != 0) { in el_remove()
482 if (ev_remove(n->event, id2, 1, pending) == 0) { in el_remove()
H A Desi.c1022 uint32_t id2, in evl_remove() argument
1034 (void) ev_remove(ev, id2, 0, pending); in evl_remove()
H A Ddd.c1125 int id1, id2, id3; in create_ds_object() local
1129 id2 = ATTR_INDEX_DD(ISNS_DD_ID_ATTR_ID); in create_ds_object()
1134 id2 = ATTR_INDEX_DDS(ISNS_DD_SET_ID_ATTR_ID); in create_ds_object()
1143 assign_attr(&obj->attrs[id2], uid_attr) == 0) && in create_ds_object()
/titanic_50/usr/src/cmd/hal/hald/
H A Dids.c968 ids_comp_pnp(const void *id1, const void *id2) { in ids_comp_pnp() argument
970 struct pnp_id *pnp_id2 = (struct pnp_id *) id2; in ids_comp_pnp()
/titanic_50/usr/src/cmd/ctstat/
H A Dctstat.c93 int id2 = *(int *)a2; in int_compar() local
95 if (id1 > id2) in int_compar()
97 if (id2 > id1) in int_compar()
/titanic_50/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dasn1.c547 uchar_t id1, id2; in asn_parse_string() local
554 id2 = ASN_UNIVERSAL | ASN_PRIMITIVE | ASN_BIT_STR; in asn_parse_string()
555 if ((buf[0] != id1) && (buf[0] != id2)) in asn_parse_string()
/titanic_50/usr/src/grub/grub-0.97/netboot/
H A Dforcedeth.c691 int id1, id2; in forcedeth_reset() local
696 id2 = mii_rw(nic, i, MII_PHYSID2, MII_READ); in forcedeth_reset()
697 if (id2 < 0) in forcedeth_reset()
700 id1, id2, i)); in forcedeth_reset()
/titanic_50/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_50/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()
199 if(shp->euserid >=id1 && shp->euserid <= id2) in sh_checkaudit()
201 if(shp->userid >=id1 && shp->userid <= id2) in sh_checkaudit()
/titanic_50/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()
/titanic_50/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_memerr.c88 char *id1, *id2; in find_fault_fru() local
119 (void) nvlist_lookup_string(hcl[i], FM_FMRI_HC_ID, &id2); in find_fault_fru()
120 if (strcmp(name1, name2) != 0 || strcmp(id1, id2) != 0) { in find_fault_fru()
/titanic_50/usr/src/uts/common/rpcsvc/
H A Didmap_prot.x296 idmap_id id2; member
/titanic_50/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()
/titanic_50/usr/src/cmd/msgfmt/
H A Dxgettext.c1282 msgidcmp(struct strlist_st *id1, struct strlist_st *id2) in msgidcmp() argument
1293 id2 = get_next_ch(id2, &m2, &c2); in msgidcmp()

12