Lines Matching refs:storage
12 #include "sdbox-storage.h"
40 file->file.storage = &mbox->storage->storage;
60 file->fd = file->storage->v.
125 struct dbox_storage *storage = file->file.storage;
131 src = t_strdup_printf("%s/%s", storage->attachment_dir, *pathp);
132 dest = t_strdup_printf("%s/%s", storage->attachment_dir,
134 src_file = fs_file_init(storage->attachment_fs, src,
136 dest_file = fs_file_init(storage->attachment_fs, dest,
140 fs_last_error(storage->attachment_fs));
190 struct dbox_storage *storage = file->file.storage;
191 struct fs *fs = storage->attachment_fs;
201 path = t_strdup_printf("%s/%s", storage->attachment_dir,
212 path = t_strdup_printf("%s/%s", storage->attachment_dir,
292 struct mail_storage *storage = &file->storage->storage;
324 out_fd = file->storage->v.file_create_fd(file, temp_path, TRUE);
332 mail_storage_set_critical(storage, "write(%s) failed: %s",
338 if (storage->set->parsed_fsync_mode != FSYNC_MODE_NEVER && ret == 0) {
340 mail_storage_set_critical(storage,
346 mail_storage_set_critical(storage,
359 mail_storage_set_critical(storage,
367 mail_storage_set_critical(storage,
372 if (storage->set->parsed_fsync_mode != FSYNC_MODE_NEVER) {
374 mail_storage_set_critical(storage,
394 mail_storage_set_critical(storage,
405 struct dbox_storage *storage = sfile->file.storage;
412 if (index_attachment_delete(&storage->storage,
413 storage->attachment_fs, path) < 0)