Home
last modified time | relevance | path

Searched refs:filemap (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/tools/testing/selftests/mm/
Dhugetlb-read-hwpoison.c42 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 …]
Dhugetlb-soft-offline.c37 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-6.12.1/drivers/md/
Dmd-bitmap.c176 struct page **filemap; member
225 return bitmap->storage.filemap && in __bitmap_enabled()
638 struct page *page = store->filemap[pg_index]; in filemap_write_page()
1005 return store->filemap[file_page_index(store, chunk)]; in filemap_get_page()
1023 store->filemap = kmalloc_array(num_pages, sizeof(struct page *), in md_bitmap_storage_alloc()
1025 if (!store->filemap) in md_bitmap_storage_alloc()
1036 store->filemap[0] = store->sb_page; in md_bitmap_storage_alloc()
1042 store->filemap[pnum] = alloc_page(GFP_KERNEL|__GFP_ZERO); in md_bitmap_storage_alloc()
1043 if (!store->filemap[pnum]) { in md_bitmap_storage_alloc()
1067 struct page **map = store->filemap; in md_bitmap_file_unmap()
[all …]
/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Dmm-api.rst73 mm/filemap.c
/linux-6.12.1/include/trace/events/
Dfilemap.h3 #define TRACE_SYSTEM filemap
/linux-6.12.1/Documentation/core-api/
Dmm-api.rst61 .. kernel-doc:: mm/filemap.c
/linux-6.12.1/mm/
DMakefile51 obj-y := filemap.o mempool.o oom_kill.o fadvise.o \
/linux-6.12.1/Documentation/mm/
Dallocation-profiling.rst41 6.0M 1532 mm/filemap.c:1919 func:__filemap_get_folio
/linux-6.12.1/Documentation/filesystems/
Dvfs.rst722 The Writeback tag is used by filemap*wait* and sync_page* functions, via
Dproc.rst987 11718656 2861 mm/filemap.c:1919 func:__filemap_get_folio
/linux-6.12.1/
DMAINTAINERS17448 F: mm/filemap.c