Home
last modified time | relevance | path

Searched refs:host (Results 1 – 19 of 19) sorted by relevance

/mm/
Dcleancache.c188 pool_id = page->mapping->host->i_sb->cleancache_poolid; in __cleancache_get_page()
192 if (cleancache_get_key(page->mapping->host, &key) < 0) in __cleancache_get_page()
226 pool_id = page->mapping->host->i_sb->cleancache_poolid; in __cleancache_put_page()
228 cleancache_get_key(page->mapping->host, &key) >= 0) { in __cleancache_put_page()
247 int pool_id = mapping->host->i_sb->cleancache_poolid; in __cleancache_invalidate_page()
255 if (cleancache_get_key(mapping->host, &key) >= 0) { in __cleancache_invalidate_page()
275 int pool_id = mapping->host->i_sb->cleancache_poolid; in __cleancache_invalidate_inode()
281 if (pool_id >= 0 && cleancache_get_key(mapping->host, &key) >= 0) in __cleancache_invalidate_inode()
Ddebug.c114 struct inode *host; in __dump_page() local
125 if (get_kernel_nofault(host, &mapping->host) || in __dump_page()
131 if (!host) { in __dump_page()
136 if (get_kernel_nofault(dentry_first, &host->i_dentry.first) || in __dump_page()
137 get_kernel_nofault(ino, &host->i_ino)) { in __dump_page()
139 a_ops, host); in __dump_page()
Dpage-writeback.c1880 struct inode *inode = mapping->host; in balance_dirty_pages_ratelimited()
2256 trace_wbc_writepage(wbc, inode_to_bdi(mapping->host)); in write_cache_pages()
2362 wb = inode_to_wb_wbc(mapping->host, wbc); in do_writepages()
2446 struct inode *inode = mapping->host; in account_page_dirtied()
2534 if (mapping->host) { in __set_page_dirty_nobuffers()
2536 __mark_inode_dirty(mapping->host, I_DIRTY_PAGES); in __set_page_dirty_nobuffers()
2557 struct inode *inode = mapping->host; in account_page_redirty()
2660 struct inode *inode = mapping->host; in __cancel_dirty_page()
2700 struct inode *inode = mapping->host; in clear_page_dirty_for_io()
2782 struct inode *inode = mapping->host; in test_clear_page_writeback()
[all …]
Dreadahead.c37 ra->ra_pages = inode_to_bdi(mapping->host)->ra_pages; in file_ra_state_init()
265 struct inode *inode = ractl->mapping->host; in do_page_cache_ra()
292 struct backing_dev_info *bdi = inode_to_bdi(mapping->host); in force_page_cache_ra()
452 struct backing_dev_info *bdi = inode_to_bdi(ractl->mapping->host); in ondemand_readahead()
617 if (inode_read_congested(ractl->mapping->host)) in page_cache_async_ra()
Dfadvise.c50 bdi = inode_to_bdi(mapping->host); in generic_fadvise()
112 if (!inode_write_congested(mapping->host)) in generic_fadvise()
Dfilemap.c221 account_page_cleaned(page, mapping, inode_to_wb(mapping->host)); in unaccount_page_cache_page()
403 wbc_attach_fdatawrite_inode(wbc, mapping->host); in filemap_fdatawrite_wbc()
2415 if (mapping->host->i_blkbits >= (PAGE_SHIFT + thp_order(page))) in filemap_range_uptodate()
2613 struct inode *inode = mapping->host; in filemap_read()
2759 struct inode *inode = mapping->host; in generic_file_read_iter()
2808 size_t offset, bsz = i_blocksize(mapping->host); in page_seek_hole_data()
3068 struct inode *inode = mapping->host; in filemap_fault()
3327 max_idx = DIV_ROUND_UP(i_size_read(mapping->host), PAGE_SIZE); in next_uptodate_page()
3428 sb_start_pagefault(mapping->host->i_sb); in filemap_page_mkwrite()
3444 sb_end_pagefault(mapping->host->i_sb); in filemap_page_mkwrite()
[all …]
Dkhugepaged.c1755 if (!shmem_charge(mapping->host, 1)) { in collapse_file()
1767 if (shmem_getpage(mapping->host, index, &page, in collapse_file()
1922 if (inode_is_open_for_write(mapping->host)) { in collapse_file()
1990 shmem_uncharge(mapping->host, nr_none); in collapse_file()
Dpage_io.c83 struct inode *inode = mapping->host; in generic_swapfile_activate()
Dhuge_memory.c585 if (!IS_DAX(filp->f_mapping->host) || !IS_ENABLED(CONFIG_FS_DAX_PMD)) in thp_get_unmapped_area()
2461 shmem_uncharge(head->mapping->host, 1); in __split_huge_page()
2692 end = DIV_ROUND_UP(i_size_read(mapping->host), PAGE_SIZE); in split_huge_page_to_list()
2694 end = shmem_fallocend(mapping->host, end); in split_huge_page_to_list()
Dtruncate.c234 if (!S_ISREG(mapping->host->i_mode)) in generic_error_remove_page()
Dshmem.c1369 inode = mapping->host; in shmem_writepage()
2464 struct inode *inode = mapping->host; in shmem_write_begin()
2498 struct inode *inode = mapping->host; in shmem_write_end()
2648 struct inode *inode = mapping->host; in shmem_file_llseek()
4247 struct inode *inode = mapping->host; in shmem_read_mapping_page_gfp()
Dmemory-failure.c139 if (mapping == NULL || mapping->host == NULL) in hwpoison_filter_dev()
142 dev = mapping->host->i_sb->s_dev; in hwpoison_filter_dev()
Dhugetlb.c967 struct inode *inode = mapping->host; in vma_resv_map()
4840 struct inode *inode = mapping->host; in huge_add_to_page_cache()
4925 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_no_page()
5353 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_mcopy_atomic_pte()
5386 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_mcopy_atomic_pte()
Dswapfile.c2392 struct inode *inode = mapping->host; in setup_swap_extents()
2674 inode = mapping->host; in SYSCALL_DEFINE1()
3187 inode = mapping->host; in SYSCALL_DEFINE2()
Dmadvise.c934 if (!f || !f->f_mapping || !f->f_mapping->host) { in madvise_remove()
DKconfig232 memory can be freed within the host for other uses.
Dvmscan.c1086 if (!may_write_to_inode(mapping->host)) in pageout()
1484 inode_write_congested(mapping->host)) || in shrink_page_list()
Dmmap.c1515 if (IS_SWAPFILE(file->f_mapping->host)) in do_mmap()
Dmemory.c3041 IS_SWAPFILE(vmf->vma->vm_file->f_mapping->host)) in do_page_mkwrite()