/linux-6.6.21/sound/pci/emu10k1/ |
D | memory.c | 84 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1); in emu10k1_memblk_init() 85 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 152 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in map_memblk() 192 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in unmap_memblk() 218 page = blk->last_page + 1; in search_empty() 328 for (page = blk->first_page; page <= blk->last_page; page++, idx++) { in snd_emu10k1_alloc_pages() 458 int first_page, last_page; in get_single_page_range() local 463 if (q->last_page == first_page) in get_single_page_range() 466 last_page = blk->last_page; in get_single_page_range() 470 if (q->first_page == last_page) in get_single_page_range() [all …]
|
/linux-6.6.21/fs/squashfs/ |
D | page_actor.h | 19 struct page *last_page; member 35 struct page *last_page = actor->last_page; in squashfs_page_actor_free() local 39 return last_page; in squashfs_page_actor_free()
|
D | page_actor.c | 74 actor->last_page = NULL; in handle_next_page() 80 actor->last_page = actor->page[actor->next_page]; in handle_next_page() 130 actor->last_page = NULL; in squashfs_page_actor_init_special()
|
D | file.c | 561 struct page *last_page; in squashfs_readahead() local 601 last_page = squashfs_page_actor_free(actor); in squashfs_readahead() 608 if (index == file_end && bytes && last_page) in squashfs_readahead() 609 memzero_page(last_page, bytes, in squashfs_readahead()
|
/linux-6.6.21/drivers/char/agp/ |
D | efficeon-agp.c | 239 unsigned int *page, *last_page; in efficeon_insert_memory() local 256 last_page = NULL; in efficeon_insert_memory() 270 if (last_page && in efficeon_insert_memory() 271 (((unsigned long)page^(unsigned long)last_page) & in efficeon_insert_memory() 273 clflush(last_page); in efficeon_insert_memory() 275 last_page = page; in efficeon_insert_memory() 278 if ( last_page ) in efficeon_insert_memory() 279 clflush(last_page); in efficeon_insert_memory()
|
/linux-6.6.21/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 258 unsigned long last_page, in goldfish_pin_pages() argument 265 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pin_pages() 291 unsigned long last_page, in populate_rw_params() argument 304 int size_on_page = first_page == last_page in populate_rw_params() 329 unsigned long last_page, in transfer_max_buffers() argument 342 pages_count = goldfish_pin_pages(first_page, last_page, in transfer_max_buffers() 351 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers() 396 unsigned long address, address_end, last_page; in goldfish_pipe_read_write() local 411 last_page = (address_end - 1) & PAGE_MASK; in goldfish_pipe_read_write() 419 last_page, last_page_size, in goldfish_pipe_read_write()
|
/linux-6.6.21/drivers/media/i2c/ |
D | rdacm21.c | 86 u16 last_page; member 218 if (page == dev->last_page) in ov490_set_page() 221 if (page_high != (dev->last_page >> 8)) { in ov490_set_page() 227 if (page_low != (u8)dev->last_page) { in ov490_set_page() 233 dev->last_page = page; in ov490_set_page()
|
/linux-6.6.21/drivers/gpu/drm/panel/ |
D | panel-novatek-nt35950.c | 61 u8 last_page; member 120 nt->last_page = page; in nt35950_set_cmd2_page() 136 u8 last_page = nt->last_page; in nt35950_set_data_compression() local 140 if (last_page != 0) { in nt35950_set_data_compression() 168 return nt35950_set_cmd2_page(nt, last_page); in nt35950_set_data_compression()
|
/linux-6.6.21/drivers/gpu/drm/ttm/tests/ |
D | ttm_pool_test.c | 142 struct page *fst_page, *last_page; in ttm_pool_alloc_basic() local 166 last_page = tt->pages[tt->num_pages - 1]; in ttm_pool_alloc_basic() 171 KUNIT_ASSERT_NOT_NULL(test, (void *)last_page->private); in ttm_pool_alloc_basic() 178 KUNIT_ASSERT_NULL(test, (void *)last_page->private); in ttm_pool_alloc_basic() 187 KUNIT_ASSERT_EQ(test, last_page->private, 0); in ttm_pool_alloc_basic()
|
/linux-6.6.21/fs/f2fs/ |
D | node.c | 1535 struct page *last_page = NULL; in last_fsync_dnode() local 1550 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1575 if (last_page) in last_fsync_dnode() 1576 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1579 last_page = page; in last_fsync_dnode() 1585 return last_page; in last_fsync_dnode() 1752 struct page *last_page = NULL; in f2fs_fsync_node_pages() local 1759 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages() 1760 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages() 1761 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages() [all …]
|
/linux-6.6.21/drivers/media/common/videobuf2/ |
D | videobuf2-dma-sg.c | 63 unsigned int last_page = 0; in vb2_dma_sg_alloc_compacted() local 84 while (last_page--) in vb2_dma_sg_alloc_compacted() 85 __free_page(buf->pages[last_page]); in vb2_dma_sg_alloc_compacted() 93 buf->pages[last_page++] = &pages[i]; in vb2_dma_sg_alloc_compacted()
|
/linux-6.6.21/drivers/edac/ |
D | r82600_edac.c | 252 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; in r82600_init_csrows() 254 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in r82600_init_csrows()
|
D | i82443bxgx_edac.c | 218 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; in i82443bxgx_init_csrows() 219 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in i82443bxgx_init_csrows()
|
D | fsl_ddr_edac.c | 319 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check() 461 csrow->last_page = end; in fsl_ddr_init_csrows()
|
D | edac_mc.c | 113 edac_dbg(4, " csrow->last_page = 0x%lx\n", csrow->last_page); in edac_mc_dump_csrow() 773 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page() 777 (page <= csrow->last_page) && in edac_mc_find_csrow_by_page()
|
D | amd76x_edac.c | 210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
|
D | pasemi_edac.c | 168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
|
/linux-6.6.21/fs/netfs/ |
D | buffered_read.c | 21 pgoff_t last_page = ((rreq->start + rreq->len) / PAGE_SIZE) - 1; in netfs_rreq_unlock_folios() local 47 xas_for_each(&xas, folio, last_page) { in netfs_rreq_unlock_folios()
|
/linux-6.6.21/drivers/iommu/intel/ |
D | svm.c | 757 bool last_page; in intel_svm_page_response() local 776 last_page = prm->flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in intel_svm_page_response() 794 if (last_page || private_present) { in intel_svm_page_response() 802 desc.qw1 = QI_PGRP_IDX(prm->grpid) | QI_PGRP_LPIG(last_page); in intel_svm_page_response()
|
/linux-6.6.21/fs/nfs/ |
D | pagelist.c | 991 *last_page; in nfs_generic_pgio() local 1016 last_page = NULL; in nfs_generic_pgio() 1026 last_page = NULL; in nfs_generic_pgio() 1030 if (last_page != page) { in nfs_generic_pgio() 1034 *pages++ = last_page = page; in nfs_generic_pgio()
|
/linux-6.6.21/mm/ |
D | swapfile.c | 2829 unsigned long last_page; in read_swap_header() local 2839 swab32s(&swap_header->info.last_page); in read_swap_header() 2858 last_page = swap_header->info.last_page; in read_swap_header() 2859 if (!last_page) { in read_swap_header() 2863 if (last_page > maxpages) { in read_swap_header() 2865 K(maxpages), K(last_page)); in read_swap_header() 2867 if (maxpages > last_page) { in read_swap_header() 2868 maxpages = last_page + 1; in read_swap_header() 2918 if (page_nr == 0 || page_nr > swap_header->info.last_page) in setup_swap_map_and_extents()
|
/linux-6.6.21/fs/cramfs/ |
D | inode.c | 332 u32 partial, last_page, blockaddr, *blockptrs; in cramfs_last_page_is_shared() local 338 last_page = inode->i_size >> PAGE_SHIFT; in cramfs_last_page_is_shared() 340 blockaddr = blockptrs[last_page] & ~CRAMFS_BLK_FLAGS; in cramfs_last_page_is_shared()
|
/linux-6.6.21/sound/pci/hda/ |
D | patch_cs8409.h | 313 unsigned int last_page; member
|
/linux-6.6.21/sound/pci/trident/ |
D | trident.h | 248 short first_page, last_page; member
|
/linux-6.6.21/fs/erofs/ |
D | fscache.c | 68 pgoff_t last_page = ((req->start + req->len) / PAGE_SIZE) - 1; in erofs_fscache_req_complete() local 73 xas_for_each(&xas, folio, last_page) { in erofs_fscache_req_complete()
|