Searched refs:vfd (Results 1 – 2 of 2) sorted by relevance
18 static int vfd = -1; local28 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) {33 if (ioctl(vfd, SIOCGETFS, &ipfo)) {35 close(vfd);36 vfd = -1;
536 int vfd; in showversion() local546 if ((vfd = open(ipfname, O_RDONLY)) == -1) { in showversion()551 if (setzone(vfd) != 0) { in showversion()552 close(vfd); in showversion()556 if (ioctl(vfd, SIOCGETFS, &ipfo)) { in showversion()558 close(vfd); in showversion()561 close(vfd); in showversion()