Searched refs:g_fd (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/ |
H A D | chkargs.c | 33 static int g_fd; variable 62 (void) ioctl(g_fd, DTRACEIOC_PROBEARG, &arg); 141 g_fd = dtrace_ctlfd(dtp);
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 97 static int g_fd = -1; variable 106 g_fd = open("/dev/zfs", O_RDWR); 107 if (g_fd < 0) { 127 if (g_refcount == 0 && g_fd != -1) { 128 (void) close(g_fd); 129 g_fd = -1; 147 VERIFY3S(g_fd, !=, -1); 187 while (ioctl(g_fd, ioc, &zc) != 0) { 277 VERIFY3S(g_fd, !=, -1); 280 if (ioctl(g_fd, ZFS_IOC_PROMOT [all...] |
Completed in 164 milliseconds