| /linux-6.15/sound/pci/emu10k1/ |
| H A D | memory.c | 85 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 216 if (page + psize <= blk->first_page) in search_empty() 458 int first_page, last_page; in get_single_page_range() local 459 first_page = blk->first_page; in get_single_page_range() 463 if (q->last_page == first_page) in get_single_page_range() 470 if (q->first_page == last_page) in get_single_page_range() 473 *first_page_ret = first_page; in get_single_page_range() 512 int page, first_page, last_page; in synth_alloc_pages() local 534 __synth_free_pages(emu, first_page, last_page); in synth_alloc_pages() 544 int first_page, last_page; in synth_free_pages() local [all …]
|
| /linux-6.15/drivers/edac/ |
| H A D | pasemi_edac.c | 102 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info() 109 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info() 167 csrow->first_page = last_page_in_mmc; in pasemi_edac_init_csrows() 168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
|
| H A D | amd76x_edac.c | 148 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info() 163 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info() 208 csrow->first_page = mba_base >> PAGE_SHIFT; in amd76x_init_csrows() 210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
|
| H A D | aspeed_edac.c | 119 csrow->first_page + page, offset, syndrome, in count_rec() 140 csrow->first_page + page, offset, syndrome, in count_un_rec() 260 csrow->first_page = r.start >> PAGE_SHIFT; in init_csrows() 262 csrow->last_page = csrow->first_page + nr_pages - 1; in init_csrows() 273 csrow->first_page, nr_pages); in init_csrows()
|
| H A D | r82600_edac.c | 251 csrow->first_page = row_base >> PAGE_SHIFT; in r82600_init_csrows() 254 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in r82600_init_csrows()
|
| H A D | i82443bxgx_edac.c | 217 csrow->first_page = row_base >> PAGE_SHIFT; in i82443bxgx_init_csrows() 219 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in i82443bxgx_init_csrows()
|
| H A D | cpc925_edac.c | 340 csrow->first_page = last_nr_pages; in cpc925_init_csrows() 342 csrow->last_page = csrow->first_page + nr_pages - 1; in cpc925_init_csrows() 452 if (mci->csrows[rank]->first_page == 0) { in cpc925_mc_get_pfn() 460 pa = mci->csrows[rank]->first_page << PAGE_SHIFT; in cpc925_mc_get_pfn()
|
| H A D | edac_mc.c | 112 edac_dbg(4, " csrow->first_page = 0x%lx\n", csrow->first_page); in edac_mc_dump_csrow() 774 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page() 777 if ((page >= csrow->first_page) && in edac_mc_find_csrow_by_page() 780 (csrow->first_page & csrow->page_mask))) { in edac_mc_find_csrow_by_page()
|
| H A D | fsl_ddr_edac.c | 331 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check() 479 csrow->first_page = start; in fsl_ddr_init_csrows()
|
| H A D | i82860_edac.c | 173 csrow->first_page = last_cumul_size; in i82860_init_csrows()
|
| H A D | i3000_edac.c | 402 csrow->first_page = last_cumul_size; in i3000_probe1()
|
| H A D | i82875p_edac.c | 370 csrow->first_page = last_cumul_size; in i82875p_init_csrows()
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | iommu.c | 201 unsigned long order, first_page; in dma_4u_alloc_coherent() local 218 first_page = (unsigned long) page_address(page); in dma_4u_alloc_coherent() 219 memset((char *)first_page, 0, PAGE_SIZE << order); in dma_4u_alloc_coherent() 226 free_pages(first_page, order); in dma_4u_alloc_coherent() 232 ret = (void *) first_page; in dma_4u_alloc_coherent() 234 first_page = __pa(first_page); in dma_4u_alloc_coherent() 238 (first_page & IOPTE_PAGE)); in dma_4u_alloc_coherent() 240 first_page += IO_PAGE_SIZE; in dma_4u_alloc_coherent()
|
| H A D | pci_sun4v.c | 186 unsigned long flags, order, first_page, npages, n; in dma_4v_alloc_coherent() local 210 first_page = (unsigned long) page_address(page); in dma_4v_alloc_coherent() 211 memset((char *)first_page, 0, PAGE_SIZE << order); in dma_4v_alloc_coherent() 227 ret = (void *) first_page; in dma_4v_alloc_coherent() 228 first_page = __pa(first_page); in dma_4v_alloc_coherent() 238 long err = iommu_batch_add(first_page + (n * PAGE_SIZE), mask); in dma_4v_alloc_coherent() 255 free_pages(first_page, order); in dma_4v_alloc_coherent()
|
| /linux-6.15/drivers/platform/goldfish/ |
| H A D | goldfish_pipe.c | 256 static int goldfish_pin_pages(unsigned long first_page, in goldfish_pin_pages() argument 264 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pin_pages() 273 ret = pin_user_pages_fast(first_page, requested_pages, in goldfish_pin_pages() 289 unsigned long first_page, in populate_rw_params() argument 303 int size_on_page = first_page == last_page in populate_rw_params() 333 unsigned long first_page = address & PAGE_MASK; in transfer_max_buffers() local 341 pages_count = goldfish_pin_pages(first_page, last_page, in transfer_max_buffers() 350 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers()
|
| /linux-6.15/drivers/staging/media/meson/vdec/ |
| H A D | codec_hevc_common.c | 286 u32 first_page; in codec_hevc_fill_mmu_map() local 290 first_page = comm->fbc_buffer_paddr[vb->index] >> PAGE_SHIFT; in codec_hevc_fill_mmu_map() 292 first_page = vb2_dma_contig_plane_dma_addr(vb, 0) >> PAGE_SHIFT; in codec_hevc_fill_mmu_map() 295 mmu_map[i] = first_page + i; in codec_hevc_fill_mmu_map()
|
| /linux-6.15/mm/ |
| H A D | memremap.c | 114 struct page *first_page; in pageunmap_range() local 117 first_page = pfn_to_page(pfn_first(pgmap, range_id)); in pageunmap_range() 121 remove_pfn_range_from_zone(page_zone(first_page), PHYS_PFN(range->start), in pageunmap_range()
|
| /linux-6.15/fs/ntfs3/ |
| H A D | fslog.c | 1033 u32 first_page; member 1339 log->next_page = log->first_page; in log_create() 1494 if (hdr_off == log->first_page) in next_log_lsn() 1535 log->first_page : in current_log_avail() 1792 curpage_off == log->first_page && in last_log_lsn() 1806 wrapped = nextpage_off == log->first_page; in last_log_lsn() 2127 wrapped = nextpage_off == log->first_page; in last_log_lsn() 2147 wrapped = nextpage_off == log->first_page; in last_log_lsn() 3968 if (vbo < log->first_page) { in log_replay() 3971 log->next_page = log->first_page; in log_replay() [all …]
|
| /linux-6.15/drivers/mtd/nand/raw/ |
| H A D | nand_base.c | 254 int first_page, page_offset; in nand_block_bad() local 1231 first_lun = chip->cont_read.first_page / ppl; in rawnand_cap_cont_reads() 1241 chip->cont_read.first_page++; in rawnand_cap_cont_reads() 1304 if (page == chip->cont_read.first_page) in nand_lp_exec_cont_read_page_op() 1317 chip->cont_read.first_page++; in nand_lp_exec_cont_read_page_op() 3490 unsigned int first_page, last_page; in rawnand_enable_cont_reads() local 3505 first_page = page; in rawnand_enable_cont_reads() 3507 first_page++; in rawnand_enable_cont_reads() 3513 if (first_page < last_page) { in rawnand_enable_cont_reads() 3514 chip->cont_read.first_page = first_page; in rawnand_enable_cont_reads() [all …]
|
| /linux-6.15/sound/pci/trident/ |
| H A D | trident.h | 248 short first_page, last_page; member
|
| H A D | trident_memory.c | 101 #define firstpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->first_page)
|
| /linux-6.15/fs/ext4/ |
| H A D | inode.c | 1552 pgoff_t first_page; /* The first page to write */ member 1577 if (mpd->first_page >= mpd->next_page) in mpage_release_unused_pages() 1581 index = mpd->first_page; in mpage_release_unused_pages() 1605 if (folio->index < mpd->first_page) in mpage_release_unused_pages() 1907 mpd->first_page += folio_nr_pages(folio); in mpage_folio_done() 1917 BUG_ON(folio->index != mpd->first_page); in mpage_submit_folio() 2428 pgoff_t index = mpd->first_page; in mpage_prepare_extent_to_map() 2521 mpd->first_page = folio->index; in mpage_prepare_extent_to_map() 2665 mpd->first_page = writeback_index; in ext4_do_writepages() 2794 mpd->first_page = 0; in ext4_do_writepages() [all …]
|
| /linux-6.15/drivers/gpu/drm/ttm/ |
| H A D | ttm_pool.c | 515 struct page **first_page = alloc->pages; in ttm_pool_restore_commit() local 520 p = first_page[i]; in ttm_pool_restore_commit() 555 first_page[i] = ttm_backup_handle_to_page_ptr(0); in ttm_pool_restore_commit()
|
| /linux-6.15/tools/testing/selftests/kvm/include/ |
| H A D | kvm_util.h | 448 uint64_t first_page, uint32_t num_pages) in kvm_vm_clear_dirty_log() argument 453 .first_page = first_page, in kvm_vm_clear_dirty_log()
|
| /linux-6.15/drivers/block/drbd/ |
| H A D | drbd_bitmap.c | 1514 int first_page; in _drbd_bm_set_bits() local 1536 first_page = sl >> (3 + PAGE_SHIFT); in _drbd_bm_set_bits() 1545 for (page_nr = first_page; page_nr < last_page; page_nr++) { in _drbd_bm_set_bits()
|