Lines Matching refs:fh_fd
4724 res = (fs->fstat)(fh, fh->fh_fd, st); in pr_fsio_fstat()
4983 fh->fh_fd = -1; in pr_fsio_open_canon()
4996 fh->fh_fd = (fs->open)(fh, deref, flags); in pr_fsio_open_canon()
4997 if (fh->fh_fd < 0) { in pr_fsio_open_canon()
5012 if (fcntl(fh->fh_fd, F_SETFD, FD_CLOEXEC) < 0) { in pr_fsio_open_canon()
5015 fh->fh_fd, strerror(errno)); in pr_fsio_open_canon()
5044 fh->fh_fd = -1; in pr_fsio_open()
5057 fh->fh_fd = (fs->open)(fh, name, flags); in pr_fsio_open()
5058 if (fh->fh_fd < 0) { in pr_fsio_open()
5073 if (fcntl(fh->fh_fd, F_SETFD, FD_CLOEXEC) < 0) { in pr_fsio_open()
5076 fh->fh_fd, strerror(errno)); in pr_fsio_open()
5125 res = (fs->close)(fh, fh->fh_fd); in pr_fsio_close()
5163 fd = fh->fh_fd; in pr_fsio_close_with_error()
5200 res = (fs->pread)(fh, fh->fh_fd, buf, size, offset); in pr_fsio_pread()
5226 res = (fs->read)(fh, fh->fh_fd, buf, size); in pr_fsio_read()
5244 fd = fh->fh_fd; in pr_fsio_read_with_error()
5282 res = (fs->pwrite)(fh, fh->fh_fd, buf, size, offset); in pr_fsio_pwrite()
5307 res = (fs->write)(fh, fh->fh_fd, buf, size); in pr_fsio_write()
5325 fd = fh->fh_fd; in pr_fsio_write_with_error()
5360 res = (fs->lseek)(fh, fh->fh_fd, offset, whence); in pr_fsio_lseek()
5463 res = (fs->ftruncate)(fh, fh->fh_fd, len); in pr_fsio_ftruncate()
5581 res = (fs->fchmod)(fh, fh->fh_fd, mode); in pr_fsio_fchmod()
5602 fd = fh->fh_fd; in pr_fsio_fchmod_with_error()
5691 res = (fs->fchown)(fh, fh->fh_fd, uid, gid); in pr_fsio_fchown()
5712 fd = fh->fh_fd; in pr_fsio_fchown_with_error()
5949 res = (fs->futimes)(fh, fh->fh_fd, tvs); in pr_fsio_futimes()
5976 res = (fs->fsync)(fh, fh->fh_fd); in pr_fsio_fsync()
6081 res = (fs->fgetxattr)(p, fh, fh->fh_fd, name, val, valsz); in pr_fsio_fgetxattr()
6179 res = (fs->flistxattr)(p, fh, fh->fh_fd, names); in pr_fsio_flistxattr()
6277 res = (fs->fremovexattr)(p, fh, fh->fh_fd, name); in pr_fsio_fremovexattr()
6378 res = (fs->fsetxattr)(p, fh, fh->fh_fd, name, val, valsz, flags); in pr_fsio_fsetxattr()
7300 flags = fcntl(fh->fh_fd, F_GETFL);
7305 res = fcntl(fh->fh_fd, F_SETFL, flags & (U32BITS ^ O_NONBLOCK));