Home
last modified time | relevance | path

Searched refs:node_name (Results 1 – 25 of 65) sorted by relevance

123

/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Disns_client.h89 uint8_t *node_name,
102 uint8_t *node_name,
114 isns_dereg(uint8_t *lhba_handle, uint8_t *node_name);
120 isns_dereg_one_server(entry_t *isns_server, uint8_t *node_name,
130 uint8_t *node_name,
143 uint8_t *node_name,
H A Disns_client.c51 uint8_t *node_name; member
109 uint8_t *node_name, uint8_t *node_alias, uint32_t node_type);
111 uint8_t *node_name);
130 iscsi_addr_t *isns_server_addr, uint8_t *node_name,
164 uint8_t *node_name, uint8_t *node_alias, uint32_t node_type,
166 static size_t isns_create_dev_dereg_pdu(uint8_t *node_name,
169 uint8_t *node_name, uint8_t *node_alias, uint16_t *xid,
176 static size_t isns_create_scn_reg_pdu(uint8_t *node_name,
178 static size_t isns_create_scn_dereg_pdu(uint8_t *node_name,
251 uint8_t *node_name, in isns_reg() argument
[all …]
/titanic_44/usr/src/cmd/picl/plugins/sun4v/snmp/
H A Dsnmpplugin.c697 char *phys_name, *node_name; in make_node() local
741 node_name = basename(phys_name); in make_node()
786 add_prop(nodeh, &proph, node_name, row, PP_STATE, in make_node()
793 add_prop(nodeh, &proph, node_name, row, PP_OPSTATUS, in make_node()
804 add_prop(nodeh, &proph, node_name, row, PP_OPSTATUS, in make_node()
811 add_prop(nodeh, &proph, node_name, row, PP_OPSTATUS, in make_node()
819 add_prop(nodeh, &proph, node_name, row, PP_OPSTATUS, in make_node()
823 add_prop(nodeh, &proph, node_name, row, PP_SLOT_TYPE, in make_node()
842 add_prop(nodeh, &proph, node_name, row, in make_node()
848 add_prop(nodeh, &proph, node_name, row, PP_OPSTATUS, in make_node()
[all …]
H A Dsnmpplugin.h71 if (ptree_create_and_add_node(parenth, node_name, cl, \
73 log_msg(LOG_ERR, SNMPP_ADD_NODE_FAIL, node_name, cl); \
/titanic_44/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_misc.c294 char *node_name; in eibnx_name_child() local
296 if ((node_name = ddi_get_parent_data(child)) == NULL) { in eibnx_name_child()
306 (void) strlcpy(name, node_name + strlen(EIB_DRV_NAME) + 1, namesz); in eibnx_name_child()
462 char *node_name; in eibnx_configure_node() local
469 if ((node_name = eibnx_make_nodename(ti, gwi->gw_portid)) == NULL) in eibnx_configure_node()
474 if (child_dip = ndi_devi_findchild(ss->nx_dip, node_name)) { in eibnx_configure_node()
478 kmem_free(node_name, MAXNAMELEN); in eibnx_configure_node()
494 ddi_set_parent_data(child_dip, node_name); in eibnx_configure_node()
503 ENX_DPRINTF_DEBUG("onlining %s", node_name); in eibnx_configure_node()
507 "with ret=0x%x", node_name, ret); in eibnx_configure_node()
[all …]
H A Denx_q.c165 char *node_name, dev_info_t *dip) in eibnx_enqueue_child() argument
172 new_ch->ch_node_name = node_name; in eibnx_enqueue_child()
187 ch->ch_node_name = node_name; in eibnx_enqueue_child()
/titanic_44/usr/src/cmd/ibd_upgrade/
H A Dibd_upgrade.sh38 node_name=
52 node_name=$1
130 if [ "$node_name" != "ibport" -o "$service" != "ipib" \
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsvcctl_scm.c557 char *node_name; in svcctl_scm_enum_services() local
589 node_name = node->sn_name; in svcctl_scm_enum_services()
590 namelen = strlen(node_name) + 1; in svcctl_scm_enum_services()
592 offset -= SVCCTL_WNSTRLEN(node_name); in svcctl_scm_enum_services()
595 (void) smb_mbstowcs(w_name, node_name, namelen); in svcctl_scm_enum_services()
599 (void) strlcpy(a_name, node_name, namelen); in svcctl_scm_enum_services()
606 node_name = node->sn_fmri; in svcctl_scm_enum_services()
607 namelen = strlen(node_name) + 1; in svcctl_scm_enum_services()
609 offset -= SVCCTL_WNSTRLEN(node_name); in svcctl_scm_enum_services()
612 (void) smb_mbstowcs(w_name, node_name, namelen); in svcctl_scm_enum_services()
[all …]
/titanic_44/usr/src/uts/sun4u/io/
H A Dmach_rootnex.c299 char *node_name; in rootnex_name_child_impl() local
328 node_name = ddi_node_name(child); in rootnex_name_child_impl()
329 if ((strcmp(node_name, "fhc") == 0) || in rootnex_name_child_impl()
330 (strcmp(node_name, "mem-unit") == 0) || in rootnex_name_child_impl()
331 (strcmp(node_name, "central") == 0)) { in rootnex_name_child_impl()
381 strncmp(node_name, "i2c", strlen("i2c")) != 0) in rootnex_name_child_impl()
H A Dgptwo_cpu.c464 char *node_name; in set_cpu_us3_props() local
480 node_name = "SUNW,UltraSPARC-III"; in set_cpu_us3_props()
488 node_name = "SUNW,UltraSPARC-III+"; in set_cpu_us3_props()
497 "name", node_name) != DDI_SUCCESS) { in set_cpu_us3_props()
/titanic_44/usr/src/cmd/devfsadm/
H A Dmisc_link.c41 static int node_name(di_minor_t minor, di_node_t node);
84 TYPE_EXACT | DRV_RE, ILEVEL_0, node_name
120 TYPE_EXACT | DRV_EXACT, ILEVEL_0, node_name
124 TYPE_EXACT | DRV_RE, ILEVEL_0, node_name
127 TYPE_EXACT | DRV_EXACT, ILEVEL_0, node_name
372 node_name(di_minor_t minor, di_node_t node) in node_name() function
686 char node_name[MAXNAMELEN + 1]; in glvc() local
688 (void) strcpy(node_name, di_node_name(node)); in glvc()
690 if (strncmp(node_name, "fma", 3) == 0) { in glvc()
H A Dusb_link.c38 static void ugen_create_link(char *p_path, char *node_name,
433 ugen_create_link(char *p_path, char *node_name, in ugen_create_link() argument
446 p_path, node_name); in ugen_create_link()
448 (void) strlcpy(s, node_name, sizeof (s)); in ugen_create_link()
/titanic_44/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_ibnex.c75 char *node_name; in ibtl_ibnex_get_hca_info() local
168 node_name = ddi_node_name(child); in ibtl_ibnex_get_hca_info()
171 (strncmp(node_name, IBNEX_IBPORT_CNAME, 6) == 0))) { in ibtl_ibnex_get_hca_info()
216 node_name = ddi_node_name(child); in ibtl_ibnex_get_hca_info()
219 (strncmp(node_name, IBNEX_IBPORT_CNAME, 6) == 0))) { in ibtl_ibnex_get_hca_info()
/titanic_44/usr/src/lib/libcpc/sparc/
H A Dconf_ultra.c616 char *node_name, *compatible_array; in cpc_get_cpu_ver() local
620 node_name = di_node_name(di_node); in cpc_get_cpu_ver()
621 if (node_name != NULL) { in cpc_get_cpu_ver()
622 if ((*ver = node2ver(node_name)) != -1) in cpc_get_cpu_ver()
624 else if (strncmp(node_name, "cpu", 4) == 0) { in cpc_get_cpu_ver()
/titanic_44/usr/src/lib/libdevinfo/
H A Ddevfsmap.c811 char *node_name = NULL, *node_addr = NULL; in lookup_in_conf_file() local
835 if ((node_name = strrchr(path, '/')) == NULL) in lookup_in_conf_file()
838 *node_name = '\0'; in lookup_in_conf_file()
839 node_name++; in lookup_in_conf_file()
841 if ((node_addr = strchr(node_name, '@')) == NULL) in lookup_in_conf_file()
847 if (strcmp(node_name, "fp") == 0) { in lookup_in_conf_file()
922 if (node_name != NULL) in lookup_in_conf_file()
923 *(node_name - 1) = '/'; in lookup_in_conf_file()
1295 char *node_name) in add_to_phci_list() argument
1303 pi->device.ret_phci, node_name, pi->ret_addr); in add_to_phci_list()
[all …]
/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclscsi.c691 char node_name[BUF_SIZE]; in probe_disks() local
719 (void) snprintf(node_name, sizeof (node_name), in probe_disks()
722 (void) snprintf(node_name, sizeof (node_name), in probe_disks()
726 (void) snprintf(node_name, sizeof (node_name), in probe_disks()
782 if ((rc = create_children(data->frup, node_name, in probe_disks()
H A Dpicllibdevinfo.c501 char *node_name = NULL; in walk_tree() local
545 node_name = di_node_name(node); in walk_tree()
546 if (node_name == NULL) { in walk_tree()
550 "%s/%s@%s", frup->fru_path, node_name, bus_addr); in walk_tree()
H A Dpiclfrutree.c144 char node_name[PICL_PROPNAMELEN_MAX]; member
491 if (strcmp(fru_arg->node_name, name) == 0) { in frutree_get_nodehdl()
619 (void) strncpy(fru_arg.node_name, SANIBEL_PICLNODE_CPU, in frutree_wd_evhandler()
620 sizeof (fru_arg.node_name)); in frutree_wd_evhandler()
701 (void) strncpy(fru_arg.node_name, name, sizeof (fru_arg.node_name)); in frutree_dr_apstate_change_evhandler()
903 (void) strncpy(fru_arg.node_name, name, sizeof (fru_arg.node_name)); in frutree_dr_req_evhandler()
1067 if (strcmp(fru_arg->node_name, (char *)vbuf) == 0) { in find_ref_parent()
1120 (void) strncpy(fru_arg.node_name, devfs_path, in get_reference_handle()
1121 sizeof (fru_arg.node_name)); in get_reference_handle()
3525 char node_name[PICL_PROPNAMELEN_MAX]; in add_node2cache() local
[all …]
/titanic_44/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c459 char *node_name, *bus_addr; in new_device_node() local
468 node_name = di_node_name(dev); in new_device_node()
471 if (snprintf(name, sizeof (name), "%s@%s", node_name, in new_device_node()
479 node->hp_name = strdup(node_name); in new_device_node()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_init.c146 bcopy((void *)&ha->init_ctrl_blk.cb24.node_name[0], in ql_initialize_adapter()
154 bcopy((void *)&ha->init_ctrl_blk.cb.node_name[0], in ql_initialize_adapter()
575 if (nv->node_name[cnt] != 0) { in ql_nvram_config()
582 bcopy((void *)&nv->port_name[0], (void *)&nv->node_name[0], 8); in ql_nvram_config()
583 nv->node_name[0] = (uint8_t)(nv->node_name[0] & ~BIT_0); in ql_nvram_config()
584 nv->port_name[0] = (uint8_t)(nv->node_name[0] | BIT_0); in ql_nvram_config()
598 nv->node_name[0], nv->node_name[1], nv->node_name[2], in ql_nvram_config()
599 nv->node_name[3], nv->node_name[4], nv->node_name[5], in ql_nvram_config()
600 nv->node_name[6], nv->node_name[7]); in ql_nvram_config()
1043 if (nv->node_name[index] != 0) { in ql_nvram_24xx_config()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dgen_drv.c1539 char *node_name; in gen_create_minor_nodes() local
1541 node_name = ddi_node_name(devi); in gen_create_minor_nodes()
1543 if (strcmp(node_name, "disk_chan") == 0) { in gen_create_minor_nodes()
1545 } else if (strcmp(node_name, "disk_wwn") == 0) { in gen_create_minor_nodes()
1547 } else if (strcmp(node_name, "disk_cdrom") == 0) { in gen_create_minor_nodes()
1549 } else if (strcmp(node_name, "disk_fd") == 0) { in gen_create_minor_nodes()
1551 } else if (strcmp(node_name, "cgtwenty") == 0) { in gen_create_minor_nodes()
1553 } else if (strcmp(node_name, "genzs") == 0) { in gen_create_minor_nodes()
1555 } else if (strcmp(node_name, "net") == 0) { in gen_create_minor_nodes()
1583 if (ddi_create_minor_node(devi, node_name, S_IFCHR, in gen_create_minor_nodes()
/titanic_44/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_regs.h175 uint8_t node_name[8]; member
452 uint8_t node_name[8]; member
/titanic_44/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c185 char *node_name = NULL; in cmp_node_name() local
187 if (get_strprop_by_name(node, PICL_PROP_NAME, &node_name) in cmp_node_name()
192 if (strcmp(node_name, name) == 0) { in cmp_node_name()
193 free(node_name); in cmp_node_name()
197 free(node_name); in cmp_node_name()
/titanic_44/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c196 char *node_name = NULL; in cmp_node_name() local
198 if (get_strprop_by_name(node, PICL_PROP_NAME, &node_name) in cmp_node_name()
203 if (strcmp(node_name, name) == 0) { in cmp_node_name()
204 free(node_name); in cmp_node_name()
208 free(node_name); in cmp_node_name()
/titanic_44/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc.c456 char *node_name; in sbbc_find_dip() local
466 node_name = ddi_node_name(dip); in sbbc_find_dip()
467 if (strcmp(node_name, "bootbus-controller") == 0 && DDI_CF2(dip) && in sbbc_find_dip()

123