Home
last modified time | relevance | path

Searched refs:cur_page (Results 1 – 6 of 6) sorted by relevance

/fs/ntfs/
Dcompress.c499 unsigned int xpage, max_page, cur_page, cur_ofs, i; in ntfs_read_compressed_block() local
587 cur_page = 0; in ntfs_read_compressed_block()
722 cb_max_page = (cur_page << PAGE_SHIFT) + cur_ofs + cb_size; in ntfs_read_compressed_block()
737 for (; cur_page < cb_max_page; cur_page++) { in ntfs_read_compressed_block()
738 page = pages[cur_page]; in ntfs_read_compressed_block()
750 if (cur_page == xpage) in ntfs_read_compressed_block()
754 pages[cur_page] = NULL; in ntfs_read_compressed_block()
763 page = pages[cur_page]; in ntfs_read_compressed_block()
775 unsigned int cur2_page = cur_page; in ntfs_read_compressed_block()
794 for (; cur_page < cb_max_page; cur_page++) { in ntfs_read_compressed_block()
[all …]
/fs/btrfs/
Dlzo.c294 struct page *cur_page; in copy_compressed_segment() local
299 cur_page = cb->compressed_pages[*cur_in / PAGE_SIZE]; in copy_compressed_segment()
301 kaddr = kmap(cur_page); in copy_compressed_segment()
305 kunmap(cur_page); in copy_compressed_segment()
347 struct page *cur_page; in lzo_decompress_bio() local
359 cur_page = cb->compressed_pages[cur_in / PAGE_SIZE]; in lzo_decompress_bio()
360 ASSERT(cur_page); in lzo_decompress_bio()
361 kaddr = kmap(cur_page); in lzo_decompress_bio()
363 kunmap(cur_page); in lzo_decompress_bio()
/fs/
Ddirect-io.c101 struct page *cur_page; /* The page */ member
717 ret = bio_add_page(sdio->bio, sdio->cur_page, in dio_bio_add_page()
725 get_page(sdio->cur_page); in dio_bio_add_page()
827 if (sdio->cur_page == page && in submit_page_section()
838 if (sdio->cur_page) { in submit_page_section()
840 put_page(sdio->cur_page); in submit_page_section()
841 sdio->cur_page = NULL; in submit_page_section()
847 sdio->cur_page = page; in submit_page_section()
861 put_page(sdio->cur_page); in submit_page_section()
862 sdio->cur_page = NULL; in submit_page_section()
[all …]
/fs/iomap/
Dbuffered-io.c202 struct page *cur_page; member
253 struct page *page = ctx->cur_page; in iomap_readpage_iter()
331 .cur_page = page, in iomap_readpage()
367 if (ctx->cur_page && offset_in_page(iter->pos + done) == 0) { in iomap_readahead_iter()
369 unlock_page(ctx->cur_page); in iomap_readahead_iter()
370 put_page(ctx->cur_page); in iomap_readahead_iter()
371 ctx->cur_page = NULL; in iomap_readahead_iter()
373 if (!ctx->cur_page) { in iomap_readahead_iter()
374 ctx->cur_page = readahead_page(ctx->rac); in iomap_readahead_iter()
418 if (ctx.cur_page) { in iomap_readahead()
[all …]
/fs/f2fs/
Dcheckpoint.c930 struct page *cp1, *cp2, *cur_page; in f2fs_get_valid_checkpoint() local
957 cur_page = cp2; in f2fs_get_valid_checkpoint()
959 cur_page = cp1; in f2fs_get_valid_checkpoint()
961 cur_page = cp1; in f2fs_get_valid_checkpoint()
963 cur_page = cp2; in f2fs_get_valid_checkpoint()
969 cp_block = (struct f2fs_checkpoint *)page_address(cur_page); in f2fs_get_valid_checkpoint()
972 if (cur_page == cp1) in f2fs_get_valid_checkpoint()
987 if (cur_page == cp2) in f2fs_get_valid_checkpoint()
994 cur_page = f2fs_get_meta_page(sbi, cp_blk_no + i); in f2fs_get_valid_checkpoint()
995 if (IS_ERR(cur_page)) { in f2fs_get_valid_checkpoint()
[all …]
/fs/ntfs3/
Dfslog.c1791 struct RECORD_PAGE_HDR *cur_page = in last_log_lsn() local
1795 tail_page = cur_page; in last_log_lsn()
1807 cur_page->rhdr.lsn == page->rhdr.lsn && in last_log_lsn()
1808 cur_page->record_hdr.next_record_off == in last_log_lsn()
1815 cur_page = NULL; in last_log_lsn()
1823 lsn_cur = le64_to_cpu(cur_page->rhdr.lsn); in last_log_lsn()
1826 le64_to_cpu(cur_page->record_hdr.last_end_lsn) && in last_log_lsn()
1835 if (!is_log_record_end(cur_page)) { in last_log_lsn()
1843 log->last_lsn = le64_to_cpu(cur_page->record_hdr.last_end_lsn); in last_log_lsn()
1844 log->ra->current_lsn = cur_page->record_hdr.last_end_lsn; in last_log_lsn()
[all …]