Searched refs:statsfd (Results 1 – 1 of 1) sorted by relevance
49 static int pagesize, statsfd = -1; variable55 if (statsfd == -1) in geom_stats_close()59 close (statsfd); in geom_stats_close()60 statsfd = -1; in geom_stats_close()70 if (statsfd == -1) in geom_stats_resync()72 error = ioctl(statsfd, DIOCGMEDIASIZE, &mediasize); in geom_stats_resync()92 if (statsfd != -1) in geom_stats_open()94 statsfd = open(_PATH_DEV DEVSTAT_DEVICE_NAME, O_RDONLY); in geom_stats_open()95 if (statsfd < 0) in geom_stats_open()102 close(statsfd); in geom_stats_open()[all …]