Lines Matching refs:vdev
732 domid_t dom, int vdev) in xvdi_create_dev() argument
748 if (vdev != VDEV_NOXS) { in xvdi_create_dev()
751 "%s/%d", xdcp->xs_path_fe, vdev); in xvdi_create_dev()
756 "%s/%d/%d", xdcp->xs_path_be, dom, vdev); in xvdi_create_dev()
807 (void) ndi_prop_update_int(DDI_DEV_T_NONE, dip, "vdev", vdev); in xvdi_create_dev()
943 domid_t dom, int vdev) in xvdi_find_dev() argument
957 vdev = VDEV_NOXS; in xvdi_find_dev()
1001 if ((domid == dom) && (vdevnum == vdev) && (devcls == devclass)) in xvdi_find_dev()
1865 int vdev; in i_xvdi_enum_worker() local
1869 vdev = tmplong; in i_xvdi_enum_worker()
1873 if (xvdi_find_dev(parent, xdcp->devclass, dom, vdev) == NULL) in i_xvdi_enum_worker()
1875 dom, vdev); in i_xvdi_enum_worker()
2336 int i, vdev, circ; in i_xvdi_probe_path_handler() local
2371 if (sscanf(p, "/%d/", &vdev) != 1) { in i_xvdi_probe_path_handler()
2379 if (sscanf(p, "/%hu/%d/", &dom, &vdev) != 2) { in i_xvdi_probe_path_handler()
2392 if (vdev == VDEV_NOXS) { in i_xvdi_probe_path_handler()
2403 if (xvdi_find_dev(parent, xdcp->devclass, dom, vdev) == NULL) { in i_xvdi_probe_path_handler()
2406 (void) xvdi_create_dev(parent, xdcp->devclass, dom, vdev); in i_xvdi_probe_path_handler()