Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dlzo.c137 struct page *cur_page; in copy_compressed_data_to_page() local
149 cur_page = out_pages[*cur_out / PAGE_SIZE]; in copy_compressed_data_to_page()
151 if (!cur_page) { in copy_compressed_data_to_page()
152 cur_page = alloc_page(GFP_NOFS); in copy_compressed_data_to_page()
153 if (!cur_page) in copy_compressed_data_to_page()
155 out_pages[*cur_out / PAGE_SIZE] = cur_page; in copy_compressed_data_to_page()
158 kaddr = kmap_local_page(cur_page); in copy_compressed_data_to_page()
175 cur_page = out_pages[*cur_out / PAGE_SIZE]; in copy_compressed_data_to_page()
177 if (!cur_page) { in copy_compressed_data_to_page()
178 cur_page = alloc_page(GFP_NOFS); in copy_compressed_data_to_page()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/xen/
Dxen-front-pgdir-shbuf.c251 int ret, cur_gref, cur_dir_page, cur_page, grefs_left; in backend_map() local
272 cur_page = 0; in backend_map()
284 addr = xen_page_to_vaddr(buf->pages[cur_page]); in backend_map()
285 gnttab_set_map_op(&map_ops[cur_page], addr, in backend_map()
289 cur_page++; in backend_map()
298 for (cur_page = 0; cur_page < buf->num_pages; cur_page++) { in backend_map()
299 if (likely(map_ops[cur_page].status == GNTST_okay)) { in backend_map()
300 buf->backend_map_handles[cur_page] = in backend_map()
301 map_ops[cur_page].handle; in backend_map()
303 buf->backend_map_handles[cur_page] = in backend_map()
[all …]
/linux-6.1.9/fs/
Ddirect-io.c101 struct page *cur_page; /* The page */ member
709 ret = bio_add_page(sdio->bio, sdio->cur_page, in dio_bio_add_page()
717 get_page(sdio->cur_page); in dio_bio_add_page()
820 if (sdio->cur_page == page && in submit_page_section()
831 if (sdio->cur_page) { in submit_page_section()
833 put_page(sdio->cur_page); in submit_page_section()
834 sdio->cur_page = NULL; in submit_page_section()
840 sdio->cur_page = page; in submit_page_section()
854 put_page(sdio->cur_page); in submit_page_section()
855 sdio->cur_page = NULL; in submit_page_section()
[all …]
/linux-6.1.9/lib/
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-6.1.9/fs/f2fs/
Dcheckpoint.c922 struct page *cp1, *cp2, *cur_page; in f2fs_get_valid_checkpoint() local
949 cur_page = cp2; in f2fs_get_valid_checkpoint()
951 cur_page = cp1; in f2fs_get_valid_checkpoint()
953 cur_page = cp1; in f2fs_get_valid_checkpoint()
955 cur_page = cp2; in f2fs_get_valid_checkpoint()
961 cp_block = (struct f2fs_checkpoint *)page_address(cur_page); in f2fs_get_valid_checkpoint()
964 if (cur_page == cp1) in f2fs_get_valid_checkpoint()
979 if (cur_page == cp2) in f2fs_get_valid_checkpoint()
986 cur_page = f2fs_get_meta_page(sbi, cp_blk_no + i); in f2fs_get_valid_checkpoint()
987 if (IS_ERR(cur_page)) { in f2fs_get_valid_checkpoint()
[all …]
/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_rx.c375 struct dpmaif_bat_page *cur_page = bat_skb + cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc() local
379 if (!cur_page->page) { in t7xx_dpmaif_rx_frag_alloc()
399 cur_page->page = page; in t7xx_dpmaif_rx_frag_alloc()
400 cur_page->data_bus_addr = data_base_addr; in t7xx_dpmaif_rx_frag_alloc()
401 cur_page->offset = offset; in t7xx_dpmaif_rx_frag_alloc()
402 cur_page->data_len = bat_req->pkt_buf_sz; in t7xx_dpmaif_rx_frag_alloc()
405 data_base_addr = cur_page->data_bus_addr; in t7xx_dpmaif_rx_frag_alloc()
/linux-6.1.9/arch/x86/include/asm/
Dsev-common.h119 u64 cur_page : 12, member
/linux-6.1.9/drivers/misc/habanalabs/common/
Dmemory.c1553 int rc, i, j, nents, cur_page; in alloc_sgt_from_device_pages() local
1601 cur_page = 0; in alloc_sgt_from_device_pages()
1614 pages[cur_page] - prop->dram_base_address; in alloc_sgt_from_device_pages()
1629 cur_page++; in alloc_sgt_from_device_pages()
1637 for (j = cur_page + 1 ; j < npages ; j++) { in alloc_sgt_from_device_pages()
1646 (pages[cur_page] - prop->dram_base_address); in alloc_sgt_from_device_pages()
1652 cur_page = j; in alloc_sgt_from_device_pages()
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h154 struct icp_qat_uclo_page *cur_page[ICP_QAT_UCLO_MAX_CTX]; member
Dqat_uclo.c2053 aed->ae_slices[s].cur_page[ctx] = in qat_uclo_wr_uimage_page()
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dkvmgt.c152 struct page *cur_page; in gvt_pin_guest_page() local
155 IOMMU_READ | IOMMU_WRITE, &cur_page); in gvt_pin_guest_page()
163 base_page = cur_page; in gvt_pin_guest_page()
164 else if (base_page + npage != cur_page) { in gvt_pin_guest_page()