Lines Matching refs:dap
156 struct di_all *dap; in di_init_impl() local
275 dap = DI_ALL(pa); in di_init_impl()
276 if (dap->version != DI_SNAPSHOT_VERSION) { in di_init_impl()
279 DI_SNAPSHOT_VERSION, dap->version)); in di_init_impl()
284 if (dap->top_devinfo == 0) { /* phys_path not found */ in di_init_impl()
291 return (DI_NODE(pa + dap->top_devinfo)); in di_init_impl()
2370 struct di_all *dap; in di_vhci_first_node() local
2381 dap = DI_ALL(pa); in di_vhci_first_node()
2383 if (dap->top_vhci_devinfo == 0) { in di_vhci_first_node()
2388 return (DI_NODE(pa + dap->top_vhci_devinfo)); in di_vhci_first_node()
3751 struct di_all *dap; in di_lookup_node_impl() local
3768 dap = DI_ALL((caddr_t)root - DI_NODE(root)->self); in di_lookup_node_impl()
3769 if (strcmp(dap->root_path, "/") != 0) { in di_lookup_node_impl()
3770 DPRINTF((DI_ERR, "snapshot root not / : %s\n", dap->root_path)); in di_lookup_node_impl()