Lines Matching defs:fd
1502 int fd, namelen;
1523 fd = 0;
1525 if ((fd = open(fullname, O_RDONLY)) == -1) {
1529 if (fstat64(fd, stp) == -1) {
1531 (void) close(fd);
1537 return (fd);
2709 int fd;
2717 if ((fd = open(TZSYNC_FILE, O_RDONLY)) < 0)
2720 addr = mmap(0, sizeof (uint32_t), PROT_READ, MAP_SHARED, fd, 0);
2721 (void) close(fd);