/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
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() 465 if (q->first_page == last_page) in get_single_page_range() [all …]
|
/kernel/linux/linux-5.10/drivers/char/agp/ |
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/ |
D | goldfish_pipe.c | 261 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/ |
D | node.c | 1459 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/ |
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-5.10/drivers/edac/ |
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()
|
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()
|
D | fsl_ddr_edac.c | 322 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check() 464 csrow->last_page = end; in fsl_ddr_init_csrows()
|
D | pasemi_edac.c | 168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
|
D | amd76x_edac.c | 211 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
|
D | edac_mc.c | 116 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()
|
D | i82860_edac.c | 175 csrow->last_page = cumul_size - 1; in i82860_init_csrows()
|
D | cell_edac.c | 150 csrow->last_page = csrow->first_page + nr_pages - 1; in cell_edac_init_csrows()
|
D | aspeed_edac.c | 262 csrow->last_page = csrow->first_page + nr_pages - 1; in init_csrows()
|
D | cpc925_edac.c | 342 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/ |
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/ |
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-5.10/mm/ |
D | swapfile.c | 3001 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/ |
D | svm.c | 1136 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/ |
D | inode.c | 341 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/ |
D | trident.h | 248 short first_page, last_page; member
|
D | trident_memory.c | 119 #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/ |
D | gve_tx.c | 400 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/ |
D | drbd_bitmap.c | 1478 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/ |
D | edac.h | 411 unsigned long last_page; /* last page number in csrow */ member
|