Searched refs:_fs (Results 1 - 10 of 10) sorted by relevance

/dovecot/src/lib-fs/
H A Dfs-sis-queue.c31 fs_sis_queue_init(struct fs *_fs, const char *args, argument
34 struct sis_queue_fs *fs = (struct sis_queue_fs *)_fs;
41 fs_set_error(_fs, "Parent filesystem not given as parameter");
53 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) {
54 fs_set_error(_fs, "%s", error);
60 static void fs_sis_queue_deinit(struct fs *_fs) argument
62 struct sis_queue_fs *fs = (struct sis_queue_fs *)_fs;
64 if (_fs->parent != NULL)
65 fs_deinit(&_fs->parent);
H A Dfs-randomfail.c161 fs_randomfail_init(struct fs *_fs, const char *args, argument
164 struct randomfail_fs *fs = (struct randomfail_fs *)_fs;
169 fs_set_error(_fs, "Randomfail parameters missing");
173 fs_set_error(_fs, "Invalid randomfail parameters: %s", error);
179 fs_set_error(_fs, "Parent filesystem not given as parameter");
191 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) {
192 fs_set_error(_fs, "%s", error);
198 static void fs_randomfail_deinit(struct fs *_fs) argument
200 struct randomfail_fs *fs = (struct randomfail_fs *)_fs;
202 if (_fs
207 fs_randomfail_get_properties(struct fs *_fs) argument
237 fs_random_fail(struct fs *_fs, int divider, enum fs_op op) argument
275 fs_random_fail_range(struct fs *_fs, enum fs_op op, uoff_t *offset_r) argument
[all...]
H A Dfs-sis.c40 fs_sis_init(struct fs *_fs, const char *args, const struct fs_settings *set) argument
46 fs_set_error(_fs, "Parent filesystem not given as parameter");
58 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) {
59 fs_set_error(_fs, "%s", error);
62 props = fs_get_properties(_fs->parent);
64 fs_set_error(_fs, "%s backend can't be used with SIS",
71 static void fs_sis_deinit(struct fs *_fs) argument
73 struct sis_fs *fs = (struct sis_fs *)_fs;
75 if (_fs->parent != NULL)
76 fs_deinit(&_fs
[all...]
H A Dfs-metawrap.c46 fs_metawrap_init(struct fs *_fs, const char *args, const argument
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) argument
76 struct metawrap_fs *fs = (struct metawrap_fs *)_fs;
78 if (_fs->parent != NULL)
79 fs_deinit(&_fs
83 fs_metawrap_get_properties(struct fs *_fs) argument
[all...]
H A Dfs-dict.c49 fs_dict_init(struct fs *_fs, const char *args, const struct fs_settings *set) argument
51 struct dict_fs *fs = (struct dict_fs *)_fs;
57 fs_set_error(_fs, "':' missing in args");
68 fs_set_error(_fs, "Unknown value encoding '%s'", encoding_str);
77 fs_set_error(_fs, "dict_init(%s) failed: %s", args, error);
83 static void fs_dict_deinit(struct fs *_fs) argument
85 struct dict_fs *fs = (struct dict_fs *)_fs;
H A Dfs-test.c20 fs_test_init(struct fs *_fs ATTR_UNUSED, const char *args ATTR_UNUSED,
26 static void fs_test_deinit(struct fs *_fs) argument
28 struct test_fs *fs = (struct test_fs *)_fs;
34 static enum fs_properties fs_test_get_properties(struct fs *_fs) argument
36 struct test_fs *fs = (struct test_fs *)_fs;
94 static void fs_test_wait_async(struct fs *_fs ATTR_UNUSED)
H A Dfs-posix.c77 fs_posix_init(struct fs *_fs, const char *args, const struct fs_settings *set) argument
79 struct posix_fs *fs = (struct posix_fs *)_fs;
112 fs_set_error(_fs, "Invalid mode value: %s", arg+5);
117 fs_set_error(_fs, "Invalid mode: %s", arg+5);
121 fs_set_error(_fs, "Unknown arg '%s'", arg);
128 static void fs_posix_deinit(struct fs *_fs) argument
130 struct posix_fs *fs = (struct posix_fs *)_fs;
138 static enum fs_properties fs_posix_get_properties(struct fs *_fs) argument
140 struct posix_fs *fs = (struct posix_fs *)_fs;
H A Dfs-api.c197 void fs_unref(struct fs **_fs) argument
199 struct fs *fs = *_fs;
206 *_fs = NULL;
/dovecot/src/plugins/fs-compress/
H A Dfs-compress.c43 fs_compress_init(struct fs *_fs, const char *args, const argument
46 struct compress_fs *fs = (struct compress_fs *)_fs;
58 fs_set_error(_fs, "Compression method not given as parameter");
67 fs_set_error(_fs, "Parent filesystem not given as parameter");
74 fs_set_error(_fs, "Invalid compression level parameter '%s'", level_str);
81 fs_set_error(_fs, "Compression method '%s' not support", compression_name);
93 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) {
94 fs_set_error(_fs, "%s: %s", parent_name, error);
100 static void fs_compress_deinit(struct fs *_fs) argument
102 struct compress_fs *fs = (struct compress_fs *)_fs;
[all...]
/dovecot/src/plugins/mail-crypt/
H A Dfs-crypt-common.c57 fs_crypt_init(struct fs *_fs, const char *args, const argument
60 struct crypt_fs *fs = (struct crypt_fs *)_fs;
75 fs_set_error(_fs, "Missing parameters");
95 fs_set_error(_fs, "Invalid parameter '%s'", arg);
108 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) {
109 fs_set_error(_fs, "%s: %s", parent_name, error);
120 static void fs_crypt_deinit(struct fs *_fs) argument
122 struct crypt_fs *fs = (struct crypt_fs *)_fs;
125 if (_fs->parent != NULL)
126 fs_deinit(&_fs
[all...]

Completed in 25 milliseconds