/linux-6.6.21/fs/btrfs/ |
D | lzo.c | 140 struct page *cur_page; in copy_compressed_data_to_page() local 152 cur_page = out_pages[*cur_out / PAGE_SIZE]; in copy_compressed_data_to_page() 154 if (!cur_page) { in copy_compressed_data_to_page() 155 cur_page = alloc_page(GFP_NOFS); in copy_compressed_data_to_page() 156 if (!cur_page) in copy_compressed_data_to_page() 158 out_pages[*cur_out / PAGE_SIZE] = cur_page; in copy_compressed_data_to_page() 161 kaddr = kmap_local_page(cur_page); in copy_compressed_data_to_page() 178 cur_page = out_pages[*cur_out / PAGE_SIZE]; in copy_compressed_data_to_page() 180 if (!cur_page) { in copy_compressed_data_to_page() 181 cur_page = alloc_page(GFP_NOFS); in copy_compressed_data_to_page() [all …]
|
/linux-6.6.21/fs/ntfs/ |
D | compress.c | 499 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.6.21/drivers/xen/ |
D | xen-front-pgdir-shbuf.c | 251 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.6.21/fs/ |
D | direct-io.c | 100 struct page *cur_page; /* The page */ member 691 ret = bio_add_page(sdio->bio, sdio->cur_page, in dio_bio_add_page() 699 dio_pin_page(dio, sdio->cur_page); in dio_bio_add_page() 802 if (sdio->cur_page == page && in submit_page_section() 813 if (sdio->cur_page) { in submit_page_section() 815 dio_unpin_page(dio, sdio->cur_page); in submit_page_section() 816 sdio->cur_page = NULL; in submit_page_section() 822 sdio->cur_page = page; in submit_page_section() 836 dio_unpin_page(dio, sdio->cur_page); in submit_page_section() 837 sdio->cur_page = NULL; in submit_page_section() [all …]
|
/linux-6.6.21/fs/f2fs/ |
D | checkpoint.c | 921 struct page *cp1, *cp2, *cur_page; in f2fs_get_valid_checkpoint() local 948 cur_page = cp2; in f2fs_get_valid_checkpoint() 950 cur_page = cp1; in f2fs_get_valid_checkpoint() 952 cur_page = cp1; in f2fs_get_valid_checkpoint() 954 cur_page = cp2; in f2fs_get_valid_checkpoint() 960 cp_block = (struct f2fs_checkpoint *)page_address(cur_page); in f2fs_get_valid_checkpoint() 963 if (cur_page == cp1) in f2fs_get_valid_checkpoint() 978 if (cur_page == cp2) in f2fs_get_valid_checkpoint() 985 cur_page = f2fs_get_meta_page(sbi, cp_blk_no + i); in f2fs_get_valid_checkpoint() 986 if (IS_ERR(cur_page)) { in f2fs_get_valid_checkpoint() [all …]
|
/linux-6.6.21/drivers/net/wwan/t7xx/ |
D | t7xx_hif_dpmaif_rx.c | 339 struct dpmaif_bat_page *cur_page = bat_skb + cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc() local 343 if (!cur_page->page) { in t7xx_dpmaif_rx_frag_alloc() 363 cur_page->page = page; in t7xx_dpmaif_rx_frag_alloc() 364 cur_page->data_bus_addr = data_base_addr; in t7xx_dpmaif_rx_frag_alloc() 365 cur_page->offset = offset; in t7xx_dpmaif_rx_frag_alloc() 366 cur_page->data_len = bat_req->pkt_buf_sz; in t7xx_dpmaif_rx_frag_alloc() 369 data_base_addr = cur_page->data_bus_addr; in t7xx_dpmaif_rx_frag_alloc()
|
/linux-6.6.21/lib/ |
D | scatterlist.c | 459 unsigned int chunks, cur_page, seg_len, i, prv_len = 0; in sg_alloc_append_table_from_pages() local 512 cur_page = 0; in sg_alloc_append_table_from_pages() 518 for (j = cur_page + 1; j < n_pages; j++) { in sg_alloc_append_table_from_pages() 537 chunk_size = ((j - cur_page) << PAGE_SHIFT) - offset; in sg_alloc_append_table_from_pages() 538 sg_set_page(s, pages[cur_page], in sg_alloc_append_table_from_pages() 543 cur_page = j; in sg_alloc_append_table_from_pages()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | sev-common.h | 124 u64 cur_page : 12, member
|
/linux-6.6.21/drivers/accel/habanalabs/common/ |
D | memory.c | 1540 int rc, i, j, nents, cur_page; in alloc_sgt_from_device_pages() local 1596 cur_page = 0; in alloc_sgt_from_device_pages() 1609 pages[cur_page] - prop->dram_base_address; in alloc_sgt_from_device_pages() 1627 cur_page++; in alloc_sgt_from_device_pages() 1635 for (j = cur_page + 1 ; j < cur_npages ; j++) { in alloc_sgt_from_device_pages() 1644 (pages[cur_page] - prop->dram_base_address); in alloc_sgt_from_device_pages() 1653 cur_page = j; in alloc_sgt_from_device_pages()
|
/linux-6.6.21/fs/ntfs3/ |
D | fslog.c | 1789 struct RECORD_PAGE_HDR *cur_page = in last_log_lsn() local 1793 tail_page = cur_page; in last_log_lsn() 1805 cur_page->rhdr.lsn == page->rhdr.lsn && in last_log_lsn() 1806 cur_page->record_hdr.next_record_off == in last_log_lsn() 1813 cur_page = NULL; in last_log_lsn() 1821 lsn_cur = le64_to_cpu(cur_page->rhdr.lsn); in last_log_lsn() 1824 le64_to_cpu(cur_page->record_hdr.last_end_lsn) && in last_log_lsn() 1833 if (!is_log_record_end(cur_page)) { in last_log_lsn() 1841 log->last_lsn = le64_to_cpu(cur_page->record_hdr.last_end_lsn); in last_log_lsn() 1842 log->ra->current_lsn = cur_page->record_hdr.last_end_lsn; in last_log_lsn() [all …]
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/ |
D | icp_qat_uclo.h | 154 struct icp_qat_uclo_page *cur_page[ICP_QAT_UCLO_MAX_CTX]; member
|
D | qat_uclo.c | 2051 aed->ae_slices[s].cur_page[ctx] = in qat_uclo_wr_uimage_page()
|
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 150 struct page *cur_page; in gvt_pin_guest_page() local 153 IOMMU_READ | IOMMU_WRITE, &cur_page); in gvt_pin_guest_page() 161 base_page = cur_page; in gvt_pin_guest_page() 162 else if (page_to_pfn(base_page) + npage != page_to_pfn(cur_page)) { in gvt_pin_guest_page()
|