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

12

/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) argument
146 return ((id1->format == id2->format) &&
147 (id1->length == id2->length) &&
148 (memcmp(id1->contents, id2->contents, id1->length) == 0));
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmconnect.c57 MESG * mconnect ( char * path, int id1, int id2 ) argument
61 int id1;
142 if (id1 > 0 && id2 > 0)
153 md->readfd = id1;
/illumos-gate/usr/src/common/devid/
H A Ddevid.c103 ddi_devid_compare(ddi_devid_t id1, ddi_devid_t id2) argument
105 devid_compare(ddi_devid_t id1, ddi_devid_t id2)
109 impl_devid_t *i_id1 = (impl_devid_t *)id1;
114 DEVID_ASSERT((id1 != NULL) && (id2 != NULL));
115 DEVID_ASSERT(DEVID_FUNC(devid_valid)(id1) == DEVID_RET_VALID);
119 if ((rval = bcmp(id1, id2, 4)) != 0) {
230 slen = 2 + 1; /* <magic><rev> "id1" */
344 /* "id1,@S0" is the shortest possible, reject if shorter */
475 * -1 - id1 less than id2
477 * 1 - id1 greate
492 static uchar_t id1[sizeof (impl_devid_t) + MAXPATHLEN]; local
496 uchar_t id1[sizeof (impl_devid_t) + MAXPATHLEN]; local
[all...]
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_kapi.c446 mapping.id1.idtype = IDMAP_SID;
447 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix;
448 mapping.id1.idmap_id_u.sid.rid = rid;
523 mapping.id1.idtype = IDMAP_SID;
524 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix;
525 mapping.id1.idmap_id_u.sid.rid = rid;
600 mapping.id1.idtype = IDMAP_SID;
601 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix;
602 mapping.id1.idmap_id_u.sid.rid = rid;
690 mapping.id1
[all...]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c1230 assert(req->id1.idmap_id_u.sid.prefix != NULL ||
1233 if (req->id1.idmap_id_u.sid.prefix != NULL) {
1234 wksid = find_wksid_by_sid(req->id1.idmap_id_u.sid.prefix,
1235 req->id1.idmap_id_u.sid.rid, res->id.idtype);
1253 if (req->id1.idmap_id_u.sid.prefix == NULL) {
1255 req->id1.idmap_id_u.sid.prefix =
1259 req->id1.idmap_id_u.sid.prefix =
1263 if (req->id1.idmap_id_u.sid.prefix == NULL)
1265 req->id1.idmap_id_u.sid.rid = wksid->rid;
1286 req->id1
[all...]
H A Dserver.c125 if (IS_ID_UID(req->id1) || IS_ID_GID(req->id1))
128 if (IS_ID_SID(req->id1)) {
257 if (IS_ID_SID(req->id1)) {
262 } else if (IS_ID_UID(req->id1)) {
267 } else if (IS_ID_GID(req->id1)) {
343 req->id1.idmap_id_u.sid.prefix != NULL &&
400 if (IS_ID_SID(req->id1)) {
405 } else if (IS_ID_UID(req->id1)) {
410 } else if (IS_ID_GID(req->id1)) {
[all...]
H A Dnldaputils.c771 if (IS_ID_SID(req->id1)) {
812 } else if (IS_ID_UID(req->id1) || IS_ID_GID(req->id1)) {
833 if (req->id1.idmap_id_u.uid != IDMAP_SENTINEL_PID) {
836 qs, req->id1.idmap_id_u.uid,
837 (req->id1.idtype == IDMAP_UID) ? 1 : 0,
849 (req->id1.idtype == IDMAP_UID) ? 1 : 0,
854 &req->id1.idmap_id_u.uid, &res->retcode);
907 (IS_ID_UID(req->id1) || IS_ID_GID(req->id1))) {
[all...]
/illumos-gate/usr/src/uts/common/xen/public/xsm/
H A Dacm_ops.h95 } id1; member in struct:acm_getdecision
/illumos-gate/usr/src/uts/common/sys/
H A Dsocket_proto.h43 #define SOCK_CONNID_LT(id1, id2) ((int64_t)((id1)-(id2)) < 0)
/illumos-gate/usr/src/cmd/ctwatch/
H A Dctwatch.c218 ctid_t id1 = *(ctid_t *)a1; local
221 if (id1 > id2)
223 if (id2 > id1)
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c826 str = mappings->mappings.mappings_val[iter->next].id1.
837 *rid = mappings->mappings.mappings_val[iter->next].id1.
866 *is_wuser = (mappings->mappings.mappings_val[iter->next].id1
1019 mapping->id1.idtype = IDMAP_SID;
1020 mapping->id1.idmap_id_u.sid.rid = rid;
1021 if ((mapping->id1.idmap_id_u.sid.prefix = strdup(sidprefix)) == NULL) {
1114 mapping->id1.idtype = IDMAP_SID;
1115 mapping->id1.idmap_id_u.sid.rid = rid;
1116 if ((mapping->id1.idmap_id_u.sid.prefix = strdup(sidprefix)) == NULL) {
1214 mapping->id1
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/
H A DLocalityGroup.java207 * @param id1 is the first id.
210 private native int jl_latency(long id1, long id2); argument
/illumos-gate/usr/src/cmd/hal/hald/
H A Dids.c968 ids_comp_pnp(const void *id1, const void *id2) { argument
969 struct pnp_id *pnp_id1 = (struct pnp_id *) id1;
/illumos-gate/usr/src/cmd/ctstat/
H A Dctstat.c92 int id1 = *(int *)a1; local
95 if (id1 > id2)
97 if (id2 > id1)
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dsched.c452 * id1 - The event ID.
461 uint32_t id1,
472 if (evl_remove(id1, id2, pending) != 0) {
481 if (!n->isdummy && ev_match(n->event, id1) != 0) {
460 el_remove( uint32_t id1, uint32_t id2, int pending ) argument
H A Desi.c1012 * id1 - the Entity object UID.
1021 uint32_t id1,
1030 if (ev_match(ev, id1) != 0) {
1020 evl_remove( uint32_t id1, uint32_t id2, int pending ) argument
H A Ddd.c1125 int id1, id2, id3; local
1128 id1 = ATTR_INDEX_DD(ISNS_DD_NAME_ATTR_ID);
1133 id1 = ATTR_INDEX_DDS(ISNS_DD_SET_NAME_ATTR_ID);
1141 assign_attr(&obj->attrs[id1], name_attr) == 0) &&
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dasn1.c547 uchar_t id1, id2; local
553 id1 = ASN_UNIVERSAL | ASN_PRIMITIVE | ASN_OCTET_STR;
555 if ((buf[0] != id1) && (buf[0] != id2))
579 if (buf[0] == id1) {
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c182 int id1, id2, r=0, n, fd; local
196 id1 = id2 = strtol(cp,&last,10);
198 id1 = strtol(last+1,&last,10);
199 if(shp->euserid >=id1 && shp->euserid <= id2)
201 if(shp->userid >=id1 && shp->userid <= id2)
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Didmap_prot.x293 idmap_id id1;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dforcedeth.c691 int id1, id2; local
693 id1 = mii_rw(nic, i, MII_PHYSID1, MII_READ);
694 if (id1 < 0)
700 id1, id2, i));
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_util.c607 uint_t id1, id2; local
637 if (sscanf(uid, fmt, &id1, &id2) != cnt) {
644 if (cnt == 2 && snprintf(buf, len, "%u,%u", id2, id1) >= len) {
648 } else if (cnt == 1 && snprintf(buf, len, "%u", id1) >= len) {
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c1252 * 1. Request to rename a valid link (id1) to an non-existent link name
1254 * id1 is held by any applications.
1258 * 2. Request to rename a valid link (id1) to the name of a REMOVED
1259 * physical link (id2). In this case, check that id1 and its associated
1266 dls_devnet_rename(datalink_id_t id1, datalink_id_t id2, const char *link) argument
1288 * Hold id1 to prevent it from being detached (if a physical link).
1290 if (dls_mgmt_get_phydev(id1, &phydev) == 0)
1298 if ((err = mac_perim_enter_by_linkid(id1, &mph)) != 0) {
1305 (mod_hash_key_t)(uintptr_t)id1, (mod_hash_val_t *)&ddp)) != 0) {
1384 (mod_hash_key_t)(uintptr_t)id1,
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_memerr.c88 char *id1, *id2; local
117 (void) nvlist_lookup_string(topo_hcl[i], FM_FMRI_HC_ID, &id1);
120 if (strcmp(name1, name2) != 0 || strcmp(id1, id2) != 0) {
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c91 id_match(struct iodev_id *id1, struct iodev_id *id2) argument
93 return (id1->id == id2->id &&
94 strcmp(id1->tid, id2->tid) == 0);

Completed in 111 milliseconds

12