Lines Matching defs:ops

66 fuse_ll_init(const fuse_lowlevel_ops* ops, void* userdata, struct fuse_conn_info* conn)
68 if (ops->init != NULL) {
69 ops->init(userdata, conn);
75 fuse_ll_destroy(const fuse_lowlevel_ops* ops, void* userdata)
77 if (ops->destroy != NULL) {
78 ops->destroy(userdata);
84 fuse_ll_lookup(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
87 if (ops->lookup == NULL)
91 ops->lookup(&request, parent, name);
100 fuse_ll_getattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, struct stat* st)
102 if (ops->getattr == NULL)
107 ops->getattr(&request, ino, NULL);
114 fuse_ll_setattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const struct stat *attr,
117 if (ops->setattr == NULL)
122 ops->setattr(&request, ino, const_cast<struct stat*>(attr), to_set, NULL);
129 fuse_ll_readlink(const fuse_lowlevel_ops* ops, fuse_ino_t ino, char* buffer, size_t size)
131 if (ops->readlink == NULL)
136 ops->readlink(&request, ino);
143 fuse_ll_mkdir(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
146 if (ops->mkdir == NULL)
150 ops->mkdir(&request, parent, name, mode);
157 fuse_ll_unlink(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name)
159 if (ops->unlink == NULL)
163 ops->unlink(&request, parent, name);
170 fuse_ll_rmdir(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name)
172 if (ops->rmdir == NULL)
176 ops->rmdir(&request, parent, name);
183 fuse_ll_symlink(const fuse_lowlevel_ops* ops, const char* link, fuse_ino_t parent,
186 if (ops->symlink == NULL)
190 ops->symlink(&request, link, parent, name);
197 fuse_ll_rename(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
200 if (ops->rename == NULL)
204 ops->rename(&request, parent, name, newparent, newname);
211 fuse_ll_link(const fuse_lowlevel_ops* ops, fuse_ino_t ino, fuse_ino_t newparent,
214 if (ops->link == NULL)
218 ops->link(&request, ino, newparent, newname);
225 fuse_ll_open(const fuse_lowlevel_ops* ops, fuse_ino_t ino, fuse_file_info* ffi)
227 if (ops->open == NULL)
232 ops->open(&request, ino, ffi);
239 fuse_ll_read(const fuse_lowlevel_ops* ops, fuse_ino_t ino, char* buffer, size_t bufferSize,
242 if (ops->read == NULL)
247 ops->read(&request, ino, bufferSize, position, ffi);
254 fuse_ll_write(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const char *buf,
257 if (ops->write == NULL)
261 ops->write(&request, ino, buf, size, off, fi);
268 fuse_ll_flush(const fuse_lowlevel_ops* ops, fuse_ino_t ino, fuse_file_info* ffi)
270 if (ops->flush == NULL)
274 ops->flush(&request, ino, ffi);
281 fuse_ll_release(const fuse_lowlevel_ops* ops, fuse_ino_t ino, fuse_file_info* ffi)
283 if (ops->release == NULL)
287 ops->release(&request, ino, ffi);
294 fuse_ll_fsync(const fuse_lowlevel_ops* ops, fuse_ino_t ino, int datasync, fuse_file_info* ffi)
296 if (ops->fsync == NULL)
300 ops->fsync(&request, ino, datasync, ffi);
307 fuse_ll_opendir(const fuse_lowlevel_ops* ops, fuse_ino_t inode, struct fuse_file_info* ffi)
312 if (ops->readdir == NULL)
315 if (ops->opendir) {
317 ops->opendir(&request, inode, ffi);
327 fuse_ll_readdir(const fuse_lowlevel_ops* ops, fuse_ino_t ino, void* cookie, char* buffer,
330 if (ops->readdir == NULL)
339 ops->readdir(&request, ino, bufferSize, pos, ffi);
347 fuse_ll_releasedir(const fuse_lowlevel_ops* ops, fuse_ino_t ino, struct fuse_file_info *fi)
349 if (ops->releasedir == NULL)
353 ops->releasedir(&request, ino, fi);
360 fuse_ll_statfs(const fuse_lowlevel_ops* ops, fuse_ino_t inode, struct statvfs* stat)
362 if (ops->statfs == NULL)
367 ops->statfs(&request, inode);
374 fuse_ll_getxattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const char *name,
377 if (ops->getxattr == NULL)
382 ops->getxattr(&request, ino, name, size);
389 fuse_ll_listxattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, char* buffer, size_t size)
391 if (ops->listxattr == NULL)
396 ops->listxattr(&request, ino, size);
403 fuse_ll_access(const fuse_lowlevel_ops* ops, fuse_ino_t ino, int mask)
405 if (ops->access == NULL)
409 ops->access(&request, ino, mask);
416 fuse_ll_create(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
420 if (ops->create == NULL)
424 ops->create(&request, parent, name, mode, fi);