Searched refs:filemap (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/mm/ |
| H A D | hugetlb-read-hwpoison.c | 42 static int setup_filemap(char *filemap, size_t len, size_t wr_chunk_size) in setup_filemap() argument 49 memset(filemap + offset, iter, wr_chunk_size); in setup_filemap() 142 char *filemap = NULL; in test_hugetlb_read() local 149 filemap = mmap(NULL, len, PROT_READ | PROT_WRITE, in test_hugetlb_read() 151 if (filemap == MAP_FAILED) { in test_hugetlb_read() 156 setup_filemap(filemap, len, wr_chunk_size); in test_hugetlb_read() 162 munmap(filemap, len); in test_hugetlb_read() 177 char *filemap = NULL; in test_hugetlb_read_hwpoison() local 186 filemap = mmap(NULL, len, PROT_READ | PROT_WRITE, in test_hugetlb_read_hwpoison() 188 if (filemap == MAP_FAILED) { in test_hugetlb_read_hwpoison() [all …]
|
| H A D | hugetlb-soft-offline.c | 37 char *filemap = NULL; in do_soft_offline() local 47 filemap = mmap(NULL, len, PROT_READ | PROT_WRITE, in do_soft_offline() 49 if (filemap == MAP_FAILED) { in do_soft_offline() 55 memset(filemap, 0xab, len); in do_soft_offline() 58 hwp_addr = filemap + len / 2; in do_soft_offline() 73 munmap(filemap, len); in do_soft_offline()
|
| /linux/drivers/md/ |
| H A D | md-bitmap.c | 179 struct page **filemap; member 240 bitmap->storage.filemap != NULL; in bitmap_enabled() 643 struct page *page = store->filemap[pg_index]; in filemap_write_page() 1010 return store->filemap[file_page_index(store, chunk)]; in filemap_get_page() 1028 store->filemap = kmalloc_objs(struct page *, num_pages); in md_bitmap_storage_alloc() 1029 if (!store->filemap) in md_bitmap_storage_alloc() 1040 store->filemap[0] = store->sb_page; in md_bitmap_storage_alloc() 1046 store->filemap[pnum] = alloc_page(GFP_KERNEL|__GFP_ZERO); in md_bitmap_storage_alloc() 1047 if (!store->filemap[pnum]) { in md_bitmap_storage_alloc() 1071 struct page **map = store->filemap; in md_bitmap_file_unmap() [all …]
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | mm-api.rst | 73 mm/filemap.c
|
| /linux/include/trace/events/ |
| H A D | filemap.h | 3 #define TRACE_SYSTEM filemap
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | nfsd-io-modes.rst | 62 - Overview: 9ad6344568cc3 ("mm/filemap: change filemap_create_folio() 64 - for READ: 8026e49bff9b1 ("mm/filemap: add read support for
|
| /linux/mm/ |
| H A D | Makefile | 51 obj-y := filemap.o mempool.o oom_kill.o fadvise.o \
|
| /linux/Documentation/mm/ |
| H A D | allocation-profiling.rst | 56 6.0M 1532 mm/filemap.c:1919 func:__filemap_get_folio
|
| /linux/ |
| H A D | MAINTAINERS | 19957 F: mm/filemap.c
|