Lines Matching refs:fd
137 int fd = open("/proc/self/pagemap", O_RDONLY);
140 if (fd < 0)
143 if (!pagemap_is_populated(fd, start))
145 close(fd);
151 int fd = open("/proc/self/pagemap", O_RDONLY);
154 if (fd < 0)
157 if (pagemap_is_populated(fd, start))
159 close(fd);
209 int fd = open("/proc/self/pagemap", O_RDONLY);
212 if (fd < 0)
215 if (!pagemap_is_softdirty(fd, start))
217 close(fd);
223 int fd = open("/proc/self/pagemap", O_RDONLY);
226 if (fd < 0)
229 if (pagemap_is_softdirty(fd, start))
231 close(fd);