• Home
  • Raw
  • Download

Lines Matching refs:mapping

337 	struct address_space *mapping = file->f_mapping;  in hugetlbfs_read_iter()  local
338 struct inode *inode = mapping->host; in hugetlbfs_read_iter()
365 page = find_lock_page(mapping, index); in hugetlbfs_read_iter()
396 struct address_space *mapping, in hugetlbfs_write_begin() argument
403 static int hugetlbfs_write_end(struct file *file, struct address_space *mapping, in hugetlbfs_write_end() argument
480 struct address_space *mapping = &inode->i_data; in remove_inode_hugepages() local
497 if (!pagevec_lookup_range(&pvec, mapping, &next, end - 1)) in remove_inode_hugepages()
505 hash = hugetlb_fault_mutex_hash(mapping, index); in remove_inode_hugepages()
529 i_mmap_lock_write(mapping); in remove_inode_hugepages()
531 hugetlb_vmdelete_list(&mapping->i_mmap, in remove_inode_hugepages()
534 i_mmap_unlock_write(mapping); in remove_inode_hugepages()
590 struct address_space *mapping = inode->i_mapping; in hugetlb_vmtruncate() local
596 i_mmap_lock_write(mapping); in hugetlb_vmtruncate()
598 if (!RB_EMPTY_ROOT(&mapping->i_mmap.rb_root)) in hugetlb_vmtruncate()
599 hugetlb_vmdelete_list(&mapping->i_mmap, pgoff, 0); in hugetlb_vmtruncate()
600 i_mmap_unlock_write(mapping); in hugetlb_vmtruncate()
619 struct address_space *mapping = inode->i_mapping; in hugetlbfs_punch_hole() local
630 i_mmap_lock_write(mapping); in hugetlbfs_punch_hole()
631 if (!RB_EMPTY_ROOT(&mapping->i_mmap.rb_root)) in hugetlbfs_punch_hole()
632 hugetlb_vmdelete_list(&mapping->i_mmap, in hugetlbfs_punch_hole()
635 i_mmap_unlock_write(mapping); in hugetlbfs_punch_hole()
648 struct address_space *mapping = inode->i_mapping; in hugetlbfs_fallocate() local
724 hash = hugetlb_fault_mutex_hash(mapping, index); in hugetlbfs_fallocate()
728 page = find_get_page(mapping, index); in hugetlbfs_fallocate()
746 error = huge_add_to_page_cache(page, mapping, index); in hugetlbfs_fallocate()
976 static int hugetlbfs_migrate_page(struct address_space *mapping, in hugetlbfs_migrate_page() argument
982 rc = migrate_huge_page_move_mapping(mapping, newpage, page); in hugetlbfs_migrate_page()
1005 static int hugetlbfs_error_remove_page(struct address_space *mapping, in hugetlbfs_error_remove_page() argument
1008 struct inode *inode = mapping->host; in hugetlbfs_error_remove_page()