/Linux-v5.15/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() 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-v5.15/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()
|
/Linux-v5.15/drivers/platform/goldfish/ |
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()
|
/Linux-v5.15/drivers/media/i2c/ |
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()
|
/Linux-v5.15/fs/f2fs/ |
D | node.c | 1508 struct page *last_page = NULL; in last_fsync_dnode() local 1522 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1547 if (last_page) in last_fsync_dnode() 1548 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1551 last_page = page; in last_fsync_dnode() 1557 return last_page; in last_fsync_dnode() 1722 struct page *last_page = NULL; in f2fs_fsync_node_pages() local 1729 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages() 1730 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages() 1731 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages() [all …]
|
/Linux-v5.15/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()
|
/Linux-v5.15/drivers/edac/ |
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()
|
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()
|
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 | edac_mc.c | 116 edac_dbg(4, " csrow->last_page = 0x%lx\n", csrow->last_page); in edac_mc_dump_csrow() 847 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page() 851 (page <= csrow->last_page) && in edac_mc_find_csrow_by_page()
|
D | pasemi_edac.c | 168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
|
D | amd76x_edac.c | 210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
|
D | i82860_edac.c | 174 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()
|
/Linux-v5.15/drivers/dax/ |
D | super.c | 131 sector_t last_page; in generic_fsdax_supported() local 151 last_page = PFN_DOWN((start + sectors - 1) * 512) * PAGE_SIZE / 512; in generic_fsdax_supported() 152 err = bdev_dax_pgoff(bdev, last_page, PAGE_SIZE, &pgoff_end); in generic_fsdax_supported()
|
/Linux-v5.15/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()
|
/Linux-v5.15/drivers/iommu/intel/ |
D | svm.c | 1111 bool last_page; in intel_svm_page_response() local 1132 last_page = prm->flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in intel_svm_page_response() 1178 if (last_page || private_present) { in intel_svm_page_response() 1186 desc.qw1 = QI_PGRP_IDX(prm->grpid) | QI_PGRP_LPIG(last_page); in intel_svm_page_response()
|
/Linux-v5.15/mm/ |
D | swapfile.c | 2963 unsigned long last_page; in read_swap_header() local 2973 swab32s(&swap_header->info.last_page); in read_swap_header() 2992 last_page = swap_header->info.last_page; in read_swap_header() 2993 if (!last_page) { in read_swap_header() 2997 if (last_page > maxpages) { in read_swap_header() 3000 last_page << (PAGE_SHIFT - 10)); in read_swap_header() 3002 if (maxpages > last_page) { in read_swap_header() 3003 maxpages = last_page + 1; in read_swap_header() 3053 if (page_nr == 0 || page_nr > swap_header->info.last_page) in setup_swap_map_and_extents()
|
/Linux-v5.15/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()
|
/Linux-v5.15/sound/pci/hda/ |
D | patch_cs8409.h | 310 unsigned int last_page; member
|
D | patch_cs8409.c | 180 if (scodec->paged && (scodec->last_page != (i2c_reg >> 8))) { in cs8409_i2c_set_page() 184 scodec->last_page = i2c_reg >> 8; in cs8409_i2c_set_page() 786 cs42l42->last_page = 0; in cs42l42_suspend()
|
/Linux-v5.15/sound/pci/trident/ |
D | trident.h | 248 short first_page, last_page; member
|
D | trident_memory.c | 102 #define lastpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->last_page)
|
/Linux-v5.15/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()
|
/Linux-v5.15/include/linux/ |
D | edac.h | 426 unsigned long last_page; /* last page number in csrow */ member
|