Home
last modified time | relevance | path

Searched refs:first_page (Results 1 – 25 of 41) sorted by relevance

12

/linux/sound/pci/emu10k1/
H A Dmemory.c83 blk->first_page = get_aligned_page(blk->mem.offset); 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()
216 if (page + psize <= blk->first_page) in search_empty()
328 for (page = blk->first_page; page <= blk->last_page; page++, idx++) { in snd_emu10k1_alloc_pages()
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()
464 first_page++; /* first page was already allocated */ in get_single_page_range()
[all …]
/linux/drivers/edac/
H A Dcell_edac.c53 csrow->first_page + pfn, offset, syndrome, in cell_edac_count_ce()
75 csrow->first_page + pfn, offset, 0, in cell_edac_count_ue()
148 csrow->first_page = r.start >> PAGE_SHIFT; in cell_edac_init_csrows()
150 csrow->last_page = csrow->first_page + nr_pages - 1; in cell_edac_init_csrows()
162 csrow->first_page, nr_pages); in cell_edac_init_csrows()
H A Damd76x_edac.c148 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 Dpasemi_edac.c102 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 Daspeed_edac.c119 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 Dr82600_edac.c251 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 Dcpc925_edac.c340 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 Di82443bxgx_edac.c217 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 Dedac_mc.c112 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 Dfsl_ddr_edac.c319 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check()
460 csrow->first_page = start; in fsl_ddr_init_csrows()
H A Di82860_edac.c173 csrow->first_page = last_cumul_size; in i82860_init_csrows()
H A Di3000_edac.c402 csrow->first_page = last_cumul_size; in i3000_probe1()
H A Di82875p_edac.c370 csrow->first_page = last_cumul_size; in i82875p_init_csrows()
/linux/arch/sparc/kernel/
H A Diommu.c201 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()
/linux/drivers/platform/goldfish/
H A Dgoldfish_pipe.c257 static int goldfish_pin_pages(unsigned long first_page, in goldfish_pin_pages() argument
265 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pin_pages()
274 ret = pin_user_pages_fast(first_page, requested_pages, in goldfish_pin_pages()
290 unsigned long first_page, in populate_rw_params() argument
304 int size_on_page = first_page == last_page in populate_rw_params()
334 unsigned long first_page = address & PAGE_MASK; in transfer_max_buffers() local
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()
/linux/drivers/staging/media/meson/vdec/
H A Dcodec_hevc_common.c286 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/mm/
H A Dmemremap.c114 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()
H A Dzsmalloc.c255 struct page *first_page; member
460 struct page *first_page = zspage->first_page; in get_first_page() local
462 VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); in get_first_page()
463 return first_page; in get_first_page()
953 zspage->first_page = page; in create_page_chain()
1329 zspage->first_page->index = handle | OBJ_ALLOCATED_TAG; in obj_malloc()
/linux/fs/ntfs3/
H A Dfslog.c1018 u32 first_page; member
1075 return off >= log->l_size ? log->first_page : off; in next_page_off()
1307 log->first_page = major_ver >= 2 ? 0x22 * log->page_size : in log_init_pg_hdr()
1324 log->next_page = log->first_page; in log_create()
1363 log->total_avail_pages = log->l_size - log->first_page; in log_create()
1479 if (hdr_off == log->first_page) in next_log_lsn()
1520 log->first_page : in current_log_avail()
1530 log->next_page == log->first_page ? log->l_size : in current_log_avail()
1571 (lsn_seq == seq - 1 && log->first_page == vbo && in check_subseq_log_page()
1623 second_off = log->first_page - log->page_size; in last_log_lsn()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c254 int first_page, page_offset; in nand_block_bad() local
258 first_page = (int)(ofs >> chip->page_shift) & chip->pagemask; in nand_block_bad()
262 res = chip->ecc.read_oob(chip, first_page + page_offset); in nand_block_bad()
1231 first_lun = chip->cont_read.first_page / ppl; in rawnand_cap_cont_reads()
1240 if (chip->cont_read.first_page == chip->cont_read.pause_page) { in rawnand_cap_cont_reads()
1241 chip->cont_read.first_page++; in rawnand_cap_cont_reads()
1246 if (chip->cont_read.first_page >= chip->cont_read.last_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()
1326 return chip->cont_read.ongoing && page >= chip->cont_read.first_page; in rawnand_cont_read_ongoing()
[all …]
/linux/sound/pci/trident/
H A Dtrident.h248 short first_page, last_page; member
H A Dtrident_memory.c101 #define firstpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->first_page)
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util.h444 uint64_t first_page, uint32_t num_pages) in kvm_vm_clear_dirty_log() argument
449 .first_page = first_page, in kvm_vm_clear_dirty_log()
/linux/include/linux/
H A Dedac.h434 unsigned long first_page; /* first page number in csrow */ member
/linux/drivers/block/drbd/
H A Ddrbd_bitmap.c1514 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()

12