Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Dlzo.c134 struct page *cur_page; in copy_compressed_data_to_page() local
148 if (!cur_page) { in copy_compressed_data_to_page()
150 if (!cur_page) in copy_compressed_data_to_page()
155 kaddr = kmap(cur_page); in copy_compressed_data_to_page()
167 kunmap(cur_page); in copy_compressed_data_to_page()
174 if (!cur_page) { in copy_compressed_data_to_page()
176 if (!cur_page) in copy_compressed_data_to_page()
202 kunmap(cur_page); in copy_compressed_data_to_page()
322 kunmap(cur_page); in copy_compressed_segment()
377 ASSERT(cur_page); in lzo_decompress_bio()
[all …]
/linux/fs/ntfs/
A Dcompress.c587 cur_page = 0; 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()
763 page = pages[cur_page]; in ntfs_read_compressed_block()
794 for (; cur_page < cb_max_page; cur_page++) { in ntfs_read_compressed_block()
795 page = pages[cur_page]; in ntfs_read_compressed_block()
806 page = pages[cur_page]; in ntfs_read_compressed_block()
885 for (cur_page = 0; cur_page < max_page; cur_page++) { in ntfs_read_compressed_block()
886 page = pages[cur_page]; in ntfs_read_compressed_block()
[all …]
/linux/drivers/xen/
A Dxen-front-pgdir-shbuf.c260 int ret, cur_gref, cur_dir_page, cur_page, grefs_left; in backend_map() local
281 cur_page = 0; in backend_map()
293 addr = xen_page_to_vaddr(buf->pages[cur_page]); in backend_map()
294 gnttab_set_map_op(&map_ops[cur_page], addr, in backend_map()
298 cur_page++; in backend_map()
307 for (cur_page = 0; cur_page < buf->num_pages; cur_page++) { in backend_map()
308 if (likely(map_ops[cur_page].status == GNTST_okay)) { in backend_map()
309 buf->backend_map_handles[cur_page] = in backend_map()
310 map_ops[cur_page].handle; in backend_map()
312 buf->backend_map_handles[cur_page] = in backend_map()
[all …]
/linux/fs/
A Ddirect-io.c721 get_page(sdio->cur_page); in dio_bio_add_page()
823 if (sdio->cur_page == page && in submit_page_section()
834 if (sdio->cur_page) { in submit_page_section()
836 put_page(sdio->cur_page); in submit_page_section()
837 sdio->cur_page = NULL; in submit_page_section()
843 sdio->cur_page = page; in submit_page_section()
857 put_page(sdio->cur_page); in submit_page_section()
858 sdio->cur_page = NULL; in submit_page_section()
1287 if (sdio.cur_page) { in do_blockdev_direct_IO()
1293 put_page(sdio.cur_page); in do_blockdev_direct_IO()
[all …]
/linux/fs/iomap/
A Dbuffered-io.c202 struct page *cur_page; member
262 struct page *page = ctx->cur_page; in iomap_readpage_iter()
335 .cur_page = page, in iomap_readpage()
373 unlock_page(ctx->cur_page); in iomap_readahead_iter()
374 put_page(ctx->cur_page); in iomap_readahead_iter()
375 ctx->cur_page = NULL; in iomap_readahead_iter()
377 if (!ctx->cur_page) { in iomap_readahead_iter()
378 ctx->cur_page = readahead_page(ctx->rac); in iomap_readahead_iter()
422 if (ctx.cur_page) { in iomap_readahead()
424 unlock_page(ctx.cur_page); in iomap_readahead()
[all …]
/linux/lib/
A Dscatterlist.c447 unsigned int chunks, cur_page, seg_len, i, prv_len = 0; in sg_alloc_append_table_from_pages() local
498 cur_page = 0; in sg_alloc_append_table_from_pages()
504 for (j = cur_page + 1; j < n_pages; j++) { in sg_alloc_append_table_from_pages()
524 chunk_size = ((j - cur_page) << PAGE_SHIFT) - offset; in sg_alloc_append_table_from_pages()
525 sg_set_page(s, pages[cur_page], in sg_alloc_append_table_from_pages()
530 cur_page = j; in sg_alloc_append_table_from_pages()
/linux/fs/f2fs/
A Dcheckpoint.c904 struct page *cp1, *cp2, *cur_page; in f2fs_get_valid_checkpoint() local
931 cur_page = cp2; in f2fs_get_valid_checkpoint()
933 cur_page = cp1; in f2fs_get_valid_checkpoint()
935 cur_page = cp1; in f2fs_get_valid_checkpoint()
937 cur_page = cp2; in f2fs_get_valid_checkpoint()
946 if (cur_page == cp1) in f2fs_get_valid_checkpoint()
961 if (cur_page == cp2) in f2fs_get_valid_checkpoint()
969 if (IS_ERR(cur_page)) { in f2fs_get_valid_checkpoint()
970 err = PTR_ERR(cur_page); in f2fs_get_valid_checkpoint()
973 sit_bitmap_ptr = page_address(cur_page); in f2fs_get_valid_checkpoint()
[all …]
/linux/drivers/misc/habanalabs/common/
A Dmemory.c1524 int rc, i, j, nents, cur_page; in alloc_sgt_from_device_pages() local
1572 cur_page = 0; in alloc_sgt_from_device_pages()
1585 pages[cur_page] - prop->dram_base_address; in alloc_sgt_from_device_pages()
1600 cur_page++; in alloc_sgt_from_device_pages()
1608 for (j = cur_page + 1 ; j < npages ; j++) { in alloc_sgt_from_device_pages()
1617 (pages[cur_page] - prop->dram_base_address); in alloc_sgt_from_device_pages()
1623 cur_page = j; in alloc_sgt_from_device_pages()
/linux/fs/ntfs3/
A Dfslog.c1815 struct RECORD_PAGE_HDR *cur_page = in last_log_lsn() local
1819 tail_page = cur_page; in last_log_lsn()
1831 cur_page->rhdr.lsn == page->rhdr.lsn && in last_log_lsn()
1832 cur_page->record_hdr.next_record_off == in last_log_lsn()
1839 cur_page = NULL; in last_log_lsn()
1847 lsn_cur = le64_to_cpu(cur_page->rhdr.lsn); in last_log_lsn()
1850 le64_to_cpu(cur_page->record_hdr.last_end_lsn) && in last_log_lsn()
1859 if (!is_log_record_end(cur_page)) { in last_log_lsn()
1868 log->ra->current_lsn = cur_page->record_hdr.last_end_lsn; in last_log_lsn()
1872 le16_to_cpu(cur_page->record_hdr.next_record_off)) { in last_log_lsn()
[all …]
/linux/drivers/crypto/qat/qat_common/
A Dicp_qat_uclo.h153 struct icp_qat_uclo_page *cur_page[ICP_QAT_UCLO_MAX_CTX]; member
A Dqat_uclo.c2002 aed->ae_slices[s].cur_page[ctx] = in qat_uclo_wr_uimage_page()

Completed in 38 milliseconds