/titanic_44/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_snap.c | 525 step_child(tnode_t *cnp, topo_walk_t *wp, int flag, int bottomup) in step_child() argument 530 nnp = topo_child_first(cnp); in step_child() 535 cnp->tn_name, cnp->tn_instance); in step_child() 541 cnp->tn_name, cnp->tn_instance, nnp->tn_name, nnp->tn_instance); in step_child() 554 step_sibling(tnode_t *cnp, topo_walk_t *wp, int flag, int bottomup) in step_sibling() argument 559 nnp = topo_child_next(cnp->tn_parent, cnp); in step_sibling() 564 cnp->tn_name, cnp->tn_instance); in step_sibling() 570 cnp->tn_name, cnp->tn_instance, nnp->tn_name, nnp->tn_instance); in step_sibling() 586 tnode_t *nnp, *cnp; in topo_walk_byid() local 588 cnp = wp->tw_node; in topo_walk_byid() [all …]
|
/titanic_44/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.c | 542 cache_node_t *cnp; in read_nodes() local 565 cnp = node_insert(hdp, pcnp, path, INSERT_HEAD); in read_nodes() 566 if (cnp == NULL) { in read_nodes() 574 if (read_minors(hdp, cnp, dnp->minor) != 0 || in read_nodes() 575 read_nodes(hdp, cnp, dnp->child) != 0) { in read_nodes() 580 cnp->path); in read_nodes() 798 cache_node_t *cnp, in write_nodes() argument 807 for (; cnp != NULL; cnp = cnp->sib) { in write_nodes() 809 assert(cnp->path != NULL); in write_nodes() 812 if ((pdnp == NULL) ^ (cnp == CACHE_ROOT(hdp))) { in write_nodes() [all …]
|
H A D | devinfo_devlink.h | 315 cache_node_t *cnp, uint32_t *next); 331 static void count_node(cache_node_t *cnp, uint32_t *count); 410 static void delete_unused_nodes(di_devlink_handle_t hdp, cache_node_t *cnp);
|
/titanic_44/usr/src/lib/libdtrace/common/ |
H A D | dt_pragma.c | 233 dt_pragma_depends(const char *prname, dt_node_t *cnp) in dt_pragma_depends() argument 236 dt_node_t *nnp = cnp ? cnp->dn_list : NULL; in dt_pragma_depends() 241 if (cnp == NULL || nnp == NULL || in dt_pragma_depends() 242 cnp->dn_kind != DT_NODE_IDENT || nnp->dn_kind != DT_NODE_IDENT) { in dt_pragma_depends() 247 if (strcmp(cnp->dn_string, "provider") == 0) in dt_pragma_depends() 249 else if (strcmp(cnp->dn_string, "module") == 0) { in dt_pragma_depends() 252 } else if (strcmp(cnp->dn_string, "library") == 0) { in dt_pragma_depends() 299 "specified by #pragma %s\n", cnp->dn_string, prname); in dt_pragma_depends() 304 cnp->dn_string, nnp->dn_string); in dt_pragma_depends()
|
H A D | dt_cc.c | 1563 dt_compile_one_clause(dtrace_hdl_t *dtp, dt_node_t *cnp, dt_node_t *pnp) in dt_compile_one_clause() argument 1571 (void) dt_node_cook(cnp, DT_IDFLG_REF); in dt_compile_one_clause() 1574 dt_node_printr(cnp, stderr, 0); in dt_compile_one_clause() 1582 if (cnp->dn_pred != NULL) { in dt_compile_one_clause() 1583 dt_cg(yypcb, cnp->dn_pred); in dt_compile_one_clause() 1587 if (cnp->dn_acts == NULL) { in dt_compile_one_clause() 1589 cnp->dn_ctxattr, _dtrace_defattr), cnp); in dt_compile_one_clause() 1592 for (dnp = cnp->dn_acts; dnp != NULL; dnp = dnp->dn_list) { in dt_compile_one_clause() 1594 sdp = dt_stmt_create(dtp, edp, cnp->dn_ctxattr, cnp->dn_attr); in dt_compile_one_clause() 1625 dt_compile_clause(dtrace_hdl_t *dtp, dt_node_t *cnp) in dt_compile_clause() argument [all …]
|
/titanic_44/usr/src/lib/scsi/libses/common/ |
H A D | ses_node.c | 138 ses_node_t *np, *pnp, *cnp, *root; in ses_build_snap_skel() local 299 cnp = ses_node_alloc(sp, np); in ses_build_snap_skel() 300 if (cnp == NULL) in ses_build_snap_skel() 303 cnp->sn_type = SES_NODE_ELEMENT; in ses_build_snap_skel() 304 SES_NV_ADD(uint64, err, cnp->sn_props, in ses_build_snap_skel() 306 SES_NV_ADD(uint64, err, cnp->sn_props, in ses_build_snap_skel() 308 SES_NV_ADD(uint64, err, cnp->sn_props, in ses_build_snap_skel() 310 SES_NV_ADD(uint64, err, cnp->sn_props, in ses_build_snap_skel()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | instance.h | 130 void e_ddi_borrow_instance(dev_info_t *cdip, in_node_t *cnp); 131 void e_ddi_return_instance(dev_info_t *cdip, char *addr, in_node_t *cnp);
|
/titanic_44/usr/src/uts/sun4v/promif/ |
H A D | promif_stree.c | 332 prom_node_t *cnp; in create_children() local 344 cnp = create_node(pnp, child); in create_children() 345 pnp->pn_child = cnp; in create_children() 346 create_peers(cnp, child); in create_children() 347 pnp = cnp; in create_children()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | instance.c | 1591 e_ddi_borrow_instance(dev_info_t *cdip, in_node_t *cnp) in e_ddi_borrow_instance() argument 1604 if (cnp->in_drivers) { in e_ddi_borrow_instance() 1607 cnp->in_drivers->ind_driver_name); in e_ddi_borrow_instance() 1635 cnp->in_drivers = anp->in_drivers; in e_ddi_borrow_instance() 1643 e_ddi_return_instance(dev_info_t *cdip, char *addr, in_node_t *cnp) in e_ddi_return_instance() argument 1660 if (cnp->in_drivers == NULL) { in e_ddi_return_instance() 1661 ddi_err(DER_PANIC, cdip, "cnp has no inst: %p", cnp); in e_ddi_return_instance() 1670 anp->in_drivers = cnp->in_drivers; in e_ddi_return_instance() 1671 cnp->in_drivers = NULL; in e_ddi_return_instance()
|
/titanic_44/usr/src/tools/ctf/stabs/common/ |
H A D | genassym.c | 137 ga_parse_name(char *line, char **cnp, char **szdp, char **shdp) in ga_parse_name() argument 139 return (ga_parse_common(line, 1, 3, cnp, szdp, shdp)); in ga_parse_name()
|