Searched refs:prot (Results 1 - 4 of 4) sorted by relevance

/systemd/src/journal/
H A Dmmap-cache.h37 int prot,
H A Dmmap-cache.c45 int prot; member in struct:Window
149 assert_se(mmap(w->ptr, w->size, w->prot, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1, 0) == w->ptr);
161 _pure_ static bool window_matches(Window *w, int fd, int prot, uint64_t offset, size_t size) { argument
169 prot == w->prot &&
174 static Window *window_add(MMapCache *m, FileDescriptor *fd, int prot, bool keep_always, uint64_t offset, size_t size, void *ptr) { argument
197 w->prot = prot;
384 int prot,
408 if (!window_matches(c->window, fd, prot, offse
381 try_context( MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, size_t size, void **ret) argument
424 find_mmap( MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, size_t size, void **ret) argument
470 mmap_try_harder(MMapCache *m, void *addr, int fd, int prot, int flags, uint64_t offset, size_t size, void **res) argument
497 add_mmap( MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, size_t size, struct stat *st, void **ret) argument
578 mmap_cache_get( MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, size_t size, struct stat *st, void **ret) argument
[all...]
H A Djournal-file.h72 int prot; member in struct:JournalFile
H A Djournal-file.c479 return mmap_cache_get(f->mmap, f->fd, f->prot, type_to_context(type), keep_always, offset, size, &f->last_stat, ret);
2740 f->prot = prot_from_flags(flags);
2825 r = mmap_cache_get(f->mmap, f->fd, f->prot, CONTEXT_HEADER, true, 0, PAGE_ALIGN(sizeof(Header)), &f->last_stat, &h);

Completed in 40 milliseconds