/titanic_44/usr/src/cmd/ldmad/ |
H A D | mdesc_lib.c | 154 md_node_t *nodep; in md_new_node() local 156 nodep = calloc(1, sizeof (md_node_t)); in md_new_node() 157 if (nodep == NULL) in md_new_node() 159 nodep->typep = md_new_string(mdp, sp); in md_new_node() 160 if (nodep->typep == NULL) { in md_new_node() 161 free(nodep); in md_new_node() 164 CHAIN_ADD(mdp->node_list, nodep); in md_new_node() 166 return (nodep); in md_new_node() 170 md_new_property(mmd_t *mdp, md_node_t *nodep, uint8_t type, char *sp) in md_new_property() argument 184 CHAIN_ADD(nodep->prop_list, propp); in md_new_property() [all …]
|
H A D | mdesc_mutable.h | 119 md_node_t *nodep; member 145 md_node_t *nodep, char *sp, uint64_t value); 146 int md_add_string_property(mmd_t *mdp, md_node_t *nodep, char *sp, char *bufp); 147 int md_add_data_property(mmd_t *mdp, md_node_t *nodep, char *sp, int len, 153 void md_free_node(mmd_t *mdp, md_node_t *nodep);
|
/titanic_44/usr/src/uts/common/fs/namefs/ |
H A D | namevno.c | 79 struct namenode *nodep = VTONM(*vpp); in nm_open() local 92 infilevp = outfilevp = nodep->nm_filevp; in nm_open() 107 namefind(outfilevp, nodep->nm_mountpt)) != NULL) { in nm_open() 120 mutex_enter(&nodep->nm_lock); in nm_open() 129 bcopy(&nodep->nm_vattr, &newnamep->nm_vattr, sizeof (vattr_t)); in nm_open() 136 newnamep->nm_filep = nodep->nm_filep; in nm_open() 137 newnamep->nm_mountpt = nodep->nm_mountpt; in nm_open() 138 mutex_exit(&nodep->nm_lock); in nm_open() 166 struct namenode *nodep = VTONM(vp); in nm_close() local 171 error = VOP_CLOSE(nodep->nm_filevp, flag, count, offset, crp, ct); in nm_close() [all …]
|
H A D | namevfs.c | 135 nameinsert(struct namenode *nodep) in nameinsert() argument 141 bucket = NM_FILEVP_HASH(nodep->nm_filevp); in nameinsert() 142 nodep->nm_nextp = *bucket; in nameinsert() 143 *bucket = nodep; in nameinsert() 150 nameremove(struct namenode *nodep) in nameremove() argument 156 for (npp = NM_FILEVP_HASH(nodep->nm_filevp); (np = *npp) != NULL; in nameremove() 158 if (np == nodep) { in nameremove() 206 struct namenode *nodep; in nm_umountall() local 219 nodep = *NM_FILEVP_HASH(vp); in nm_umountall() 220 while (nodep) { in nm_umountall() [all …]
|
/titanic_44/usr/src/uts/common/ipp/ipgpc/ |
H A D | trie.c | 126 node_t *nodep = *c_node; in t_split() local 130 if (pos == (nodep->pos - nodep->bits)) { in t_split() 132 ASSERT(nodep->one == NULL); in t_split() 133 ASSERT(nodep->zero == NULL); in t_split() 134 nodep->one = create_node(KM_SLEEP); in t_split() 135 nodep->zero = create_node(KM_SLEEP); in t_split() 137 old_bits = nodep->bits; /* save old bits entry */ in t_split() 139 nodep->bits = nodep->pos - pos; in t_split() 141 bit = EXTRACTBIT(nodep->val, pos, key_len); in t_split() 143 if ((nodep->one == NULL) && (nodep->zero == NULL)) { in t_split() [all …]
|
/titanic_44/usr/src/lib/libpicltree/ |
H A D | picltree.c | 690 lock_obj(int rw, picl_obj_t *nodep) in lock_obj() argument 693 (void) rw_rdlock(&nodep->node_lock); in lock_obj() 695 (void) rw_wrlock(&nodep->node_lock); in lock_obj() 706 unlock_node(picl_obj_t *nodep) in unlock_node() argument 708 if (nodep == NULL) in unlock_node() 710 (void) rw_unlock(&nodep->node_lock); in unlock_node() 718 lookup_and_lock_propnode(int rw, picl_prophdl_t proph, picl_obj_t **nodep, in lookup_and_lock_propnode() argument 744 *nodep = nobj; in lookup_and_lock_propnode() 755 lookup_and_lock_tablenode(int rw, picl_prophdl_t tblh, picl_obj_t **nodep, in lookup_and_lock_tablenode() argument 776 *nodep = nobj; in lookup_and_lock_tablenode() [all …]
|
H A D | ptree_impl.h | 117 picl_obj_t *nodep; /* prop's node or table */ member 168 #define prop_node u.prop.nodep 169 #define prop_table u.prop.nodep
|
/titanic_44/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 216 ibnex_node_data_t *nodep = NULL; in ibnex_devctl() local 250 rv = ibnex_get_dip_from_apid(apid_n, &apid_dip, &nodep); in ibnex_devctl() 262 ibnex_figure_ap_devstate(nodep, &ap_state); in ibnex_devctl() 454 rv = ibnex_get_dip_from_apid(apid_n, &apid_dip, &nodep); in ibnex_devctl() 812 &nodep); in ibnex_devctl() 823 nodep->node_reprobe_state != 0) { in ibnex_devctl() 825 nodep->node_reprobe_state != 0) { in ibnex_devctl() 834 nodep->node_reprobe_state = in ibnex_devctl() 877 rv = ibnex_get_dip_from_apid(apid_n, &apid_dip, &nodep); in ibnex_devctl() 887 if (!IBNEX_VALID_NODE_TYPE(nodep)) { in ibnex_devctl() [all …]
|
H A D | ibnex.c | 698 ibnex_node_data_t *nodep = ibnex.ibnex_pseudo_node_head; in ibnex_pseudo_node_cleanup() local 704 for (; nodep; nodep = nodep->node_next) in ibnex_pseudo_node_cleanup() 705 if (nodep->node_dip) in ibnex_pseudo_node_cleanup() 709 for (nodep = ibnex.ibnex_pseudo_node_head; nodep; in ibnex_pseudo_node_cleanup() 710 nodep = nodep->node_next) { in ibnex_pseudo_node_cleanup() 712 pseudo = &nodep->node_data.pseudo_node; in ibnex_pseudo_node_cleanup() 1911 ibnex_node_data_t *nodep; in ibnex_config_pseudo_all() local 1915 for (nodep = ibnex.ibnex_pseudo_node_head; in ibnex_config_pseudo_all() 1916 nodep; nodep = nodep->node_next) { in ibnex_config_pseudo_all() 1917 (void) ibnex_pseudo_config_one(nodep, NULL, pdip); in ibnex_config_pseudo_all() [all …]
|
/titanic_44/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | util.c | 197 struct q_node *nodep; in queue_add() local 203 if (qp->nodep == NULL) in queue_add() 204 qp->nodep = qnp; in queue_add() 206 nodep = qp->nodep; in queue_add() 208 while (nodep->next != NULL) in queue_add() 209 nodep = nodep->next; in queue_add() 211 nodep->next = qnp; in queue_add() 215 if (qp->boe && qp->nodep == qnp) in queue_add() 229 while (qp->boe && qp->nodep == NULL) { in queue_remove() 236 if (qp->nodep != NULL) { in queue_remove() [all …]
|
H A D | util.h | 82 struct q_node *nodep; member
|
/titanic_44/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_persist.c | 779 i_ipmgmt_add_amnode(ipmgmt_aobjmap_t *nodep) in i_ipmgmt_add_amnode() argument 786 *new = *nodep; in i_ipmgmt_add_amnode() 834 i_ipmgmt_lookupadd_amnode(ipmgmt_aobjmap_t *nodep) in i_ipmgmt_lookupadd_amnode() argument 840 if (strcmp(head->am_ifname, nodep->am_ifname) == 0) in i_ipmgmt_lookupadd_amnode() 848 if (nodep->am_aobjname[0] == '\0') { in i_ipmgmt_lookupadd_amnode() 859 if (snprintf(nodep->am_aobjname, IPADM_AOBJSIZ, "%s/_%s", in i_ipmgmt_lookupadd_amnode() 860 nodep->am_ifname, tmpstr) >= IPADM_AOBJSIZ) { in i_ipmgmt_lookupadd_amnode() 863 nodep->am_nextnum = ++nextnum; in i_ipmgmt_lookupadd_amnode() 867 if (strcmp(head->am_aobjname, nodep->am_aobjname) == 0) in i_ipmgmt_lookupadd_amnode() 870 nodep->am_nextnum = nextnum; in i_ipmgmt_lookupadd_amnode() [all …]
|
H A D | ipmgmt_door.c | 223 i_ipmgmt_nvl2aobjnode(nvlist_t *nvl, ipmgmt_aobjmap_t *nodep) in i_ipmgmt_nvl2aobjnode() argument 276 (void) strlcpy(nodep->am_ifname, ifname, sizeof (nodep->am_ifname)); in i_ipmgmt_nvl2aobjnode() 277 (void) strlcpy(nodep->am_aobjname, aobjname, in i_ipmgmt_nvl2aobjnode() 278 sizeof (nodep->am_aobjname)); in i_ipmgmt_nvl2aobjnode() 279 nodep->am_lnum = lnum; in i_ipmgmt_nvl2aobjnode() 280 nodep->am_family = af; in i_ipmgmt_nvl2aobjnode() 281 nodep->am_atype = addrtype; in i_ipmgmt_nvl2aobjnode() 283 nodep->am_linklocal = B_TRUE; in i_ipmgmt_nvl2aobjnode() 284 nodep->am_ifid = addr; in i_ipmgmt_nvl2aobjnode() 286 nodep->am_next = NULL; in i_ipmgmt_nvl2aobjnode()
|
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | eval.c | 122 struct node *nodep; in eval_getname() local 127 nodep = np; in eval_getname() 129 nodep = eval_fru(np->u.func.arglist); in eval_getname() 131 nodep = eval_asru(np->u.func.arglist); in eval_getname() 152 if (eval_expr(nodep, ex, events, globals, croot, in eval_getname() 154 nodep = (struct node *)(uintptr_t)val.v; in eval_getname() 157 nodep = eval_dup(nodep, ex, events); in eval_getname() 160 return (nodep); in eval_getname() 219 struct node *nodep; in eval_func() local 259 nodep = eval_getname(funcnp, ex, events, np->u.expr.left, in eval_func() [all …]
|
/titanic_44/usr/src/uts/common/io/scsi/targets/ |
H A D | sgen.c | 306 sgen_type_node_t *nodep; in sgen_setup_binddb() local 316 nodep = kmem_zalloc(sizeof (sgen_type_node_t), in sgen_setup_binddb() 318 nodep->node_type = devtype; in sgen_setup_binddb() 319 nodep->node_next = sgen_binddb.sdb_type_nodes; in sgen_setup_binddb() 320 sgen_binddb.sdb_type_nodes = nodep; in sgen_setup_binddb() 345 sgen_inq_node_t *nodep; in sgen_setup_binddb() local 369 nodep = kmem_zalloc(sizeof (sgen_inq_node_t), in sgen_setup_binddb() 371 nodep->node_vendor = kmem_alloc(vcplen + 1, KM_SLEEP); in sgen_setup_binddb() 372 (void) strcpy(nodep->node_vendor, vcp); in sgen_setup_binddb() 373 nodep->node_product = kmem_alloc(pcplen + 1, KM_SLEEP); in sgen_setup_binddb() [all …]
|
/titanic_44/usr/src/uts/common/io/ntxn/ |
H A D | unm_gem.c | 389 unm_dmah_node_t *nodep; in unm_free_tx_dmahdl() local 392 nodep = &adapter->tx_dma_hdls[0]; in unm_free_tx_dmahdl() 395 if (nodep->dmahdl != NULL) { in unm_free_tx_dmahdl() 396 ddi_dma_free_handle(&nodep->dmahdl); in unm_free_tx_dmahdl() 397 nodep->dmahdl = NULL; in unm_free_tx_dmahdl() 399 nodep->next = NULL; in unm_free_tx_dmahdl() 400 nodep++; in unm_free_tx_dmahdl() 412 unm_dmah_node_t *nodep = &adapter->tx_dma_hdls[0]; in unm_alloc_tx_dmahdl() local 417 DDI_DMA_DONTWAIT, NULL, &nodep->dmahdl) != DDI_SUCCESS) { in unm_alloc_tx_dmahdl() 423 nodep->next = nodep - 1; in unm_alloc_tx_dmahdl() [all …]
|
/titanic_44/usr/src/lib/fm/topo/modules/common/shared/ |
H A D | topo_transceiver.c | 126 const char *serial, tnode_t **nodep) in transceiver_create_sff() argument 178 if (nodep != NULL) in transceiver_create_sff() 179 *nodep = tn; in transceiver_create_sff()
|
H A D | topo_port.c | 121 tnode_t **nodep) in port_create_sff() argument 128 *nodep = tn; in port_create_sff()
|
/titanic_44/usr/src/tools/ctf/cvt/ |
H A D | stabs.c | 62 resolve_tou_node(tdesc_t *node, tdesc_t **nodep, void *private) in resolve_tou_node() argument 75 *nodep = new; in resolve_tou_node() 82 resolve_fwd_node(tdesc_t *node, tdesc_t **nodep, void *private) in resolve_fwd_node() argument 93 *nodep = new; in resolve_fwd_node()
|
/titanic_44/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 75 cpr_get_options_node(pnode_t *nodep) in cpr_get_options_node() argument 77 *nodep = prom_optionsnode(); in cpr_get_options_node() 78 if (*nodep == OBP_NONODE || *nodep == OBP_BADNODE) { in cpr_get_options_node()
|
/titanic_44/usr/src/lib/libdladm/common/ |
H A D | libdlwlan.c | 371 attr_node_t *nodep; in connect_cb() local 417 nodep = malloc(sizeof (attr_node_t)); in connect_cb() 418 if (nodep == NULL) in connect_cb() 421 (void) memcpy(&nodep->an_attr, attrp, sizeof (dladm_wlan_attr_t)); in connect_cb() 422 nodep->an_next = statep->cs_list; in connect_cb() 423 statep->cs_list = nodep; in connect_cb() 563 attr_node_t *nodep = NULL; in dladm_wlan_connect() local 620 nodep = state.cs_list; in dladm_wlan_connect() 622 wl_list[i] = &nodep->an_attr; in dladm_wlan_connect() 623 nodep = nodep->an_next; in dladm_wlan_connect() [all …]
|
/titanic_44/usr/src/cmd/isns/isnsd/xml/ |
H A D | data.c | 539 xmlNodePtr *nodep, in parse_xml_obj() argument 546 xmlNodePtr node = *nodep; in parse_xml_obj() 569 *nodep = children; in parse_xml_obj() 582 *nodep = children; in parse_xml_obj() 585 *nodep = node; in parse_xml_obj()
|
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdma.c | 54 #define RB_CLEAR_NODE(nodep) AVL_SETPARENT(nodep, nodep); argument
|
/titanic_44/usr/src/uts/sun4u/lw8/sys/ |
H A D | sgfru_mbox.h | 332 fru_info_t *fru, node_t *nodep);
|
/titanic_44/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | ses.c | 300 ses_node_t *rootnodep, *nodep; in fw_identify() local 461 nodep = ses_snap_primary_enclosure(snapshot); in fw_identify() 463 if ((props = ses_node_props(nodep)) == NULL) { in fw_identify()
|