Lines Matching refs:ff_fd
95 int ff_fd; member
570 ret->ff_fd = -1; in open_fid()
718 ff->ff_acl = look_for_nfsv4_acl(ff, ff->ff_fd, ff->ff_name); in fillacl()
978 } else if (file->ff_fd != -1) { in fs_clunk()
979 close(file->ff_fd); in fs_clunk()
980 file->ff_fd = -1; in fs_clunk()
1173 file->ff_fd = fd; in fs_icreate()
1286 file->ff_fd = fd; in fs_iopen()
1704 ret = preadv(file->ff_fd, req->lr_data_iov, niov, in fs_read()
1708 if (lseek(file->ff_fd, (off_t)req->lr_req.io.offset, SEEK_SET) < 0) in fs_read()
1711 ret = (uint32_t)readv(file->ff_fd, req->lr_data_iov, (int)niov); in fs_read()
1995 ret = pwritev(file->ff_fd, req->lr_data_iov, niov, in fs_write()
1999 if (lseek(file->ff_fd, (off_t)req->lr_req.io.offset, SEEK_SET) < 0) in fs_write()
2002 ret = writev(file->ff_fd, req->lr_data_iov, in fs_write()
2711 if (fsync(file->ff_dir != NULL ? dirfd(file->ff_dir) : file->ff_fd)) in fs_fsync()
2955 if (f->ff_fd != -1) in fs_freefid()
2956 close(f->ff_fd); in fs_freefid()