Home
last modified time | relevance | path

Searched refs:page_mapping (Results 1 – 25 of 37) sorted by relevance

12

/kernel/liteos_a/kernel/base/include/
Dlos_vm_filemap.h61 struct page_mapping *mapping;
194 LosFilePage *OsPageCacheAlloc(struct page_mapping *mapping, VM_OFFSET_T pgoff);
195 LosFilePage *OsFindGetEntry(struct page_mapping *mapping, VM_OFFSET_T pgoff);
199 VOID OsFileCacheFlush(struct page_mapping *mapping);
200 VOID OsFileCacheRemove(struct page_mapping *mapping);
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_filemap.c72 STATIC VOID OsPageCacheAdd(LosFilePage *page, struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsPageCacheAdd()
89 VOID OsAddToPageacheLru(LosFilePage *page, struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsAddToPageacheLru()
176 struct page_mapping *mapping = NULL; in OsVmmFileRemove()
319 STATIC VOID OsReleaseFpage(struct page_mapping *mapping, LosFilePage *fpage) in OsReleaseFpage()
337 struct page_mapping *mapping = NULL; in OsDelMapInfo()
374 struct page_mapping *mapping = NULL; in OsVmmFileFault()
434 VOID OsFileCacheFlush(struct page_mapping *mapping) in OsFileCacheFlush()
463 VOID OsFileCacheRemove(struct page_mapping *mapping) in OsFileCacheRemove()
541 LosFilePage *OsFindGetEntry(struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsFindGetEntry()
559 LosFilePage *OsPageCacheAlloc(struct page_mapping *mapping, VM_OFFSET_T pgoff) in OsPageCacheAlloc()
/kernel/liteos_a/fs/proc/os_adapt/
Dfs_cache_proc.c102 static int PageCacheEntryProcess(struct SeqBuf *buf, struct page_mapping *mapping) in PageCacheEntryProcess()
123 struct page_mapping *mapping = NULL; in PageCacheMapProcess()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init_ops.h622 BNX2X_ILT_FREE(line->page, line->page_mapping, line->size); in bnx2x_ilt_line_mem_op()
625 BNX2X_ILT_ZALLOC(line->page, &line->page_mapping, size); in bnx2x_ilt_line_mem_op()
679 dma_addr_t page_mapping) in bnx2x_ilt_line_wr() argument
688 bnx2x_wr_64(bp, reg, ILT_ADDR1(page_mapping), ILT_ADDR2(page_mapping)); in bnx2x_ilt_line_wr()
702 bnx2x_ilt_line_wr(bp, abs_idx, ilt->lines[idx].page_mapping); in bnx2x_ilt_line_init_op()
Dbnx2x_init.h503 dma_addr_t page_mapping; member
/kernel/linux/linux-5.10/mm/
Dmemory-failure.c123 mapping = page_mapping(p); in hwpoison_filter_dev()
695 mapping = page_mapping(p); in me_pagecache_clean()
718 struct address_space *mapping = page_mapping(p); in me_pagecache_dirty()
819 mapping = page_mapping(hpage); in me_huge_page()
1033 mapping = page_mapping(hpage); in hwpoison_user_mappings()
1653 if (page_mapping(page)) { in unpoison_memory()
Dpage-writeback.c2472 struct address_space *mapping = page_mapping(page); in __set_page_dirty_nobuffers()
2481 BUG_ON(page_mapping(page) != mapping); in __set_page_dirty_nobuffers()
2554 struct address_space *mapping = page_mapping(page); in set_page_dirty()
2621 struct address_space *mapping = page_mapping(page); in __cancel_dirty_page()
2658 struct address_space *mapping = page_mapping(page); in clear_page_dirty_for_io()
2719 struct address_space *mapping = page_mapping(page); in test_clear_page_writeback()
2763 struct address_space *mapping = page_mapping(page); in __test_set_page_writeback()
2825 trace_wait_on_page_writeback(page, page_mapping(page)); in wait_on_page_writeback()
Dutil.c681 struct address_space *page_mapping(struct page *page) in page_mapping() function
704 EXPORT_SYMBOL(page_mapping);
713 return page_mapping(page); in page_mapping_file()
Ddebug.c92 mapping = page_mapping(page); in __dump_page()
Dmigrate.c126 mapping = page_mapping(page); in isolate_movable_page()
156 mapping = page_mapping(page); in putback_movable_page()
961 mapping = page_mapping(page); in move_to_new_page()
1327 if (page_private(hpage) && !page_mapping(hpage)) { in unmap_and_move_huge_page()
2568 if (page_mapping(page)) in migrate_vma_check_page()
3035 mapping = page_mapping(page); in migrate_vma_pages()
Dvmscan.c694 if (page_mapping(page) == mapping) in handle_write_error()
797 BUG_ON(mapping != page_mapping(page)); in __remove_mapping()
1004 mapping = page_mapping(page); in page_check_dirty_writeback()
1076 mapping = page_mapping(page); in shrink_page_list()
1217 mapping = page_mapping(page); in shrink_page_list()
1316 mapping = page_mapping(page); in shrink_page_list()
1531 mapping = page_mapping(page); in __isolate_lru_page()
Drmap.c1007 mapping = page_mapping(page); in page_mkclean()
1232 if (PageTransCompound(page) && page_mapping(page)) { in page_add_file_rmap()
1928 struct address_space *mapping = page_mapping(page); in rmap_walk_file()
Dinternal.h203 ret = !mapping_unevictable(page_mapping(page)) && !PageMlocked(page); in page_evictable()
Dcompaction.c122 mapping = page_mapping(page); in PageMovable()
963 if (!page_mapping(page) && in isolate_migratepages_block()
971 if (!(cc->gfp_mask & __GFP_FS) && page_mapping(page)) in isolate_migratepages_block()
Dzsmalloc.c1870 __SetPageMovable(newpage, page_mapping(oldpage)); in replace_sub_page()
1897 mapping = page_mapping(page); in zs_page_isolate()
2072 mapping = page_mapping(page); in zs_page_putback()
Dtruncate.c254 struct address_space *mapping = page_mapping(page); in invalidate_inode_page()
Dfilemap.c269 struct address_space *mapping = page_mapping(page); in delete_from_page_cache()
1526 mapping = page_mapping(page); in page_endio()
Dshmem.c951 page_mapping(page) == mapping) { in shmem_undo_range()
1029 if (page_mapping(page) != mapping) { in shmem_undo_range()
1637 swap_mapping = page_mapping(oldpage); in shmem_replace_page()
/kernel/liteos_a/fs/vfs/include/
Dvnode.h129 struct page_mapping mapping; /* page mapping of the vnode */
/kernel/linux/linux-5.10/fs/crypto/
Dinline_crypt.c270 mapping = page_mapping(page); in bh_get_inode_and_lblk_num()
/kernel/linux/linux-5.10/arch/s390/kernel/
Duv.c176 } else if (page_mapping(page)) { in expected_page_refs()
/kernel/linux/linux-5.10/include/trace/events/
Dwriteback.h252 struct address_space *mapping = page_mapping(page);
/kernel/linux/linux-5.10/include/linux/
Dmemcontrol.h867 if (!PageUnevictable(page) && !PageSwapBacked(page) && page_mapping(page)) in is_file_page()
Dmm.h1584 extern struct address_space *page_mapping(struct page *page);
1611 struct address_space *page_mapping(struct page *page);
/kernel/linux/linux-5.10/fs/
Dbuffer.c644 struct address_space *mapping = page_mapping(page); in __set_page_dirty_buffers()
1135 mapping = page_mapping(page); in mark_buffer_dirty()

12