Home
last modified time | relevance | path

Searched refs:last_page (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.12.1/sound/pci/emu10k1/
Dmemory.c84 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.12.1/fs/squashfs/
Dpage_actor.h19 struct page *last_page; member
36 struct page *last_page = actor->next_page == actor->pages ? actor->last_page : ERR_PTR(-EIO); in squashfs_page_actor_free() local
41 return last_page; in squashfs_page_actor_free()
Dfile_direct.c35 struct page **page, *last_page; in squashfs_readpage_block() local
79 last_page = squashfs_page_actor_free(actor); in squashfs_readpage_block()
84 if (res != expected || IS_ERR(last_page)) { in squashfs_readpage_block()
91 if (end_index == file_end && last_page && bytes) { in squashfs_readpage_block()
92 pageaddr = kmap_local_page(last_page); in squashfs_readpage_block()
Dfile.c508 struct page *last_page; in squashfs_readahead_fragment() local
536 last_page = squashfs_page_actor_free(actor); in squashfs_readahead_fragment()
538 if (copied == expected && !IS_ERR(last_page)) { in squashfs_readahead_fragment()
541 if (bytes && last_page) in squashfs_readahead_fragment()
542 memzero_page(last_page, bytes, PAGE_SIZE - bytes); in squashfs_readahead_fragment()
591 struct page *last_page; in squashfs_readahead() local
626 last_page = squashfs_page_actor_free(actor); in squashfs_readahead()
628 if (res == expected && !IS_ERR(last_page)) { in squashfs_readahead()
633 if (start >> msblk->block_log == file_end && bytes && last_page) in squashfs_readahead()
634 memzero_page(last_page, bytes, in squashfs_readahead()
Dpage_actor.c79 actor->last_page = NULL; in handle_next_page()
85 actor->last_page = actor->page[actor->next_page]; in handle_next_page()
135 actor->last_page = NULL; in squashfs_page_actor_init_special()
/linux-6.12.1/drivers/char/agp/
Defficeon-agp.c239 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.12.1/drivers/platform/goldfish/
Dgoldfish_pipe.c258 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.12.1/drivers/gpu/drm/panel/
Dpanel-novatek-nt35950.c61 u8 last_page; member
116 nt->last_page = page; in nt35950_set_cmd2_page()
131 u8 last_page = nt->last_page; in nt35950_set_data_compression() local
134 if (last_page != 0) in nt35950_set_data_compression()
150 nt35950_set_cmd2_page(dsi_ctx, nt, last_page); in nt35950_set_data_compression()
/linux-6.12.1/drivers/media/i2c/
Drdacm21.c86 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.12.1/drivers/gpu/drm/ttm/tests/
Dttm_pool_test.c141 struct page *fst_page, *last_page; in ttm_pool_alloc_basic() local
165 last_page = tt->pages[tt->num_pages - 1]; in ttm_pool_alloc_basic()
170 KUNIT_ASSERT_NOT_NULL(test, (void *)last_page->private); in ttm_pool_alloc_basic()
177 KUNIT_ASSERT_NULL(test, (void *)last_page->private); in ttm_pool_alloc_basic()
186 KUNIT_ASSERT_EQ(test, last_page->private, 0); in ttm_pool_alloc_basic()
/linux-6.12.1/fs/f2fs/
Dnode.c1554 struct page *last_page = NULL; in last_fsync_dnode() local
1569 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1594 if (last_page) in last_fsync_dnode()
1595 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1598 last_page = page; in last_fsync_dnode()
1604 return last_page; in last_fsync_dnode()
1772 struct page *last_page = NULL; in f2fs_fsync_node_pages() local
1779 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages()
1780 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages()
1781 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages()
[all …]
/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dchapter-index.c123 u8 *memory, u32 first_list, bool last_page, in uds_pack_open_chapter_index_page() argument
154 } else if (last_page) { in uds_pack_open_chapter_index_page()
Dchapter-index.h47 bool last_page, u32 *lists_packed);
/linux-6.12.1/drivers/media/common/videobuf2/
Dvideobuf2-dma-sg.c63 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.12.1/drivers/edac/
Dr82600_edac.c252 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()
Di82443bxgx_edac.c218 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()
Dfsl_ddr_edac.c319 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check()
461 csrow->last_page = end; in fsl_ddr_init_csrows()
Dedac_mc.c113 edac_dbg(4, " csrow->last_page = 0x%lx\n", csrow->last_page); in edac_mc_dump_csrow()
774 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page()
778 (page <= csrow->last_page) && in edac_mc_find_csrow_by_page()
Dpasemi_edac.c168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
Damd76x_edac.c210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
/linux-6.12.1/drivers/iommu/intel/
Dsvm.c535 bool last_page; in intel_svm_page_response() local
541 last_page = prm->flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in intel_svm_page_response()
547 desc.qw1 = QI_PGRP_IDX(prm->grpid) | QI_PGRP_LPIG(last_page); in intel_svm_page_response()
/linux-6.12.1/fs/nfs/
Dpagelist.c881 *last_page; in nfs_generic_pgio() local
906 last_page = NULL; in nfs_generic_pgio()
916 last_page = NULL; in nfs_generic_pgio()
920 if (last_page != page) { in nfs_generic_pgio()
924 *pages++ = last_page = page; in nfs_generic_pgio()
/linux-6.12.1/fs/cramfs/
Dinode.c332 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.12.1/mm/
Dswapfile.c3172 unsigned long last_page; in read_swap_header() local
3182 swab32s(&swap_header->info.last_page); in read_swap_header()
3201 last_page = swap_header->info.last_page; in read_swap_header()
3202 if (!last_page) { in read_swap_header()
3206 if (last_page > maxpages) { in read_swap_header()
3208 K(maxpages), K(last_page)); in read_swap_header()
3210 if (maxpages > last_page) { in read_swap_header()
3211 maxpages = last_page + 1; in read_swap_header()
3254 if (page_nr == 0 || page_nr > swap_header->info.last_page) in setup_swap_map_and_extents()
/linux-6.12.1/sound/pci/hda/
Dpatch_cs8409.h313 unsigned int last_page; member

123