Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
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()
465 if (q->first_page == last_page) in get_single_page_range()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/platform/goldfish/
Dgoldfish_pipe.c261 unsigned long last_page, in goldfish_pin_pages() argument
268 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pin_pages()
294 unsigned long last_page, in populate_rw_params() argument
307 int size_on_page = first_page == last_page in populate_rw_params()
332 unsigned long last_page, in transfer_max_buffers() argument
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_size, in goldfish_pipe_read_write()
/kernel/linux/linux-5.10/fs/f2fs/
Dnode.c1459 struct page *last_page = NULL; in last_fsync_dnode() local
1473 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1498 if (last_page) in last_fsync_dnode()
1499 f2fs_put_page(last_page, 0); in last_fsync_dnode()
1502 last_page = page; in last_fsync_dnode()
1508 return last_page; in last_fsync_dnode()
1676 struct page *last_page = NULL; in f2fs_fsync_node_pages() local
1683 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages()
1684 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages()
1685 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages()
[all …]
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-dma-sg.c61 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-5.10/drivers/edac/
Dr82600_edac.c253 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()
Di82443bxgx_edac.c219 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()
Dfsl_ddr_edac.c322 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check()
464 csrow->last_page = end; in fsl_ddr_init_csrows()
Dpasemi_edac.c168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
Damd76x_edac.c211 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
Dedac_mc.c116 edac_dbg(4, " csrow->last_page = 0x%lx\n", csrow->last_page); in edac_mc_dump_csrow()
842 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page()
846 (page <= csrow->last_page) && in edac_mc_find_csrow_by_page()
Di82860_edac.c175 csrow->last_page = cumul_size - 1; in i82860_init_csrows()
Dcell_edac.c150 csrow->last_page = csrow->first_page + nr_pages - 1; in cell_edac_init_csrows()
Daspeed_edac.c262 csrow->last_page = csrow->first_page + nr_pages - 1; in init_csrows()
Dcpc925_edac.c342 csrow->last_page = csrow->first_page + nr_pages - 1; in cpc925_init_csrows()
343 last_nr_pages = csrow->last_page + 1; in cpc925_init_csrows()
/kernel/linux/linux-5.10/drivers/dax/
Dsuper.c79 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/
Dpagelist.c899 *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-5.10/mm/
Dswapfile.c3001 unsigned long last_page; in read_swap_header() local
3011 swab32s(&swap_header->info.last_page); in read_swap_header()
3030 last_page = swap_header->info.last_page; in read_swap_header()
3031 if (!last_page) { in read_swap_header()
3035 if (last_page > maxpages) { in read_swap_header()
3038 last_page << (PAGE_SHIFT - 10)); in read_swap_header()
3040 if (maxpages > last_page) { in read_swap_header()
3041 maxpages = last_page + 1; in read_swap_header()
3091 if (page_nr == 0 || page_nr > swap_header->info.last_page) in setup_swap_map_and_extents()
/kernel/linux/linux-5.10/drivers/iommu/intel/
Dsvm.c1136 bool last_page; in intel_svm_page_response() local
1157 last_page = prm->flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in intel_svm_page_response()
1203 if (last_page || private_present) { in intel_svm_page_response()
1211 desc.qw1 = QI_PGRP_IDX(prm->grpid) | QI_PGRP_LPIG(last_page); in intel_svm_page_response()
/kernel/linux/linux-5.10/fs/cramfs/
Dinode.c341 u32 partial, last_page, blockaddr, *blockptrs; in cramfs_last_page_is_shared() local
347 last_page = inode->i_size >> PAGE_SHIFT; in cramfs_last_page_is_shared()
349 blockaddr = blockptrs[last_page] & ~CRAMFS_BLK_FLAGS; in cramfs_last_page_is_shared()
/kernel/linux/linux-5.10/sound/pci/trident/
Dtrident.h248 short first_page, last_page; member
Dtrident_memory.c119 #define lastpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->last_page)
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
Dgve_tx.c400 u64 last_page = (iov_offset + iov_len - 1) / PAGE_SIZE; in gve_dma_sync_for_device() local
405 for (page = first_page; page <= last_page; page++) { in gve_dma_sync_for_device()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_bitmap.c1478 int last_page; in _drbd_bm_set_bits() local
1500 last_page = el >> (3 + PAGE_SHIFT); in _drbd_bm_set_bits()
1508 for (page_nr = first_page; page_nr < last_page; page_nr++) { in _drbd_bm_set_bits()
1525 bm_set_full_words_within_one_page(device->bitmap, last_page, first_word, last_word); in _drbd_bm_set_bits()
/kernel/linux/linux-5.10/include/linux/
Dedac.h411 unsigned long last_page; /* last page number in csrow */ member

12