Home
last modified time | relevance | path

Searched refs:vdi_overlayfd (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_overlay.c39 vip->vdi_overlayfd = open(OVERLAY_PATH, O_RDWR | O_EXCL); in libvarpd_overlay_init()
40 if (vip->vdi_overlayfd == -1) in libvarpd_overlay_init()
48 assert(vip->vdi_overlayfd > 0); in libvarpd_overlay_fini()
49 if (close(vip->vdi_overlayfd) != 0) in libvarpd_overlay_fini()
51 vip->vdi_overlayfd, errno); in libvarpd_overlay_fini()
61 if (ioctl(vip->vdi_overlayfd, OVERLAY_TARG_INFO, &oti) != 0) in libvarpd_overlay_info()
93 if (ioctl(vip->vdi_overlayfd, OVERLAY_TARG_ASSOCIATE, &ota) != 0) in libvarpd_overlay_associate()
106 if (ioctl(vip->vdi_overlayfd, OVERLAY_TARG_DISASSOCIATE, &otid) != 0) in libvarpd_overlay_disassociate()
119 if (ioctl(vip->vdi_overlayfd, OVERLAY_TARG_DEGRADE, &otd) != 0) in libvarpd_overlay_degrade_datalink()
139 if (ioctl(vip->vdi_overlayfd, OVERLAY_TARG_RESTORE, &otid) != 0) in libvarpd_overlay_restore()
[all …]
H A Dlibvarpd_impl.h56 int vdi_overlayfd; /* RO */ member