Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_main.c68 static int vscand_kdrv_fd = -1; variable
737 if ((vscand_kdrv_fd = open(devname, O_RDONLY)) < 0) { in vscand_kernel_bind()
752 if (vscand_kdrv_fd >= 0) in vscand_kernel_unbind()
753 (void) close(vscand_kdrv_fd); in vscand_kernel_unbind()
763 if (ioctl(vscand_kdrv_fd, VS_IOCTL_ENABLE, door_fd) < 0) { in vscand_kernel_enable()
765 (void) close(vscand_kdrv_fd); in vscand_kernel_enable()
766 vscand_kdrv_fd = -1; in vscand_kernel_enable()
779 if (vscand_kdrv_fd >= 0) in vscand_kernel_disable()
780 (void) ioctl(vscand_kdrv_fd, VS_IOCTL_DISABLE); in vscand_kernel_disable()
790 if ((vscand_kdrv_fd < 0) || in vscand_kernel_config()
[all …]