Home
last modified time | relevance | path

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

12

/Linux-v6.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()
330 for (page = blk->first_page; page <= blk->last_page; page++, idx++) { in snd_emu10k1_alloc_pages()
460 int first_page, last_page; in get_single_page_range() local
465 if (q->last_page == first_page) in get_single_page_range()
468 last_page = blk->last_page; in get_single_page_range()
472 if (q->first_page == last_page) in get_single_page_range()
[all …]
/Linux-v6.1/fs/squashfs/
Dpage_actor.h19 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()
Dpage_actor.c74 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()
Dfile.c561 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-v6.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-v6.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-v6.1/drivers/gpu/drm/panel/
Dpanel-novatek-nt35950.c61 u8 last_page; member
128 nt->last_page = page; in nt35950_set_cmd2_page()
144 u8 last_page = nt->last_page; in nt35950_set_data_compression() local
148 if (last_page != 0) { in nt35950_set_data_compression()
176 return nt35950_set_cmd2_page(nt, last_page); in nt35950_set_data_compression()
/Linux-v6.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-v6.1/fs/f2fs/
Dnode.c1519 struct page *last_page = NULL; in last_fsync_dnode() local
1533 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1558 if (last_page) in last_fsync_dnode()
1559 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1562 last_page = page; in last_fsync_dnode()
1568 return last_page; in last_fsync_dnode()
1733 struct page *last_page = NULL; in f2fs_fsync_node_pages() local
1740 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages()
1741 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages()
1742 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages()
[all …]
/Linux-v6.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-v6.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.c320 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check()
462 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()
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()
Damd76x_edac.c210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
Dpasemi_edac.c168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
/Linux-v6.1/fs/netfs/
Dbuffered_read.c21 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-v6.1/drivers/iommu/intel/
Dsvm.c859 bool last_page; in intel_svm_page_response() local
878 last_page = prm->flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in intel_svm_page_response()
896 if (last_page || private_present) { in intel_svm_page_response()
904 desc.qw1 = QI_PGRP_IDX(prm->grpid) | QI_PGRP_LPIG(last_page); in intel_svm_page_response()
/Linux-v6.1/fs/nfs/
Dpagelist.c893 *last_page; in nfs_generic_pgio() local
917 last_page = NULL; in nfs_generic_pgio()
923 if (!last_page || last_page != req->wb_page) { in nfs_generic_pgio()
927 *pages++ = last_page = req->wb_page; in nfs_generic_pgio()
/Linux-v6.1/mm/
Dswapfile.c2826 unsigned long last_page; in read_swap_header() local
2836 swab32s(&swap_header->info.last_page); in read_swap_header()
2855 last_page = swap_header->info.last_page; in read_swap_header()
2856 if (!last_page) { in read_swap_header()
2860 if (last_page > maxpages) { in read_swap_header()
2863 last_page << (PAGE_SHIFT - 10)); in read_swap_header()
2865 if (maxpages > last_page) { in read_swap_header()
2866 maxpages = last_page + 1; in read_swap_header()
2916 if (page_nr == 0 || page_nr > swap_header->info.last_page) in setup_swap_map_and_extents()
/Linux-v6.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-v6.1/sound/pci/hda/
Dpatch_cs8409.h312 unsigned int last_page; member
/Linux-v6.1/sound/pci/trident/
Dtrident.h248 short first_page, last_page; member
/Linux-v6.1/fs/erofs/
Dfscache.c67 pgoff_t last_page = ((rreq->start + rreq->len) / PAGE_SIZE) - 1; in erofs_fscache_rreq_unlock_folios() local
77 xas_for_each(&xas, folio, last_page) { in erofs_fscache_rreq_unlock_folios()
/Linux-v6.1/drivers/block/drbd/
Ddrbd_bitmap.c1512 int last_page; in _drbd_bm_set_bits() local
1534 last_page = el >> (3 + PAGE_SHIFT); in _drbd_bm_set_bits()
1542 for (page_nr = first_page; page_nr < last_page; page_nr++) { in _drbd_bm_set_bits()
1559 bm_set_full_words_within_one_page(device->bitmap, last_page, first_word, last_word); in _drbd_bm_set_bits()

12