Lines Matching refs:_fs
46 fs_metawrap_init(struct fs *_fs, const char *args, const
49 struct metawrap_fs *fs = (struct metawrap_fs *)_fs;
53 fs_set_error(_fs, "Parent filesystem not given as parameter");
65 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) {
66 fs_set_error(_fs, "%s", error);
69 if ((fs_get_properties(_fs->parent) & FS_PROPERTY_METADATA) == 0)
74 static void fs_metawrap_deinit(struct fs *_fs)
76 struct metawrap_fs *fs = (struct metawrap_fs *)_fs;
78 if (_fs->parent != NULL)
79 fs_deinit(&_fs->parent);
83 static enum fs_properties fs_metawrap_get_properties(struct fs *_fs)
85 const struct metawrap_fs *fs = (const struct metawrap_fs *)_fs;
88 props = fs_get_properties(_fs->parent);