/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
H A 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() 188 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in unmap_memblk() 214 page = blk->last_page + 1; in search_empty() 325 for (page = blk->first_page; page <= blk->last_page; page++, idx++) { in snd_emu10k1_alloc_pages() 455 int first_page, last_page; in get_single_page_range() local 459 if (q->last_page == first_page) in get_single_page_range() 462 last_page = blk->last_page; in get_single_page_range() 473 __synth_free_pages(struct snd_emu10k1 *emu, int first_page, int last_page) __synth_free_pages() argument 507 int page, first_page, last_page; synth_alloc_pages() local 539 int first_page, last_page; synth_free_pages() local [all...] |
/kernel/linux/linux-6.6/sound/pci/emu10k1/ |
H A 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() 478 __synth_free_pages(struct snd_emu10k1 *emu, int first_page, int last_page) __synth_free_pages() argument 512 int page, first_page, last_page; synth_alloc_pages() local 544 int first_page, last_page; synth_free_pages() local [all...] |
/kernel/linux/linux-6.6/fs/squashfs/ |
H A 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()
|
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/platform/goldfish/ |
H A D | goldfish_pipe.c | 261 unsigned long last_page, in goldfish_pin_pages() 268 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pin_pages() 294 unsigned long last_page, in populate_rw_params() 307 int size_on_page = first_page == last_page in populate_rw_params() 332 unsigned long last_page, in transfer_max_buffers() 345 pages_count = goldfish_pin_pages(first_page, last_page, in transfer_max_buffers() 354 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers() 399 unsigned long address, address_end, last_page; in goldfish_pipe_read_write() local 414 last_page = (address_end - 1) & PAGE_MASK; in goldfish_pipe_read_write() 422 last_page, last_page_siz in goldfish_pipe_read_write() 260 goldfish_pin_pages(unsigned long first_page, unsigned long last_page, unsigned int last_page_size, int is_write, struct page *pages[MAX_BUFFERS_PER_COMMAND], unsigned int *iter_last_page_size) goldfish_pin_pages() argument 289 populate_rw_params(struct page **pages, int pages_count, unsigned long address, unsigned long address_end, unsigned long first_page, unsigned long last_page, unsigned int iter_last_page_size, int is_write, struct goldfish_pipe_command *command) populate_rw_params() argument 328 transfer_max_buffers(struct goldfish_pipe *pipe, unsigned long address, unsigned long address_end, int is_write, unsigned long last_page, unsigned int last_page_size, s32 *consumed_size, int *status) transfer_max_buffers() argument [all...] |
/kernel/linux/linux-6.6/drivers/platform/goldfish/ |
H A D | goldfish_pipe.c | 258 unsigned long last_page, in goldfish_pin_pages() 265 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pin_pages() 291 unsigned long last_page, in populate_rw_params() 304 int size_on_page = first_page == last_page in populate_rw_params() 329 unsigned long last_page, in transfer_max_buffers() 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_siz in goldfish_pipe_read_write() 257 goldfish_pin_pages(unsigned long first_page, unsigned long last_page, unsigned int last_page_size, int is_write, struct page *pages[MAX_BUFFERS_PER_COMMAND], unsigned int *iter_last_page_size) goldfish_pin_pages() argument 286 populate_rw_params(struct page **pages, int pages_count, unsigned long address, unsigned long address_end, unsigned long first_page, unsigned long last_page, unsigned int iter_last_page_size, int is_write, struct goldfish_pipe_command *command) populate_rw_params() argument 325 transfer_max_buffers(struct goldfish_pipe *pipe, unsigned long address, unsigned long address_end, int is_write, unsigned long last_page, unsigned int last_page_size, s32 *consumed_size, int *status) transfer_max_buffers() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/tests/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A 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()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | node.c | 1461 struct page *last_page = NULL; in last_fsync_dnode() local 1475 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1500 if (last_page) in last_fsync_dnode() 1501 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1504 last_page = page; in last_fsync_dnode() 1510 return last_page; in last_fsync_dnode() 1678 struct page *last_page = NULL; in f2fs_fsync_node_pages() local 1685 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages() 1686 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages() 1687 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages() [all...] |
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | node.c | 1543 struct page *last_page = NULL; in last_fsync_dnode() local 1558 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1583 if (last_page) in last_fsync_dnode() 1584 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1587 last_page = page; in last_fsync_dnode() 1593 return last_page; in last_fsync_dnode() 1760 struct page *last_page = NULL; in f2fs_fsync_node_pages() local 1767 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages() 1768 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages() 1769 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages() [all...] |
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/ |
H A D | videobuf2-dma-sg.c | 61 unsigned int last_page = 0; in vb2_dma_sg_alloc_compacted() local 82 while (last_page--) in vb2_dma_sg_alloc_compacted() 83 __free_page(buf->pages[last_page]); in vb2_dma_sg_alloc_compacted() 91 buf->pages[last_page++] = &pages[i]; in vb2_dma_sg_alloc_compacted()
|
/kernel/linux/linux-6.6/drivers/media/common/videobuf2/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/edac/ |
H A D | r82600_edac.c | 253 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; in r82600_init_csrows() 255 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in r82600_init_csrows()
|
H A D | i82443bxgx_edac.c | 219 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; in i82443bxgx_init_csrows() 220 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in i82443bxgx_init_csrows()
|
/kernel/linux/linux-6.6/fs/netfs/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/edac/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/iommu/intel/ |
H A D | svm.c | 596 * specific requirement thus we set last_page as a workaround. in intel_svm_prq_report() 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()
|
/kernel/linux/linux-5.10/drivers/dax/ |
H A D | super.c | 79 sector_t last_page; in __generic_fsdax_supported() local 102 last_page = PFN_DOWN((start + sectors - 1) * 512) * PAGE_SIZE / 512; in __generic_fsdax_supported() 103 err = bdev_dax_pgoff(bdev, last_page, PAGE_SIZE, &pgoff_end); in __generic_fsdax_supported()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | pagelist.c | 899 *last_page; in nfs_generic_pgio() local 923 last_page = NULL; in nfs_generic_pgio() 929 if (!last_page || last_page != req->wb_page) { in nfs_generic_pgio() 933 *pages++ = last_page = req->wb_page; in nfs_generic_pgio()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A 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()
|