/osnet-11/usr/src/lib/libkmf/mappers/kmf_mapper_cn/common/ |
H A D | mapper_cn.c | 93 uchar_t *cn = NULL; local 120 if ((cn = malloc(data->Length + 1)) == NULL) { 124 (void) memcpy(cn, data->Data, data->Length); 126 cn[data->Length] = '\0'; 128 name->Data = cn; 136 if (cn != NULL)
|
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_hba.c | 62 di_node_t cn, int instance, di_path_t pi) 94 pci_di_prop_set(child, cn, SCSI_ADDR_PROP_TARGET_PORT, 96 pci_di_prop_set(child, cn, SCSI_ADDR_PROP_ATTACHED_PORT, 98 pci_di_prop_set(child, cn, SCSI_ADDR_PROP_TARGET_PORT_PM, 100 pci_di_prop_set(child, cn, SCSI_ADDR_PROP_ATTACHED_PORT_PM, 102 if (di_prop_lookup_int64(DDI_DEV_T_ANY, cn, 108 pci_di_prop_set(child, cn, DEVID_PROP_NAME, TOPO_STORAGE_DEVID); 109 pci_di_prop_set(child, cn, INQUIRY_VENDOR_ID, 111 pci_di_prop_set(child, cn, INQUIRY_PRODUCT_ID, TOPO_STORAGE_MODEL); 112 pci_di_prop_set(child, cn, INQUIRY_REVISION_I 61 pci_scsi_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance, di_path_t pi) argument 121 pci_smp_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance) argument 155 pci_iport_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance) argument 184 di_node_t cn, smp, sd; local [all...] |
H A D | pcibus.c | 527 di_node_t cn; local 534 for (cn = di_child_node(din); cn != DI_NODE_NIL; 535 cn = di_sibling_node(cn)) { 536 if (strcmp(di_node_name(cn), IPORT) == 0)
|
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_config.c | 69 config_node_t *cn; local 72 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, 74 nvlist_free(cn->cn_config); 75 free(cn->cn_name); 76 free(cn); 96 config_node_t *cn; local 162 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, &cookie)) != NULL) { 163 nvlist_free(cn->cn_config); 164 free(cn->cn_name); 165 free(cn); 304 config_node_t *cn; local 346 config_node_t *cn; local [all...] |
H A D | libzfs_cache.c | 588 config_node_t *cn; local 595 for (cn = uu_avl_first(hdl->libzfs_ns_avl); cn != NULL; 596 cn = uu_avl_next(hdl->libzfs_ns_avl, cn)) { 598 if ((zhp = zfs_cache_get(hdl, cn->cn_name,
|
H A D | libzfs_changelist.c | 97 cl_is_dependent(prop_changelist_t *clp, prop_changenode_t *cn) argument 101 is_dependent = (cn != uu_list_last(clp->cl_list)); 107 strcmp(clp->cl_name, zfs_get_name(cn->cn_handle)) == 0); 147 prop_changenode_t *cn; local 190 for (cn = uu_list_first(clp->cl_list); cn != NULL; 191 cn = uu_list_next(clp->cl_list, cn)) { 199 if (getzoneid() == GLOBAL_ZONEID && cn->cn_zoned) 201 if (!(cn 283 prop_changenode_t *cn; local 404 changelist_postfix_mount(prop_changelist_t *clp, prop_changenode_t *cn, boolean_t mounted) argument 516 prop_changenode_t *cn; local 612 prop_changenode_t *cn; local 644 prop_changenode_t *cn; local 678 prop_changenode_t *cn; local 698 prop_changenode_t *cn; local 725 prop_changenode_t *cn; local 902 prop_changenode_t *cn; local [all...] |
/osnet-11/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 78 char *cn = NULL; /* char spcl pathname */ local 84 if ((cn = (char *)volmgt_getfullrawname(path)) == NULL) { 93 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { 110 if (cn != NULL) { 111 free(cn); 270 char *cn; /* char pathname */ local 293 if ((cn = volmgt_getfullrawname(mp->mnt_special)) == NULL) { 296 if (cn[0] == NULLC) { 297 free(cn); 302 if ((fd = open(cn, O_RDONL 413 char *cn = NULL; /* char spcl pathname */ local [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/ |
H A D | bay_subr.c | 137 find_child(topo_mod_t *mod, di_node_t dnode, di_node_t *cn, di_path_t *pn, argument 145 bcopy(&cnode, cn, sizeof (di_node_t));
|
/osnet-11/usr/src/lib/libadr/common/ |
H A D | adr_name.c | 238 int cn = name->an_count + n; local 239 adr_name_t *result = adr_name_create_common(cn); 263 int cn = name->an_count + n; local 264 adr_name_t *result = adr_name_create_common(cn);
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_realm.c | 191 char *cn[] = {"cn", NULL}; local 195 cn); 213 if ((values = ldap_get_values (ld, ent, "cn")) != NULL) { 804 /* If the user has not given, use the default cn=Kerberos,cn=Security */ 828 if ((st=krb5_add_str_mem_ldap_mod(&mods, "cn", LDAP_MOD_ADD, strval)) != 0) 924 /* If the user has not given, use the default cn=Kerberos,cn=Security */ 1003 if (asprintf(&dn, "cn [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 228 char *cn, *dn; local 275 cn = a->cname; 295 if ((dn == NULL && cn == NULL) || 296 (dn != NULL && cn != NULL && strcmp(dn, cn) == 0)) {
|
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regcomp.c | 371 unsigned long cn; local 396 cn = env->stats.n; 416 if ((env->stats.n += cn) < n) 452 cn = env->stats.n; 472 if ((env->stats.n += cn) < nn) 609 cn = env->stats.n; 610 if ((env->stats.n += e->re.string.size) < cn) 625 cn = env->stats.n; 626 if ((env->stats.n += e->re.trie.max) < cn)
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_connmgmt.c | 1448 ns_conn_mt_t *cn; local 1488 for (cn = cmg->cm_head; cn; cn = cn->next) { 1489 (void) mutex_lock(&cn->lock); 1490 rc = match_conn_mt(cu, &cn, st, server, cred); 1491 if (rc == B_FALSE && cn != NULL) /* not found */ 1493 if (cn == NULL) { /* not found and cn free [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 212 xmlNodePtr cn; local 258 for (cn = xn->xmlChildrenNode; cn != NULL; cn = cn->next) 259 if ((xmlStrcmp(cn->name, (xmlChar *)Propitem) == 0) || 260 (xmlStrcmp(cn->name, (xmlChar *)Argitem) == 0)) 312 for (cn = xn->xmlChildrenNode; cn != NULL; cn 573 xmlNodePtr cn; local 919 xmlNodePtr cn; local 1101 xmlNodePtr cn; local 1196 xmlNodePtr cn; local 1247 xmlNodePtr cn, gcn, psn, ecn, target; local 1441 xmlNodePtr cn; local 1490 xmlNodePtr cn; local 1832 xmlNodePtr cn, enum_node = NULL, pmap_node = NULL; local [all...] |
/osnet-11/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 753 gettext("Adding entry : cn=%s+ipHostNumber=%s\n"), 765 gettext("Entry: cn=%s+ipHostNumber=%s " 771 gettext("Entry: cn=%s+ipHostNumber=%s" 791 *cn = NULL, local 801 if (strcasecmp(attrptr->attrname, "cn") == 0) 802 cn = attrptr; 810 if (cn == NULL || cn->attrvalue == NULL || cn->attrvalue[0] == NULL || 815 if ((name = __s_api_get_canonical_name(res->entry, cn, 1012 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *rpcnumber = NULL; local 1222 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *protocolnumber = NULL; local 1444 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *networknumber = NULL; local 1680 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *port = NULL; local [all...] |