/openbmc/linux/tools/testing/selftests/mm/ |
H A D | ksm_tests.c | 200 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory() 347 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge() 381 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge() 421 static int check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, in check_ksm_zero_page_merge() 486 static int check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, in check_ksm_numa_merge() 550 static int ksm_merge_hugepages_time(int merge_type, int mapping, int prot, in ksm_merge_hugepages_time() 618 static int ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_merge_time() 659 static int ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) in ksm_unmerge_time() 706 static int ksm_cow_time(int merge_type, int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | xfile.c | 134 struct address_space *mapping = inode->i_mapping; in xfile_pread() local 211 struct address_space *mapping = inode->i_mapping; in xfile_pwrite() local 326 struct address_space *mapping = inode->i_mapping; in xfile_get_page() local 398 struct address_space *mapping = inode->i_mapping; in xfile_put_page() local
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_cmdbuf.c | 65 struct etnaviv_vram_mapping *mapping, in etnaviv_cmdbuf_suballoc_map() 73 struct etnaviv_vram_mapping *mapping) in etnaviv_cmdbuf_suballoc_unmap() 137 struct etnaviv_vram_mapping *mapping) in etnaviv_cmdbuf_get_va()
|
/openbmc/linux/mm/ |
H A D | folio-compat.c | 86 int add_to_page_cache_lru(struct page *page, struct address_space *mapping, in add_to_page_cache_lru() 94 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t index, in pagecache_get_page() 106 struct page *grab_cache_page_write_begin(struct address_space *mapping, in grab_cache_page_write_begin()
|
H A D | shmem.c | 448 struct address_space *mapping = inode->i_mapping; in shmem_charge() local 473 static int shmem_replace_entry(struct address_space *mapping, in shmem_replace_entry() 495 static bool shmem_confirm_swap(struct address_space *mapping, in shmem_confirm_swap() 767 struct address_space *mapping, in shmem_add_to_page_cache() 837 struct address_space *mapping = folio->mapping; in shmem_delete_from_page_cache() local 855 static int shmem_free_swap(struct address_space *mapping, in shmem_free_swap() 874 unsigned long shmem_partial_swap_usage(struct address_space *mapping, in shmem_partial_swap_usage() 912 struct address_space *mapping = inode->i_mapping; in shmem_swap_usage() local 937 void shmem_unlock_mapping(struct address_space *mapping) in shmem_unlock_mapping() 989 struct address_space *mapping = inode->i_mapping; in shmem_undo_range() local [all …]
|
H A D | page-writeback.c | 2014 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, in balance_dirty_pages_ratelimited_flags() 2084 void balance_dirty_pages_ratelimited(struct address_space *mapping) in balance_dirty_pages_ratelimited() 2363 void tag_pages_for_writeback(struct address_space *mapping, in tag_pages_for_writeback() 2416 int write_cache_pages(struct address_space *mapping, in write_cache_pages() 2558 struct address_space *mapping = data; in writepage_cb() local 2564 int do_writepages(struct address_space *mapping, struct writeback_control *wbc) in do_writepages() 2613 bool noop_dirty_folio(struct address_space *mapping, struct folio *folio) in noop_dirty_folio() 2629 struct address_space *mapping) in folio_account_dirtied() 2683 void __folio_mark_dirty(struct folio *folio, struct address_space *mapping, in __folio_mark_dirty() 2717 bool filemap_dirty_folio(struct address_space *mapping, struct folio *folio) in filemap_dirty_folio() [all …]
|
H A D | secretmem.c | 52 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in secretmem_fault() local 149 static int secretmem_migrate_folio(struct address_space *mapping, in secretmem_migrate_folio() 171 struct address_space *mapping = inode->i_mapping; in secretmem_setattr() local
|
H A D | migrate.c | 378 static int folio_expected_refs(struct address_space *mapping, in folio_expected_refs() 400 int folio_migrate_mapping(struct address_space *mapping, in folio_migrate_mapping() 527 int migrate_huge_page_move_mapping(struct address_space *mapping, in migrate_huge_page_move_mapping() 659 int migrate_folio_extra(struct address_space *mapping, struct folio *dst, in migrate_folio_extra() 690 int migrate_folio(struct address_space *mapping, struct folio *dst, in migrate_folio() 731 static int __buffer_migrate_folio(struct address_space *mapping, in __buffer_migrate_folio() 823 int buffer_migrate_folio(struct address_space *mapping, in buffer_migrate_folio() 844 int buffer_migrate_folio_norefs(struct address_space *mapping, in buffer_migrate_folio_norefs() 852 int filemap_migrate_folio(struct address_space *mapping, in filemap_migrate_folio() 875 static int writeout(struct address_space *mapping, struct folio *folio) in writeout() [all …]
|
/openbmc/linux/fs/bfs/ |
H A D | file.c | 163 static void bfs_write_failed(struct address_space *mapping, loff_t to) in bfs_write_failed() 171 static int bfs_write_begin(struct file *file, struct address_space *mapping, in bfs_write_begin() 184 static sector_t bfs_bmap(struct address_space *mapping, sector_t block) in bfs_bmap()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | util.h | 57 struct mwifiex_dma_mapping *mapping) in mwifiex_store_mapping() 65 struct mwifiex_dma_mapping *mapping) in mwifiex_get_mapping() 74 struct mwifiex_dma_mapping mapping; in MWIFIEX_SKB_DMA_ADDR() local
|
/openbmc/linux/fs/ntfs3/ |
H A D | file.c | 103 struct address_space *mapping = inode->i_mapping; in ntfs_extend_initialized_size() local 181 struct address_space *mapping = inode->i_mapping; in ntfs_zero_range() local 256 struct address_space *mapping = file->f_mapping; in ntfs_file_mmap() local 320 struct address_space *mapping = inode->i_mapping; in ntfs_extend() local 432 struct address_space *mapping = inode->i_mapping; in ntfs_fallocate() local 807 static int ntfs_get_frame_pages(struct address_space *mapping, pgoff_t index, in ntfs_get_frame_pages() 850 struct address_space *mapping = inode->i_mapping; in ntfs_compress_write() local 1068 struct address_space *mapping = file->f_mapping; in ntfs_file_write_iter() local
|
H A D | inode.c | 704 static sector_t ntfs_bmap(struct address_space *mapping, sector_t block) in ntfs_bmap() 713 struct address_space *mapping = page->mapping; in ntfs_read_folio() local 740 struct address_space *mapping = rac->mapping; in ntfs_readahead() local 785 struct address_space *mapping = file->f_mapping; in ntfs_direct_IO() local 864 struct address_space *mapping = data; in ntfs_resident_writepage() local 882 static int ntfs_writepages(struct address_space *mapping, in ntfs_writepages() 903 int ntfs_write_begin(struct file *file, struct address_space *mapping, in ntfs_write_begin() 948 int ntfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, in ntfs_write_end() 1013 struct address_space *mapping = inode->i_mapping; in reset_log_file() local
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | check_mmap_options.c | 60 static int check_anonymous_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_anonymous_memory_mapping() 91 static int check_file_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_file_memory_mapping() 130 static int check_clear_prot_mte_flag(int mem_type, int mode, int mapping) in check_clear_prot_mte_flag()
|
/openbmc/qemu/block/ |
H A D | vvfat.c | 306 array_t fat,directory,mapping; member 747 mapping_t* mapping = array_get(&(s->mapping), mapping_index); in read_directory() local 901 mapping_t* mapping; in init_directories() local 1323 mapping_t* mapping; in find_mapping_for_cluster_aux() local 1349 mapping_t* mapping; in find_mapping_for_cluster() local 1359 static int open_file(BDRVVVFATState* s,mapping_t* mapping) in open_file() 1388 mapping_t* mapping=find_mapping_for_cluster(s,cluster_num); in read_cluster() local 1461 static void print_mapping(const mapping_t* mapping) in print_mapping() 1884 mapping_t* mapping = NULL; in get_cluster_count_for_direntry() local 2018 mapping_t* mapping = find_mapping_for_cluster(s, cluster_num); in check_directory_consistency() local [all …]
|
/openbmc/linux/fs/omfs/ |
H A D | file.c | 298 omfs_writepages(struct address_space *mapping, struct writeback_control *wbc) in omfs_writepages() 303 static void omfs_write_failed(struct address_space *mapping, loff_t to) in omfs_write_failed() 313 static int omfs_write_begin(struct file *file, struct address_space *mapping, in omfs_write_begin() 326 static sector_t omfs_bmap(struct address_space *mapping, sector_t block) in omfs_bmap()
|
/openbmc/linux/fs/hugetlbfs/ |
H A D | inode.c | 339 struct address_space *mapping = file->f_mapping; in hugetlbfs_read_iter() local 414 struct address_space *mapping, in hugetlbfs_write_begin() 421 static int hugetlbfs_write_end(struct file *file, struct address_space *mapping, in hugetlbfs_write_end() 495 struct address_space *mapping, in hugetlb_unmap_file_folio() 614 struct address_space *mapping, in remove_inode_single_folio() 674 struct address_space *mapping = &inode->i_data; in remove_inode_hugepages() local 732 struct address_space *mapping = inode->i_mapping; in hugetlb_vmtruncate() local 748 struct address_space *mapping, in hugetlbfs_zero_partial_page() 773 struct address_space *mapping = inode->i_mapping; in hugetlbfs_punch_hole() local 828 struct address_space *mapping = inode->i_mapping; in hugetlbfs_fallocate() local [all …]
|
/openbmc/linux/fs/freevxfs/ |
H A D | vxfs_subr.c | 44 vxfs_get_page(struct address_space *mapping, u_long n) in vxfs_get_page() 149 vxfs_bmap(struct address_space *mapping, sector_t block) in vxfs_bmap()
|
/openbmc/linux/arch/arm/mm/ |
H A D | flush.c | 199 void __flush_dcache_folio(struct address_space *mapping, struct folio *folio) in __flush_dcache_folio() 238 static void __flush_dcache_aliases(struct address_space *mapping, struct folio *folio) in __flush_dcache_aliases() 289 struct address_space *mapping; in __sync_icache_dcache() local 336 struct address_space *mapping; in flush_dcache_folio() local
|
/openbmc/linux/fs/hfsplus/ |
H A D | inode.c | 36 static void hfsplus_write_failed(struct address_space *mapping, loff_t to) in hfsplus_write_failed() 46 int hfsplus_write_begin(struct file *file, struct address_space *mapping, in hfsplus_write_begin() 61 static sector_t hfsplus_bmap(struct address_space *mapping, sector_t block) in hfsplus_bmap() 130 struct address_space *mapping = file->f_mapping; in hfsplus_direct_IO() local 152 static int hfsplus_writepages(struct address_space *mapping, in hfsplus_writepages()
|
H A D | bitmap.c | 24 struct address_space *mapping; in hfsplus_block_allocate() local 168 struct address_space *mapping; in hfsplus_block_free() local
|
/openbmc/linux/fs/hfs/ |
H A D | inode.c | 42 static void hfs_write_failed(struct address_space *mapping, loff_t to) in hfs_write_failed() 52 int hfs_write_begin(struct file *file, struct address_space *mapping, in hfs_write_begin() 67 static sector_t hfs_bmap(struct address_space *mapping, sector_t block) in hfs_bmap() 133 struct address_space *mapping = file->f_mapping; in hfs_direct_IO() local 155 static int hfs_writepages(struct address_space *mapping, in hfs_writepages()
|
/openbmc/linux/fs/adfs/ |
H A D | inode.c | 46 static void adfs_write_failed(struct address_space *mapping, loff_t to) in adfs_write_failed() 54 static int adfs_write_begin(struct file *file, struct address_space *mapping, in adfs_write_begin() 70 static sector_t _adfs_bmap(struct address_space *mapping, sector_t block) in _adfs_bmap()
|
/openbmc/linux/fs/nilfs2/ |
H A D | dir.c | 90 struct address_space *mapping, in nilfs_commit_chunk() 192 struct address_space *mapping = dir->i_mapping; in nilfs_get_page() local 452 struct address_space *mapping = page->mapping; in nilfs_set_link() local 572 struct address_space *mapping = page->mapping; in nilfs_delete_entry() local 615 struct address_space *mapping = inode->i_mapping; in nilfs_make_empty() local
|
/openbmc/linux/fs/ |
H A D | buffer.c | 577 int sync_mapping_buffers(struct address_space *mapping) in sync_mapping_buffers() 678 struct address_space *mapping = inode->i_mapping; in mark_buffer_dirty_inode() local 722 bool block_dirty_folio(struct address_space *mapping, struct folio *folio) in block_dirty_folio() 780 struct address_space *mapping; in fsync_buffers_list() local 867 struct address_space *mapping = &inode->i_data; in invalidate_inode_buffers() local 890 struct address_space *mapping = &inode->i_data; in remove_inode_buffers() local 1206 struct address_space *mapping = NULL; in mark_buffer_dirty() local 2223 int block_write_begin(struct address_space *mapping, loff_t pos, unsigned len, in block_write_begin() 2246 int block_write_end(struct file *file, struct address_space *mapping, in block_write_end() 2280 int generic_write_end(struct file *file, struct address_space *mapping, in generic_write_end() [all …]
|
/openbmc/linux/include/linux/ |
H A D | shmem_fs.h | 97 static inline bool shmem_mapping(struct address_space *mapping) in shmem_mapping() 102 static inline bool shmem_mapping(struct address_space *mapping) in shmem_mapping() 149 static inline struct folio *shmem_read_folio(struct address_space *mapping, in shmem_read_folio() 156 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
|