Lines Matching refs:MMapCache
39 MMapCache *cache;
59 MMapCache *cache;
67 MMapCache *cache;
73 struct MMapCache {
95 MMapCache* mmap_cache_new(void) {
96 MMapCache *m;
98 m = new0(MMapCache, 1);
106 MMapCache* mmap_cache_ref(MMapCache *m) {
174 static Window *window_add(MMapCache *m, FileDescriptor *fd, int prot, bool keep_always, uint64_t offset, size_t size, void *ptr) {
258 static Context *context_add(MMapCache *m, unsigned id) {
305 static FileDescriptor* fd_add(MMapCache *m, int fd) {
336 static void mmap_cache_free(MMapCache *m) {
357 MMapCache* mmap_cache_unref(MMapCache *m) {
371 static int make_room(MMapCache *m) {
382 MMapCache *m,
425 MMapCache *m,
470 static int mmap_try_harder(MMapCache *m, void *addr, int fd, int prot, int flags, uint64_t offset, size_t size, void **res) {
498 MMapCache *m,
579 MMapCache *m,
618 unsigned mmap_cache_get_hit(MMapCache *m) {
624 unsigned mmap_cache_get_missed(MMapCache *m) {
630 static void mmap_cache_process_sigbus(MMapCache *m) {
693 bool mmap_cache_got_sigbus(MMapCache *m, int fd) {
708 void mmap_cache_close_fd(MMapCache *m, int fd) {