Searched refs:mmap (Results 1 - 11 of 11) sorted by relevance
/dovecot/src/lib-index/ |
H A D | mail-index-modseq.c | 36 struct mail_index_map_modseq *mmap; member in struct:mail_index_modseq_sync 133 struct mail_index_map_modseq *mmap = view->map->rec_map->modseq; local 136 if (mmap != NULL) 137 return mmap; 144 mmap = i_new(struct mail_index_map_modseq, 1); 145 i_array_init(&mmap->metadata_modseqs, 148 view->map->rec_map->modseq = mmap; 149 return mmap; 154 struct mail_index_map_modseq *mmap = mail_index_map_modseq(view); local 161 if (mmap 192 struct mail_index_map_modseq *mmap = mail_index_map_modseq(view); local 217 modseq_idx_lookup(struct mail_index_map_modseq *mmap, unsigned int idx, uint32_t seq) argument 236 struct mail_index_map_modseq *mmap = mail_index_map_modseq(view); local 262 struct mail_index_map_modseq *mmap = mail_index_map_modseq(view); local 638 mail_index_map_modseq_clone(const struct mail_index_map_modseq *mmap) argument 664 struct mail_index_map_modseq *mmap = *_mmap; local [all...] |
H A D | mail-index-modseq.h | 62 mail_index_map_modseq_clone(const struct mail_index_map_modseq *mmap); 63 void mail_index_map_modseq_free(struct mail_index_map_modseq **mmap);
|
H A D | mail-index-map-read.c | 6 #include "mmap-util.h" 47 rec_map->mmap_base = mmap(NULL, file_size, PROT_READ | PROT_WRITE, 54 "mmap(size=%"PRIuUOFF_T")", file_size)); 341 mmap isn't disabled don't use it unless the file is large enough */
|
H A D | mail-transaction-log-file.c | 10 #include "mmap-util.h" 1671 i_assert(!retry); /* retry happens only with mmap */ 1737 file->mmap_base = mmap(NULL, file->mmap_size, PROT_READ, MAP_SHARED, 1744 "mmap(size=%"PRIuSIZE_T")", file->mmap_size)); 1746 *reason_r = t_strdup_printf("mmap(size=%"PRIuSIZE_T") failed: %m", 1787 /* we are going to mmap() this file, but it's not necessarily 1813 /* size changed, re-mmap */ 1931 /* and lose the mmap */
|
/dovecot/src/lib/ |
H A D | mmap-util.c | 4 #include "mmap-util.h" 29 return mmap(NULL, *length, prot, MAP_SHARED, fd, 0);
|
H A D | mmap-anon.c | 6 #include "mmap-util.h" 39 /* mmap()ing /dev/zero should be the same with some platforms */ 42 i_fatal("Can't open /dev/zero for creating anonymous mmap: %m"); 59 the full mmap. also allocate only page-aligned mmap sizes. */ 62 base = mmap(NULL, length, PROT_READ | PROT_WRITE, 168 return mmap(NULL, length, PROT_READ | PROT_WRITE,
|
H A D | test-hash-method.c | 4 #include "mmap-util.h" 41 buf = mmap(NULL, buf_size*2, PROT_READ | PROT_WRITE,
|
H A D | istream-mmap.c | 6 #include "mmap-util.h" 85 /* more bytes available without needing to mmap() */ 114 /* don't bother even trying mmap */ 118 mmap(NULL, stream->buffer_size, PROT_READ, MAP_PRIVATE, 127 "mmap() failed: %m"); 128 i_error("mmap_istream.mmap(%s) failed: %m",
|
/dovecot/src/doveadm/ |
H A D | doveadm-dump-thread.c | 4 #include "mmap-util.h" 110 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 112 i_fatal("mmap() failed: %m");
|
/dovecot/src/plugins/fts-squat/ |
H A D | squat-uidlist.c | 12 #include "mmap-util.h" 421 uidlist->mmap_base = mmap(NULL, uidlist->mmap_size, 427 i_error("mmap(%s) failed: %m", uidlist->path);
|
H A D | squat-trie.c | 1462 trie->mmap_base = mmap(NULL, trie->mmap_size, 1468 i_error("mmap(%s) failed: %m", trie->path);
|
Completed in 24 milliseconds