Lines Matching refs:fio
1146 struct f2fs_io_info fio = { in f2fs_write_compressed_pages() local
1194 err = f2fs_get_node_info(fio.sbi, dn.nid, &ni); in f2fs_write_compressed_pages()
1198 fio.version = ni.version; in f2fs_write_compressed_pages()
1216 fio.compressed_page = cc->cpages[i]; in f2fs_write_compressed_pages()
1218 fio.old_blkaddr = data_blkaddr(dn.inode, dn.node_page, in f2fs_write_compressed_pages()
1222 f2fs_wait_on_block_writeback(inode, fio.old_blkaddr); in f2fs_write_compressed_pages()
1224 if (fio.encrypted) { in f2fs_write_compressed_pages()
1225 fio.page = cc->rpages[i + 1]; in f2fs_write_compressed_pages()
1226 err = f2fs_encrypt_one_page(&fio); in f2fs_write_compressed_pages()
1229 cc->cpages[i] = fio.encrypted_page; in f2fs_write_compressed_pages()
1242 fio.page = cc->rpages[i]; in f2fs_write_compressed_pages()
1243 fio.old_blkaddr = blkaddr; in f2fs_write_compressed_pages()
1248 fio.compr_blocks++; in f2fs_write_compressed_pages()
1255 if (fio.compr_blocks && __is_valid_data_blkaddr(blkaddr)) in f2fs_write_compressed_pages()
1256 fio.compr_blocks++; in f2fs_write_compressed_pages()
1266 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
1268 if (fio.encrypted) in f2fs_write_compressed_pages()
1269 fio.encrypted_page = cc->cpages[i - 1]; in f2fs_write_compressed_pages()
1271 fio.compressed_page = cc->cpages[i - 1]; in f2fs_write_compressed_pages()
1274 f2fs_outplace_write_data(&dn, &fio); in f2fs_write_compressed_pages()
1278 unlock_page(fio.page); in f2fs_write_compressed_pages()
1281 if (fio.compr_blocks) in f2fs_write_compressed_pages()
1282 f2fs_i_compr_blocks_update(inode, fio.compr_blocks - 1, false); in f2fs_write_compressed_pages()