Lines Matching refs:nodename
604 get_node_class(char *classbuf, di_node_t dn, const char *nodename) in get_node_class() argument
627 if (lookup_name_class_map(classbuf, nodename) == 0) in get_node_class()
1419 char *nodename; in construct_picl_platform() local
1424 nodename = di_node_name(di_root); in construct_picl_platform()
1425 if (nodename == NULL) in construct_picl_platform()
1442 PICL_PTYPE_CHARSTRING, PICL_READ, strlen(nodename) + 1, in construct_picl_platform()
1444 err = ptree_create_and_add_prop(plafh, &propinfo, nodename, &proph); in construct_picl_platform()
1464 char *nodename; in construct_obp_node() local
1468 nodename = di_node_name(dn); /* PICL_PROP_NAME */ in construct_obp_node()
1469 if (nodename == NULL) in construct_obp_node()
1472 if (strcmp(nodename, "pseudo") == 0) in construct_obp_node()
1479 err = ptree_create_and_add_node(parh, nodename, nodename, &anodeh); in construct_obp_node()
1496 construct_devtype_node(picl_nodehdl_t parh, char *nodename, in construct_devtype_node() argument
1502 err = ptree_create_and_add_node(parh, nodename, nodeclass, &anodeh); in construct_devtype_node()
1558 char *nodename; in construct_devinfo_tree() local
1564 nodename = di_node_name(cnode); /* PICL_PROP_NAME */ in construct_devinfo_tree()
1565 if (nodename == NULL) in construct_devinfo_tree()
1568 err = get_node_class(nodeclass, cnode, nodename); in construct_devinfo_tree()
1571 err = construct_devtype_node(plafh, nodename, in construct_devinfo_tree()
1609 char *nodename; in update_subtree() local
1626 nodename = di_node_name(cnode); in update_subtree()
1627 if (nodename == NULL) { in update_subtree()
1632 err = get_node_class(nodeclass, cnode, nodename); in update_subtree()
1655 err = ptree_create_node(nodename, nodeclass, &chdh); in update_subtree()
1744 if (construct_devtype_node(nodeh, nodename, nodeclass, cnode, in update_subtree()
1749 nodename, path_buf); in update_subtree()
2630 char nodename[PICL_PROPNAMELEN_MAX]; in create_asr_node() local
2659 (void *)nodename, PICL_PROPNAMELEN_MAX); in create_asr_node()
2662 if (strcmp(nodename, child) != 0) in create_asr_node()
2926 PICL_PTYPE_CHARSTRING, PICL_READ, strlen(uts_info.nodename) + 1, in add_platform_info()
2928 err = ptree_create_and_add_prop(plafh, &propinfo, uts_info.nodename, in add_platform_info()
3685 char *nodename; in picldevtree_evhandler() local
3715 nodename = di_node_name(devnode); in picldevtree_evhandler()
3716 if (nodename == NULL) { in picldevtree_evhandler()
3725 err = get_node_class(nodeclass, devnode, nodename); in picldevtree_evhandler()
3734 err = construct_devtype_node(plafh, nodename, in picldevtree_evhandler()