Lines Matching refs:mapping
223 struct address_space *mapping = file->f_mapping; in hugetlbfs_read_iter() local
224 struct inode *inode = mapping->host; in hugetlbfs_read_iter()
251 page = find_lock_page(mapping, index); in hugetlbfs_read_iter()
282 struct address_space *mapping, in hugetlbfs_write_begin() argument
289 static int hugetlbfs_write_end(struct file *file, struct address_space *mapping, in hugetlbfs_write_end() argument
307 struct address_space *mapping = &inode->i_data; in truncate_hugepages() local
316 if (!pagevec_lookup(&pvec, mapping, next, PAGEVEC_SIZE)) { in truncate_hugepages()
336 BUG_ON(!lstart && mapping->nrpages); in truncate_hugepages()
379 struct address_space *mapping = inode->i_mapping; in hugetlb_vmtruncate() local
386 i_mmap_lock_write(mapping); in hugetlb_vmtruncate()
387 if (!RB_EMPTY_ROOT(&mapping->i_mmap)) in hugetlb_vmtruncate()
388 hugetlb_vmtruncate_list(&mapping->i_mmap, pgoff); in hugetlb_vmtruncate()
389 i_mmap_unlock_write(mapping); in hugetlb_vmtruncate()
573 static int hugetlbfs_migrate_page(struct address_space *mapping, in hugetlbfs_migrate_page() argument
579 rc = migrate_huge_page_move_mapping(mapping, newpage, page); in hugetlbfs_migrate_page()