Lines Matching refs:fd
334 int fd;
352 fd = open64(path, O_RDONLY);
353 if (fd == -1)
355 if (fstat64(fd, &st) == -1) {
356 close(fd);
359 close(fd);
378 fd = open64(realpath, flags - FREAD, mode);
383 if (fd == -1)
386 if (fstat64(fd, &st) == -1) {
387 close(fd);
391 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
395 vp->v_fd = fd;
405 int x3, vnode_t *startvp, int fd)
413 /* fd ignored for now, need if want to simulate nbmand support */
890 random_get_bytes_common(uint8_t *ptr, size_t len, int fd)
895 ASSERT(fd != -1);
898 bytes = read(fd, ptr, resid);
1115 zfs_onexit_fd_hold(int fd, minor_t *minorp)
1123 zfs_onexit_fd_rele(int fd)