/openbmc/linux/sound/pci/emu10k1/ |
H A D | memory.c | 85 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 218 page = blk->last_page + 1; in search_empty() 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() 474 *last_page_ret = last_page; in get_single_page_range() 479 int last_page) in __synth_free_pages() argument 512 int page, first_page, last_page; in synth_alloc_pages() local 533 last_page = page - 1; in synth_alloc_pages() [all …]
|
/openbmc/linux/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 | 562 struct page *last_page; in squashfs_readahead() local 602 last_page = squashfs_page_actor_free(actor); in squashfs_readahead() 609 if (index == file_end && bytes && last_page) in squashfs_readahead() 610 memzero_page(last_page, bytes, in squashfs_readahead()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/platform/goldfish/ |
H A 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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/fs/f2fs/ |
H A D | node.c | 1558 struct page *last_page = NULL; in last_fsync_dnode() local 1598 if (last_page) in last_fsync_dnode() 1602 last_page = page; in last_fsync_dnode() 1608 return last_page; in last_fsync_dnode() 1775 struct page *last_page = NULL; in f2fs_fsync_node_pages() local 1850 page == last_page, in f2fs_fsync_node_pages() 1861 if (page == last_page) { in f2fs_fsync_node_pages() 1875 ino, last_page->index); in f2fs_fsync_node_pages() 1876 lock_page(last_page); in f2fs_fsync_node_pages() 1878 set_page_dirty(last_page); in f2fs_fsync_node_pages() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/edac/ |
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()
|
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 | fsl_ddr_edac.c | 319 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check() 465 csrow->last_page = end; in fsl_ddr_init_csrows()
|
H A D | pasemi_edac.c | 168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
|
H A D | amd76x_edac.c | 210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
|
H A 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()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/iommu/intel/ |
H A 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()
|
/openbmc/linux/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()
|
/openbmc/linux/mm/ |
H A D | swapfile.c | 2840 unsigned long last_page; in read_swap_header() local 2850 swab32s(&swap_header->info.last_page); in read_swap_header() 2869 last_page = swap_header->info.last_page; in read_swap_header() 2870 if (!last_page) { in read_swap_header() 2874 if (last_page > maxpages) { in read_swap_header() 2876 K(maxpages), K(last_page)); in read_swap_header() 2878 if (maxpages > last_page) { in read_swap_header() 2879 maxpages = last_page + 1; in read_swap_header() 2929 if (page_nr == 0 || page_nr > swap_header->info.last_page) in setup_swap_map_and_extents()
|
/openbmc/linux/fs/cramfs/ |
H A 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()
|
/openbmc/linux/sound/pci/hda/ |
H A D | patch_cs8409.h | 313 unsigned int last_page; member
|
/openbmc/linux/sound/pci/trident/ |
H A D | trident.h | 248 short first_page, last_page; member
|
/openbmc/linux/fs/erofs/ |
H A D | fscache.c | 81 pgoff_t last_page = ((req->start + req->len) / PAGE_SIZE) - 1; in erofs_fscache_req_complete() local 86 xas_for_each(&xas, folio, last_page) { in erofs_fscache_req_complete()
|