Searched defs:dest_offset (Results 1 - 2 of 2) sorted by relevance
/dovecot/src/lib/ |
H A D | file-cache.c | 107 size_t poffset, psize, dest_offset, dest_size; local 153 dest_offset = poffset * page_size; 154 dest = PTR_OFFSET(cache->mmap_base, dest_offset); 160 dest_offset += page_size; 161 if (dest_offset <= cache->read_highwater) { 179 dest_offset -= page_size; 182 ret = pread(cache->fd, dest, dest_size, dest_offset); 190 if (dest_offset == cache->read_highwater) { 196 return dest_offset <= offset ? 0 : 197 dest_offset [all...] |
/dovecot/src/lib-storage/index/mbox/ |
H A D | mbox-sync-rewrite.c | 408 uoff_t offset, dest_offset; local 467 dest_offset = offset + move_diff; 469 if (mbox_move(sync_ctx, dest_offset, offset, end_offset - offset) < 0) 474 i_assert(dest_offset >= str_len(mail_ctx->header)); 475 dest_offset -= str_len(mail_ctx->header); 476 i_assert(dest_offset >= mails[idx].from_offset - expunged_space); 478 str_len(mail_ctx->header), dest_offset) < 0) { 485 mbox_sync_first_mail_written(mail_ctx, dest_offset); 489 mails[idx].offset = dest_offset + 501 uoff_t offset, dest_offset, next_end_offse local [all...] |
Completed in 11 milliseconds