/systemd-251/src/journal-remote/ |
D | journal-remote-write.c | 29 w->mmap = mmap_cache_new(); in writer_new() 30 if (!w->mmap) in writer_new() 53 if (w->mmap) in writer_free() 54 mmap_cache_unref(w->mmap); in writer_free() 75 r = do_rotate(&w->journal, w->mmap, file_flags); in writer_write() 91 r = do_rotate(&w->journal, w->mmap, file_flags); in writer_write()
|
D | journal-remote-write.h | 13 MMapCache *mmap; member
|
/systemd-251/src/basic/ |
D | memfd-util.c | 68 q = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, offset); in memfd_map() 70 q = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, offset); in memfd_map()
|
D | sigbus.c | 105 …assert_se(mmap(aligned, page_size(), PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1… in sigbus_handler()
|
D | locale-util.c | 119 p = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in add_locales_from_archive()
|
D | syscall-list.txt | 218 mmap
|
D | syscalls-alpha.txt | 218 mmap 71
|
D | syscalls-arc.txt | 218 mmap
|
D | syscalls-arm.txt | 218 mmap
|
D | syscalls-arm64.txt | 218 mmap 222
|
D | syscalls-i386.txt | 218 mmap 90
|
/systemd-251/test/test-execute/ |
D | exec-systemcallfilter-failing2.service | 9 SystemCallFilter=~write open execve fexecve execveat exit_group close mmap munmap fstat DONOTEXIST
|
D | exec-systemcallfilter-failing3.service | 10 SystemCallFilter=~write open execve fexecve execveat exit_group close mmap munmap fstat DONOTEXIST
|
/systemd-251/src/libsystemd/ |
D | meson.build | 20 'sd-journal/mmap-cache.c', 21 'sd-journal/mmap-cache.h', 205 [files('sd-journal/test-mmap-cache.c')],
|
/systemd-251/src/test/ |
D | test-sigbus.c | 41 p = mmap(NULL, page_size() * 16, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in main()
|
D | test-seccomp.c | 611 p = mmap(NULL, page_size(), PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1,0); in TEST() 615 p = mmap(NULL, page_size(), PROT_WRITE|PROT_READ, MAP_PRIVATE|MAP_ANONYMOUS, -1,0); in TEST() 621 p = mmap(NULL, page_size(), PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1,0); in TEST() 631 p = mmap(NULL, page_size(), PROT_WRITE|PROT_READ, MAP_PRIVATE|MAP_ANONYMOUS, -1,0); in TEST() 647 … log_debug("arch %s: SCMP_SYS(mmap) = %d", seccomp_arch_to_string(arch), SCMP_SYS(mmap)); in TEST()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-internal.h | 76 MMapCache *mmap; member
|
D | journal-authenticate.c | 349 m = mmap(NULL, PAGE_ALIGN(sizeof(FSSHeader)), PROT_READ, MAP_SHARED, fd, 0); in journal_file_fss_load() 393 … f->fss_file = mmap(NULL, PAGE_ALIGN(f->fss_file_size), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in journal_file_fss_load()
|
D | mmap-cache.c | 123 …assert_se(mmap(w->ptr, w->size, w->fd->prot, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1, 0) == w->ptr… in window_invalidate() 346 ptr = mmap(addr, size, f->prot, flags, f->fd, offset); in mmap_try_harder()
|
D | sd-journal.c | 1338 r = journal_file_open(fd, path, O_RDONLY, 0, 0, 0, NULL, j->mmap, NULL, &f); in add_any_file() 1922 j->mmap = mmap_cache_new(); in journal_new() 1923 if (!j->files_cache || !j->directories_by_path || !j->mmap) in journal_new() 2162 if (j->mmap) { in sd_journal_close() 2163 mmap_cache_stats_log_debug(j->mmap); in sd_journal_close() 2164 mmap_cache_unref(j->mmap); in sd_journal_close()
|
/systemd-251/src/journal/ |
D | journald-server.c | 286 s->mmap, in open_journal() 299 s->mmap, in open_journal() 492 …r = managed_journal_file_rotate(f, s->mmap, file_flags, s->compress.threshold_bytes, s->deferred_c… in do_rotate() 612 s->mmap, in vacuum_offline_user_journals() 2369 s->mmap = mmap_cache_new(); in server_init() 2370 if (!s->mmap) in server_init() 2615 mmap_cache_unref(s->mmap); in server_done()
|
D | journald-server.h | 140 MMapCache *mmap; member
|
D | journald-kmsg.c | 459 p = mmap(NULL, sizeof(uint64_t), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in server_open_kernel_seqnum()
|
/systemd-251/src/shared/ |
D | tests.c | 193 … void *p = mmap(NULL, CAN_MEMLOCK_SIZE, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_SHARED, -1, 0); in can_memlock()
|
D | seccomp-util.c | 1700 block_syscall = SCMP_SYS(mmap); in seccomp_memory_deny_write_execute() 1708 filter_syscall = SCMP_SYS(mmap); in seccomp_memory_deny_write_execute() 1723 … filter_syscall = SCMP_SYS(mmap); /* amd64, x32, arm64 and riscv64 have only mmap */ in seccomp_memory_deny_write_execute()
|