Lines Matching defs:node

213     int (*fcn)(di_node_t node, di_minor_t minor, void *arg),
214 int (*fcn_hp)(di_node_t node, di_hp_t hp, void *arg),
233 static int do_list_common(di_node_t node, di_minor_t minor, void *arg);
234 static int do_list_common_hp(di_node_t node, di_hp_t hp, void *arg);
235 static int do_list_common_impl(di_node_t node, di_minor_t minor,
244 static cfga_err_t mklog_common(di_node_t node, di_minor_t minor,
247 static cfga_err_t null_mklog(di_node_t node, di_minor_t minor,
249 static cfga_err_t mklog_v1(di_node_t node, di_minor_t minor,
251 static cfga_err_t mklog_v2(di_node_t node, di_minor_t minor,
1044 di_node_t node,
1054 di_node_t node,
1067 return (mklog_common(node, minor, liblocp, len));
1086 di_node_t node,
1114 return (mklog_common(node, minor, liblocp, len));
1122 di_node_t node,
1130 drv = di_driver_name(node);
1131 inst = di_instance(node);
1150 di_node_t node,
1159 drv = di_driver_name(node);
1160 inst = di_instance(node);
1469 /* load_lib - load library for non-SHP attachment point node */
1472 di_node_t node,
1476 return (load_lib_impl(node, minor, NULL, libloc_p));
1479 /* load_lib_hp - load library for SHP attachment point node */
1482 di_node_t node,
1486 return (load_lib_impl(node, NULL, hp, libloc_p));
1496 di_node_t node,
1529 if (libp->vers_ops->mklog(node, minor, libp, libloc_p)
1535 if (mklog_hp(node, hp, libp, libloc_p) != CFGA_OK) {
1541 devfs_path = di_devfs_path(node);
1571 libp->vers_ops->mklog(node, minor, libp, libloc_p)
1580 mklog_hp(node, hp, libp, libloc_p) != CFGA_OK) {
1604 * record libp and physical node name in the libloc struct
1607 devfs_path = di_devfs_path(node);
1619 * find_lib - find library for non-SHP attachment point node
1623 di_node_t node,
1639 drv = di_driver_name(node);
1681 di_node_t node,
1738 * find_lib_impl - Given an attachment point node find it's library
1919 int (*fcn)(di_node_t node, di_minor_t minor, void *arg),
1920 int (*fcn_hp)(di_node_t node, di_hp_t hp, void *arg),
1979 * find node using DINFOHP, try to see if we can
1996 * Failed to find a matching hp node, try minor node.
2047 di_node_t node,
2051 return (check_ap_impl(node, minor, NULL, arg));
2059 di_node_t node,
2063 return (check_ap_impl(node, NULL, hp, arg));
2076 di_node_t node,
2126 drv_name = di_driver_name(node);
2127 instance = di_instance(node);
2163 if (find_lib(node, minor, libloc_p) != CFGA_OK) {
2167 if (load_lib(node, minor, libloc_p) != CFGA_OK) {
2172 if (find_lib_hp(node, hp, libloc_p) != CFGA_OK) {
2176 if (load_lib_hp(node, hp, libloc_p) != CFGA_OK) {
2195 di_node_t node,
2199 return (check_ap_phys_impl(node, minor, DI_HP_NIL, arg));
2207 di_node_t node,
2211 return (check_ap_phys_impl(node, DI_HP_NIL, hp, arg));
2223 di_node_t node,
2237 devfs_path = di_devfs_path(node);
2255 if (find_lib(node, minor, libloc_p) != CFGA_OK) {
2259 if (load_lib(node, minor, libloc_p) != CFGA_OK) {
2264 if (find_lib_hp(node, hp, libloc_p) != CFGA_OK) {
2268 if (load_lib_hp(node, hp, libloc_p) != CFGA_OK) {
2573 di_node_t node,
2588 if ((rnode = di_init(di_devfs_path(node), DINFOSUBTREE | DINFOHP))
2602 return (do_list_common_impl(node, minor, NULL, arg));
2610 di_node_t node,
2614 return (do_list_common_impl(node, NULL, hp, arg));
2626 di_node_t node,
2643 * try and find a lib for this node
2646 ret = find_lib(node, minor, &lib_loc);
2648 ret = find_lib_hp(node, hp, &lib_loc);
2662 ret = load_lib(node, minor, &lib_loc);
2664 ret = load_lib_hp(node, hp, &lib_loc);