Lines Matching refs:fs
4 #include "fs-api.h"
5 #include "fs-wrapper.h"
21 struct fs *(*alloc)(void);
22 int (*init)(struct fs *fs, const char *args,
24 void (*deinit)(struct fs *fs);
26 enum fs_properties (*get_properties)(struct fs *fs);
38 void (*wait_async)(struct fs *fs);
72 bool (*switch_ioloop)(struct fs *fs);
76 struct fs {
77 struct fs *parent; /* for wrapper filesystems */
106 struct fs *fs;
145 struct fs *fs;
155 extern const struct fs fs_class_dict;
156 extern const struct fs fs_class_posix;
157 extern const struct fs fs_class_randomfail;
158 extern const struct fs fs_class_metawrap;
159 extern const struct fs fs_class_sis;
160 extern const struct fs fs_class_sis_queue;
161 extern const struct fs fs_class_test;
163 void fs_class_register(const struct fs *fs_class);
165 void fs_set_error(struct fs *fs, const char *fmt, ...) ATTR_FORMAT(2, 3);
166 void fs_set_critical(struct fs *fs, const char *fmt, ...) ATTR_FORMAT(2, 3);
168 void fs_set_error_async(struct fs *fs);