Lines Matching refs:off
95 static void cusexmp_read(fuse_req_t req, size_t size, off_t off,
100 if (off >= cusexmp_size)
101 off = cusexmp_size;
102 if (size > cusexmp_size - off)
103 size = cusexmp_size - off;
105 fuse_reply_buf(req, cusexmp_buf + off, size);
109 off_t off, struct fuse_file_info *fi)
113 if (cusexmp_expand(off + size)) {
118 memcpy(cusexmp_buf + off, buf, size);
175 size_t off = arg->offset;
178 if (off >= cusexmp_size)
179 off = cusexmp_size;
180 if (size > cusexmp_size - off)
181 size = cusexmp_size - off;
183 iov[2].iov_base = cusexmp_buf + off;