Lines Matching refs:fd
87 int fd;281 state->fd = -1;300 CHK(state->fd = open(state->filename, 0));302 MMAP_FLAGS, state->fd, 0));317 int fd;323 CHK(fd = open(state->filename, 0));324 CHK(p = mmap(0, state->nbytes, PROT_READ, MMAP_FLAGS, fd, 0));326 close(fd);343 if (state->fd >= 0) close(state->fd);