/Linux-v4.19/sound/pci/emu10k1/ |
D | memory.c | 99 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1); in emu10k1_memblk_init() 100 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 167 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in map_memblk() 203 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in unmap_memblk() 229 page = blk->last_page + 1; in search_empty() 340 for (page = blk->first_page; page <= blk->last_page; page++, idx++) { in snd_emu10k1_alloc_pages() 470 int first_page, last_page; in get_single_page_range() local 474 if (q->last_page == first_page) in get_single_page_range() 477 last_page = blk->last_page; in get_single_page_range() 480 if (q->first_page == last_page) in get_single_page_range() [all …]
|
/Linux-v4.19/drivers/char/agp/ |
D | efficeon-agp.c | 241 unsigned int *page, *last_page; in efficeon_insert_memory() local 258 last_page = NULL; in efficeon_insert_memory() 272 if (last_page && in efficeon_insert_memory() 273 (((unsigned long)page^(unsigned long)last_page) & in efficeon_insert_memory() 275 clflush(last_page); in efficeon_insert_memory() 277 last_page = page; in efficeon_insert_memory() 280 if ( last_page ) in efficeon_insert_memory() 281 clflush(last_page); in efficeon_insert_memory()
|
/Linux-v4.19/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 310 static int pin_user_pages(unsigned long first_page, unsigned long last_page, in pin_user_pages() argument 316 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in pin_user_pages() 351 unsigned long first_page, unsigned long last_page, in populate_rw_params() argument 363 int size_on_page = first_page == last_page in populate_rw_params() 386 unsigned long last_page, unsigned int last_page_size, in transfer_max_buffers() argument 392 int pages_count = pin_user_pages(first_page, last_page, in transfer_max_buffers() 404 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers() 448 unsigned long address, address_end, last_page; in goldfish_pipe_read_write() local 464 last_page = (address_end - 1) & PAGE_MASK; in goldfish_pipe_read_write() 472 last_page, last_page_size, &consumed_size, in goldfish_pipe_read_write()
|
/Linux-v4.19/drivers/gpu/host1x/ |
D | job.c | 200 u32 last_page = ~0; in do_relocs() local 223 if (last_page != reloc->cmdbuf.offset >> PAGE_SHIFT) { in do_relocs() 225 host1x_bo_kunmap(cmdbuf, last_page, in do_relocs() 230 last_page = reloc->cmdbuf.offset >> PAGE_SHIFT; in do_relocs() 244 host1x_bo_kunmap(cmdbuf, last_page, cmdbuf_page_addr); in do_relocs()
|
/Linux-v4.19/fs/f2fs/ |
D | node.c | 1436 struct page *last_page = NULL; in last_fsync_dnode() local 1450 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1475 if (last_page) in last_fsync_dnode() 1476 f2fs_put_page(last_page, 0); in last_fsync_dnode() 1479 last_page = page; in last_fsync_dnode() 1485 return last_page; in last_fsync_dnode() 1636 struct page *last_page = NULL; in f2fs_fsync_node_pages() local 1642 last_page = last_fsync_dnode(sbi, ino); in f2fs_fsync_node_pages() 1643 if (IS_ERR_OR_NULL(last_page)) in f2fs_fsync_node_pages() 1644 return PTR_ERR_OR_ZERO(last_page); in f2fs_fsync_node_pages() [all …]
|
/Linux-v4.19/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-v4.19/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 | 318 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check() 460 csrow->last_page = end; in fsl_ddr_init_csrows()
|
D | pasemi_edac.c | 180 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 | i82860_edac.c | 175 csrow->last_page = cumul_size - 1; in i82860_init_csrows()
|
D | edac_mc.c | 171 edac_dbg(4, " csrow->last_page = 0x%lx\n", csrow->last_page); in edac_mc_dump_csrow() 890 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page() 894 (page <= csrow->last_page) && in edac_mc_find_csrow_by_page()
|
D | cell_edac.c | 150 csrow->last_page = csrow->first_page + nr_pages - 1; in cell_edac_init_csrows()
|
D | i3000_edac.c | 404 csrow->last_page = cumul_size - 1; in i3000_probe1()
|
D | i82875p_edac.c | 372 csrow->last_page = cumul_size - 1; in i82875p_init_csrows()
|
D | cpc925_edac.c | 354 csrow->last_page = csrow->first_page + nr_pages - 1; in cpc925_init_csrows() 355 last_nr_pages = csrow->last_page + 1; in cpc925_init_csrows()
|
/Linux-v4.19/fs/nfs/ |
D | pagelist.c | 742 *last_page; in nfs_generic_pgio() local 768 last_page = NULL; in nfs_generic_pgio() 775 if (!last_page || last_page != req->wb_page) { in nfs_generic_pgio() 779 *pages++ = last_page = req->wb_page; in nfs_generic_pgio()
|
/Linux-v4.19/mm/ |
D | swapfile.c | 2931 unsigned long last_page; in read_swap_header() local 2941 swab32s(&swap_header->info.last_page); in read_swap_header() 2960 last_page = swap_header->info.last_page; in read_swap_header() 2961 if (!last_page) { in read_swap_header() 2965 if (last_page > maxpages) { in read_swap_header() 2968 last_page << (PAGE_SHIFT - 10)); in read_swap_header() 2970 if (maxpages > last_page) { in read_swap_header() 2971 maxpages = last_page + 1; in read_swap_header() 3021 if (page_nr == 0 || page_nr > swap_header->info.last_page) in setup_swap_map_and_extents()
|
/Linux-v4.19/fs/cramfs/ |
D | inode.c | 339 u32 partial, last_page, blockaddr, *blockptrs; in cramfs_last_page_is_shared() local 345 last_page = inode->i_size >> PAGE_SHIFT; in cramfs_last_page_is_shared() 347 blockaddr = blockptrs[last_page] & ~CRAMFS_BLK_FLAGS; in cramfs_last_page_is_shared()
|
/Linux-v4.19/sound/pci/trident/ |
D | trident.h | 263 short first_page, last_page; member
|
D | trident_memory.c | 134 #define lastpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->last_page)
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_bitmap.c | 1492 int last_page; in _drbd_bm_set_bits() local 1514 last_page = el >> (3 + PAGE_SHIFT); in _drbd_bm_set_bits() 1522 for (page_nr = first_page; page_nr < last_page; page_nr++) { in _drbd_bm_set_bits() 1539 bm_set_full_words_within_one_page(device->bitmap, last_page, first_word, last_word); in _drbd_bm_set_bits()
|
/Linux-v4.19/include/linux/ |
D | edac.h | 484 unsigned long last_page; /* last page number in csrow */ member
|
/Linux-v4.19/kernel/trace/ |
D | ring_buffer.c | 1474 struct buffer_page *last_page, *first_page; in rb_remove_pages() local 1544 last_page = list_entry(rb_list_head(to_remove), struct buffer_page, in rb_remove_pages() 1574 } while (to_remove_page != last_page); in rb_remove_pages() 1606 struct list_head *last_page, *first_page; in rb_insert_pages() local 1615 last_page = pages->prev; in rb_insert_pages() 1620 last_page->next = head_page_with_bit; in rb_insert_pages() 1631 head_page->prev = last_page; in rb_insert_pages()
|