Lines Matching defs:ops

18 	if (fs->ops.getattr == NULL)
20 return fs->ops.getattr(path, buf);
28 if (fs->ops.fgetattr == NULL)
30 return fs->ops.fgetattr(path, buf, fi);
37 if (fs->ops.rename == NULL)
39 return fs->ops.rename(oldpath, newpath);
46 if (fs->ops.unlink == NULL)
48 return fs->ops.unlink(path);
55 if (fs->ops.rmdir == NULL)
57 return fs->ops.rmdir(path);
64 if (fs->ops.symlink == NULL)
66 return fs->ops.symlink(linkname, path);
73 if (fs->ops.link == NULL)
75 return fs->ops.link(oldpath, newpath);
83 if (fs->ops.release == NULL)
85 return fs->ops.release(path, fi);
92 if (fs->ops.open == NULL)
94 return fs->ops.open(path, fi);
102 if (fs->ops.read == NULL)
104 return fs->ops.read(path, buf, size, off, fi);
112 if (fs->ops.write == NULL)
114 return fs->ops.write(path, buf, size, off, fi);
122 if (fs->ops.fsync == NULL)
124 return fs->ops.fsync(path, datasync, fi);
131 if (fs->ops.flush == NULL)
133 return fs->ops.flush(path, fi);
140 if (fs->ops.statfs == NULL)
142 return fs->ops.statfs(path, buf);
149 if (fs->ops.opendir == NULL)
151 return fs->ops.opendir(path, fi);
159 if (fs->ops.readdir == NULL)
161 return fs->ops.readdir(path, buf, filler, off, fi);
169 if (fs->ops.fsyncdir == NULL)
171 return fs->ops.fsyncdir(path, datasync, fi);
179 if (fs->ops.releasedir == NULL)
181 return fs->ops.releasedir(path, fi);
189 if (fs->ops.create == NULL)
191 return fs->ops.create(path, mode, fi);
199 if (fs->ops.lock == NULL)
201 return fs->ops.lock(path, fi, cmd, lock);
208 if (fs->ops.chmod == NULL)
210 return fs->ops.chmod(path, mode);
217 if (fs->ops.chown == NULL)
219 return fs->ops.chown(path, uid, gid);
226 if (fs->ops.truncate == NULL)
228 return fs->ops.truncate(path, size);
236 if (fs->ops.ftruncate == NULL)
238 return fs->ops.ftruncate(path, size, fi);
246 if (fs->ops.utimens != NULL)
247 return fs->ops.utimens(path, tv);
249 if (fs->ops.utime != NULL) {
254 return fs->ops.utime(path, &timeBuffer);
264 if (fs->ops.access == NULL)
266 return fs->ops.access(path, mask);
273 if (fs->ops.readlink == NULL)
275 return fs->ops.readlink(path, buf, len);
282 if (fs->ops.mknod == NULL)
284 return fs->ops.mknod(path, mode, rdev);
291 if (fs->ops.mkdir == NULL)
293 return fs->ops.mkdir(path, mode);
301 if (fs->ops.setxattr == NULL)
303 return fs->ops.setxattr(path, name, value, size, flags);
311 if (fs->ops.getxattr == NULL)
313 return fs->ops.getxattr(path, name, value, size);
320 if (fs->ops.listxattr == NULL)
322 return fs->ops.listxattr(path, list, size);
329 if (fs->ops.removexattr == NULL)
331 return fs->ops.removexattr(path, name);
339 if (fs->ops.bmap == NULL)
341 return fs->ops.bmap(path, blocksize, idx);
348 if (fs->ops.ioctl == NULL)
351 return fs->ops.ioctl(path, cmd, arg, fi, flags, data);
358 if (fs->ops.init == NULL)
360 fs->ops.init(conn);
367 if (fs->ops.destroy != NULL)
368 fs->ops.destroy(fs->userData);
375 fuse_fs_new(const struct fuse_operations* ops, size_t opSize, void* userData)
386 memset(&fs->ops, 0, sizeof(fuse_operations));
387 memcpy(&fs->ops, ops, opSize);