Lines Matching refs:blkaddr
843 block_t blkaddr) in f2fs_end_read_compressed_page() argument
853 else if (blkaddr) in f2fs_end_read_compressed_page()
855 dic->inode->i_ino, blkaddr); in f2fs_end_read_compressed_page()
941 block_t blkaddr = data_blkaddr(dn->inode, dn->node_page, in f2fs_sanity_check_cluster() local
945 if (blkaddr == COMPRESS_ADDR) { in f2fs_sanity_check_cluster()
950 if (!__is_valid_data_blkaddr(blkaddr)) { in f2fs_sanity_check_cluster()
997 block_t blkaddr; in __f2fs_cluster_blocks() local
999 blkaddr = data_blkaddr(dn.inode, in __f2fs_cluster_blocks()
1002 if (__is_valid_data_blkaddr(blkaddr)) in __f2fs_cluster_blocks()
1005 if (blkaddr != NULL_ADDR) in __f2fs_cluster_blocks()
1344 block_t blkaddr; in f2fs_write_compressed_pages() local
1346 blkaddr = f2fs_data_blkaddr(&dn); in f2fs_write_compressed_pages()
1348 fio.old_blkaddr = blkaddr; in f2fs_write_compressed_pages()
1352 if (blkaddr == COMPRESS_ADDR) in f2fs_write_compressed_pages()
1354 if (__is_valid_data_blkaddr(blkaddr)) in f2fs_write_compressed_pages()
1355 f2fs_invalidate_blocks(sbi, blkaddr); in f2fs_write_compressed_pages()
1360 if (fio.compr_blocks && __is_valid_data_blkaddr(blkaddr)) in f2fs_write_compressed_pages()
1364 if (__is_valid_data_blkaddr(blkaddr)) { in f2fs_write_compressed_pages()
1365 f2fs_invalidate_blocks(sbi, blkaddr); in f2fs_write_compressed_pages()
1371 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
1757 block_t blkaddr = data_blkaddr(dn->inode, dn->node_page, in f2fs_cluster_blocks_are_contiguous() local
1760 if (!__is_valid_data_blkaddr(blkaddr)) in f2fs_cluster_blocks_are_contiguous()
1762 if (first_blkaddr + i - (compressed ? 1 : 0) != blkaddr) in f2fs_cluster_blocks_are_contiguous()
1779 void f2fs_invalidate_compress_page(struct f2fs_sb_info *sbi, block_t blkaddr) in f2fs_invalidate_compress_page() argument
1783 invalidate_mapping_pages(COMPRESS_MAPPING(sbi), blkaddr, blkaddr); in f2fs_invalidate_compress_page()
1787 nid_t ino, block_t blkaddr) in f2fs_cache_compressed_page() argument
1795 if (!f2fs_is_valid_blkaddr(sbi, blkaddr, DATA_GENERIC_ENHANCE_READ)) in f2fs_cache_compressed_page()
1801 cpage = find_get_page(COMPRESS_MAPPING(sbi), blkaddr); in f2fs_cache_compressed_page()
1812 blkaddr, GFP_NOFS); in f2fs_cache_compressed_page()
1820 if (!f2fs_is_valid_blkaddr(sbi, blkaddr, DATA_GENERIC_ENHANCE_READ)) in f2fs_cache_compressed_page()
1830 block_t blkaddr) in f2fs_load_compressed_page() argument
1839 blkaddr, FGP_LOCK | FGP_NOWAIT, GFP_NOFS); in f2fs_load_compressed_page()