Searched defs:file_id (Results 1 - 9 of 9) sorted by relevance

/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-file.h10 uint32_t file_id; member in struct:mdbox_file
15 mdbox_file_init(struct mdbox_storage *storage, uint32_t file_id);
20 int mdbox_file_assign_file_id(struct mdbox_file *file, uint32_t file_id);
H A Dmdbox-map.h21 uint32_t file_id; member in struct:mdbox_map_mail_index_record
50 /* Look up file_id and offset for given map UID. Returns 1 if ok, 0 if UID
68 int mdbox_map_get_file_msgs(struct mdbox_map *map, uint32_t file_id,
104 int mdbox_map_remove_file_id(struct mdbox_map *map, uint32_t file_id);
H A Dmdbox-mail.c75 uint32_t file_id; local
79 &file_id, &mail->offset)) <= 0) {
89 mail->open_file = mdbox_file_init(mbox->storage, file_id);
134 if (mfile->file_id == prev_file_id) {
138 prev_file_id = mfile->file_id;
H A Dmdbox-file.c28 mdbox_find_and_move_open_file(struct mdbox_storage *storage, uint32_t file_id) argument
35 if (files[i]->file_id == file_id)
138 uint32_t file_id, bool alt_dir)
144 file = file_id == 0 ? NULL :
145 mdbox_find_and_move_open_file(storage, file_id);
160 file->file_id = file_id;
161 fname = file_id == 0 ? dbox_generate_tmp_filename() :
162 t_strdup_printf(MDBOX_MAIL_FILE_FORMAT, file_id);
137 mdbox_file_init_full(struct mdbox_storage *storage, uint32_t file_id, bool alt_dir) argument
176 mdbox_file_init(struct mdbox_storage *storage, uint32_t file_id) argument
187 mdbox_file_assign_file_id(struct mdbox_file *file, uint32_t file_id) argument
[all...]
H A Dmdbox-save.c56 uint32_t file_id; local
62 &file_id, offset_r) < 0)
65 return mdbox_file_init(ctx->mbox->storage, file_id);
H A Dmdbox-purge.c291 uint32_t file_id)
326 if (mdbox_map_get_file_msgs(dstorage->map, file_id,
410 /* assign new file_id + offset to moved messages */
426 if (mdbox_map_remove_file_id(ctx->storage->map, file_id) < 0)
501 unsigned int file_id; local
533 &file_id) < 0)
538 seq_range_array_add(&ctx->primary_file_ids, file_id);
602 seq_range_exists(&ctx->primary_file_ids, cur_rec.file_id)) {
609 cur_rec.file_id);
629 &cur_rec.file_id,
290 mdbox_file_purge(struct mdbox_purge_context *ctx, struct dbox_file *file, uint32_t file_id) argument
654 uint32_t file_id; local
[all...]
H A Dmdbox-storage-rebuild.c28 uint32_t file_id; member in struct:mdbox_rebuild_msg
106 if ((*m1)->file_id < (*m2)->file_id)
108 if ((*m1)->file_id > (*m2)->file_id)
143 struct dbox_file *file, uint32_t file_id)
196 rec->file_id = file_id;
224 old_rec->file_id, old_rec->offset, old_rec->mail_size,
225 rec->file_id, re
142 rebuild_file_mails(struct mdbox_storage_rebuild_context *ctx, struct dbox_file *file, uint32_t file_id) argument
266 uint32_t file_id; local
[all...]
H A Dmdbox-map.c285 if (rec == NULL || rec->file_id == 0) {
287 mdbox_map_set_corrupted(map, "file_id=0 for map_uid=%u", uid);
322 *file_id_r = rec->file_id;
405 int mdbox_map_get_file_msgs(struct mdbox_map *map, uint32_t file_id, argument
422 if (rec.rec.file_id == file_id) {
464 seq_range_array_add(file_ids_r, rec->file_id);
702 int mdbox_map_remove_file_id(struct mdbox_map *map, uint32_t file_id) argument
730 if (rec->file_id == file_id) {
903 mdbox_map_is_appending(struct mdbox_map_append_context *ctx, uint32_t file_id) argument
970 uint32_t file_id; local
1223 uint32_t first_file_id, file_id, existing_id; local
[all...]
/dovecot/src/doveadm/
H A Ddoveadm-dump-index.c120 uint32_t file_id; member in struct:mdbox_mail_index_map_record
686 printf(" : file_id = %u\n", mrec->file_id);

Completed in 31 milliseconds